Uses of Class
net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.JCRFunctionExpression

Packages that use JCRFunctionExpression
net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion   
 

Uses of JCRFunctionExpression in net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion
 

Subclasses of JCRFunctionExpression in net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion
 class LikeExpression
           
 

Methods in net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion that return JCRFunctionExpression
static JCRFunctionExpression Restrictions.contains(String nodeName, Object value)
          Apply a "contains" constraint to the named node.
static JCRFunctionExpression Restrictions.contains(String nodeName, Object value, boolean escape)
          Apply a "contains" constraint to the named node.
static JCRFunctionExpression Restrictions.like(String nodeName, Object value)
          Apply a "like" constraint of type MatchMode.ANYWHERE to the named node

Be warned when using jcr:like function, as it can be very slow.

The following account of why it is so, was taken from users@jackrabbit.apache.org mailing list
Question: My xpath is '//*[jcr:like(@propertyName, '%somevalue%')]' and it takes minutes to complete.
static JCRFunctionExpression Restrictions.like(String nodeName, Object value, MatchMode matchMode)
          Apply a "like" constraint to the named node

Be warned when using jcr:like function, as it can be very slow.

The following account of why it is so, was taken from users@jackrabbit.apache.org mailing list
Question: My xpath is '//*[jcr:like(@propertyName, '%somevalue%')]' and it takes minutes to complete.
 



Copyright © 2009-2010 Openmind. All Rights Reserved.