public class Crotch extends Criteria
Criteria.OperationKey, Criteria.PredicateCRITERIA_VALUE_SEPERATOR, WILDCARD| Modifier and Type | Method and Description |
|---|---|
Crotch |
and(Node part)
Combine two
Nodes using and. |
Crotch |
and(String fieldname)
Combine node with new
Node for given fieldname using and. |
Crotch |
between(Object lowerBound,
Object upperBound)
Crates new
Criteria.Predicate for RANGE [lowerBound TO upperBound] |
Crotch |
between(Object lowerBound,
Object upperBound,
boolean includeLowerBound,
boolean includeUpperBound)
Crates new
Criteria.Predicate for RANGE [lowerBound TO upperBound] |
Crotch |
boost(float boost)
Boost positive hit with given factor. eg. ^2.3
|
Crotch |
contains(Iterable<String> values)
Crates new
Criteria.Predicate with leading and trailing wildcards for each entryNOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. |
Crotch |
contains(String... values)
Crates new
Criteria.Predicate with leading and trailing wildcards for each entryNOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. |
Crotch |
contains(String value)
Crates new
Criteria.Predicate with leading and trailing wildcards NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. |
Crotch |
endsWith(Iterable<String> values)
Crates new
Criteria.Predicate with leading wildcard for each entryNOTE: mind your schema and execution times as leading wildcards may not be supported. |
Crotch |
endsWith(String... values)
Crates new
Criteria.Predicate with leading wildcard for each entryNOTE: mind your schema and execution times as leading wildcards may not be supported. |
Crotch |
endsWith(String postfix)
Crates new
Criteria.Predicate with leading wildcard NOTE: mind your schema and execution times as leading wildcards may not be supported. |
Crotch |
expression(String nativeSolrQueryExpression)
Crates new
Criteria.Predicate allowing native solr expressions |
Crotch |
function(Function function)
Creates
Criteria.Predicate for given Function. |
Crotch |
fuzzy(String value)
Crates new
Criteria.Predicate with trailing ~ |
Crotch |
fuzzy(String values,
float levenshteinDistance)
Crates new
Criteria.Predicate with trailing ~ followed by levensteinDistance |
Field |
getField()
Target field
|
Collection<Criteria> |
getSiblings() |
Crotch |
greaterThan(Object lowerBound)
Crates new
Criteria.Predicate for RANGE {lowerBound TO *] |
Crotch |
greaterThanEqual(Object lowerBound)
Crates new
Criteria.Predicate for RANGE [lowerBound TO *] |
Crotch |
in(Iterable<?> values)
Crates new
Criteria.Predicate for multiple values (arg0 arg1 arg2 ...) |
Crotch |
in(Object... values)
Crates new
Criteria.Predicate for multiple values (arg0 arg1 arg2 ...) |
Crotch |
is(Iterable<?> values)
Creates new
Criteria.Predicate without any wildcards for each entry |
Crotch |
is(Object... values)
Crates new
Criteria.Predicate without any wildcards for each entry |
Crotch |
is(Object o)
Crates new
Criteria.Predicate without any wildcards. |
Crotch |
isNotNull()
Crates new
Criteria.Predicate for {@code ! |
Crotch |
isNull()
Crates new
Criteria.Predicate for null values |
Crotch |
lessThan(Object upperBound)
Crates new
Criteria.Predicate for RANGE [* TO upperBound} |
Crotch |
lessThanEqual(Object upperBound)
Crates new
Criteria.Predicate for RANGE [* TO upperBound] |
Crotch |
near(Box box)
Creates new
Criteria.Predicate for {@code ! |
Crotch |
near(Point location,
Distance distance)
Creates new
Criteria.Predicate for {@code ! |
Crotch |
not()
Negates current criteria usinng
- operator |
Crotch |
notOperator()
Explicitly wrap
Criteria inside not operation. |
Crotch |
or(Node part)
Combine two
Nodes using or. |
Crotch |
or(String fieldname)
Combine node with new
Node for given fieldname using and. |
Crotch |
sloppy(String phrase,
int distance)
Crates new
Criteria.Predicate with trailing ~ followed by distance |
Crotch |
startsWith(Iterable<String> values)
Crates new
Criteria.Predicate with trailing wildcard for each entry |
Crotch |
startsWith(String... values)
Crates new
Criteria.Predicate with trailing wildcard for each entry |
Crotch |
startsWith(String prefix)
Crates new
Criteria.Predicate with trailing wildcard NOTE: Strings will not be automatically split on whitespace. |
String |
toString() |
Crotch |
within(Point location,
Distance distance)
Creates new
Criteria.Predicate for {@code ! |
connect, getBoost, getPredicates, isNegating, near, where, where, where, withingetParent, hasSiblings, isOr, isRoot, setNegating, setParent, setPartIsOrpublic Crotch is(@Nullable Object o)
CriteriaCriteria.Predicate without any wildcards. Strings with blanks will be escaped
"string\ with\ blank"public Crotch boost(float boost)
Criteriapublic Crotch not()
Criteria- operatorpublic Crotch notOperator()
CriteriaCriteria inside not operation.notOperator in class Criteriapublic Crotch endsWith(String postfix)
CriteriaCriteria.Predicate with leading wildcard public Crotch startsWith(String prefix)
CriteriaCriteria.Predicate with trailing wildcard startsWith in class Criteriapublic Crotch contains(String value)
CriteriaCriteria.Predicate with leading and trailing wildcards public Crotch is(Object... values)
CriteriaCriteria.Predicate without any wildcards for each entrypublic Crotch is(Iterable<?> values)
CriteriaCriteria.Predicate without any wildcards for each entrypublic Crotch isNull()
CriteriaCriteria.Predicate for null valuespublic Crotch isNotNull()
CriteriaCriteria.Predicate for !null valuespublic Crotch contains(String... values)
CriteriaCriteria.Predicate with leading and trailing wildcards for each entrypublic Crotch contains(Iterable<String> values)
CriteriaCriteria.Predicate with leading and trailing wildcards for each entrypublic Crotch startsWith(String... values)
CriteriaCriteria.Predicate with trailing wildcard for each entrystartsWith in class Criteriapublic Crotch startsWith(Iterable<String> values)
CriteriaCriteria.Predicate with trailing wildcard for each entrystartsWith in class Criteriapublic Crotch endsWith(String... values)
CriteriaCriteria.Predicate with leading wildcard for each entrypublic Crotch endsWith(Iterable<String> values)
CriteriaCriteria.Predicate with leading wildcard for each entrypublic Crotch fuzzy(String value)
CriteriaCriteria.Predicate with trailing ~public Crotch fuzzy(String values, float levenshteinDistance)
CriteriaCriteria.Predicate with trailing ~ followed by levensteinDistancepublic Crotch sloppy(String phrase, int distance)
CriteriaCriteria.Predicate with trailing ~ followed by distancepublic Crotch expression(String nativeSolrQueryExpression)
CriteriaCriteria.Predicate allowing native solr expressionsexpression in class Criteriapublic Crotch between(@Nullable Object lowerBound, @Nullable Object upperBound)
CriteriaCriteria.Predicate for RANGE [lowerBound TO upperBound]public Crotch between(@Nullable Object lowerBound, @Nullable Object upperBound, boolean includeLowerBound, boolean includeUpperBound)
CriteriaCriteria.Predicate for RANGE [lowerBound TO upperBound]public Crotch lessThan(Object upperBound)
CriteriaCriteria.Predicate for RANGE [* TO upperBound}public Crotch lessThanEqual(Object upperBound)
CriteriaCriteria.Predicate for RANGE [* TO upperBound]lessThanEqual in class Criteriapublic Crotch greaterThan(Object lowerBound)
CriteriaCriteria.Predicate for RANGE {lowerBound TO *]greaterThan in class Criteriapublic Crotch greaterThanEqual(Object lowerBound)
CriteriaCriteria.Predicate for RANGE [lowerBound TO *]greaterThanEqual in class Criteriapublic Crotch in(Object... values)
CriteriaCriteria.Predicate for multiple values (arg0 arg1 arg2 ...)public Crotch in(Iterable<?> values)
CriteriaCriteria.Predicate for multiple values (arg0 arg1 arg2 ...)public Crotch within(Point location, @Nullable Distance distance)
CriteriaCriteria.Predicate for !geodistpublic Crotch near(Box box)
CriteriaCriteria.Predicate for !bbox with exact coordinatespublic Crotch near(Point location, @Nullable Distance distance)
CriteriaCriteria.Predicate for !bbox for a specified distance. The difference between this and
within is this is approximate while within is exact.public Crotch function(Function function)
CriteriaCriteria.Predicate for given Function.public Collection<Criteria> getSiblings()
getSiblings in class NodeNode does not have siblings.public Crotch and(String fieldname)
NodeNode for given fieldname using and.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.