public class QueryUtil extends Object
Modifier and Type | Method and Description |
---|---|
protected static boolean |
hasWildcardCharacters(String expression) |
static boolean |
includeFullTextScores(Constraint constraint) |
static boolean |
includeFullTextScores(Iterable<Constraint> constraints) |
static String |
toRegularExpression(String likeExpression)
Convert the JCR like expression to a regular expression.
|
protected static String |
toWildcardExpression(String likeExpression)
Convert the JCR like expression to a Lucene wildcard expression.
|
protected static boolean hasWildcardCharacters(String expression)
protected static String toWildcardExpression(String likeExpression)
likeExpression
- the like expression; may not be nullpublic static String toRegularExpression(String likeExpression)
likeExpression
- the like expression; may not be nullpublic static boolean includeFullTextScores(Iterable<Constraint> constraints)
public static boolean includeFullTextScores(Constraint constraint)
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.