| Modifier | Constructor and Description |
|---|---|
protected |
Node() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends Node> |
and(Node part)
Combine two
Nodes using and. |
abstract <T extends Node> |
and(String fieldname)
Combine node with new
Node for given fieldname using and. |
abstract Node |
between(Object lowerBound,
Object upperBound) |
abstract Node |
between(Object lowerBound,
Object upperBound,
boolean includeLowerBound,
boolean includeUpperBound) |
abstract Node |
boost(float value) |
abstract Node |
contains(Iterable<String> values) |
abstract Node |
contains(String... values) |
abstract Node |
contains(String value) |
abstract Node |
endsWith(Iterable<String> values) |
abstract Node |
endsWith(String... values) |
abstract Node |
endsWith(String postfix) |
abstract Node |
expression(String nativeSolrQueryExpression) |
abstract Node |
function(Function function) |
abstract Node |
fuzzy(String value) |
abstract Node |
fuzzy(String values,
float levenshteinDistance) |
Node |
getParent()
Get parent
Node. |
Collection<Criteria> |
getSiblings() |
abstract Node |
greaterThan(Object lowerBound) |
abstract Node |
greaterThanEqual(Object lowerBound) |
boolean |
hasSiblings() |
abstract Node |
in(Iterable<?> values) |
abstract Node |
in(Object... values) |
abstract Node |
is(Iterable<?> values) |
abstract Node |
is(Object... values) |
abstract Node |
is(Object value) |
boolean |
isNegating() |
abstract Node |
isNotNull() |
abstract Node |
isNull() |
boolean |
isOr() |
boolean |
isRoot() |
abstract Node |
lessThan(Object upperBound) |
abstract Node |
lessThanEqual(Object upperBound) |
abstract Node |
near(Box box) |
abstract Node |
near(Point location,
Distance distance) |
abstract Node |
not() |
abstract <T extends Node> |
or(Node part)
Combine two
Nodes using or. |
abstract <T extends Node> |
or(String fieldname)
Combine node with new
Node for given fieldname using and. |
protected void |
setNegating(boolean negating) |
protected void |
setParent(Node parent) |
void |
setPartIsOr(boolean isOr)
Define or nature of
Node |
abstract Node |
sloppy(String phrase,
int distance) |
abstract Node |
startsWith(Iterable<String> values) |
abstract Node |
startsWith(String... values) |
abstract Node |
startsWith(String prefix) |
abstract Node |
within(Point location,
Distance distance) |
public void setPartIsOr(boolean isOr)
NodeisOr - public boolean isRoot()
Node has no parent.public boolean isOr()
Node has or nature.public boolean hasSiblings()
Node has siblings.public Collection<Criteria> getSiblings()
Node does not have siblings.public boolean isNegating()
not() criteriaprotected void setNegating(boolean negating)
negating - public abstract <T extends Node> T and(Node part)
Nodes using and.part - public abstract <T extends Node> T and(String fieldname)
Node for given fieldname using and.public abstract <T extends Node> T or(Node part)
Nodes using or.part - public abstract <T extends Node> T or(String fieldname)
Node for given fieldname using and.public abstract Node isNull()
public abstract Node isNotNull()
public abstract Node not()
public abstract Node boost(float value)
public abstract Node between(Object lowerBound, Object upperBound, boolean includeLowerBound, boolean includeUpperBound)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.