Class Node
java.lang.Object
org.springframework.data.solr.core.query.Node
- Direct Known Subclasses:
Criteria
- Since:
- 1.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract <T extends Node>
TCombine node with newNodefor given fieldname using and.abstract <T extends Node>
TCombine twoNodes using and.abstract Nodeabstract Nodeabstract Nodeboost(float value) abstract Nodeabstract Nodeabstract Nodeabstract Nodeabstract Nodeabstract Nodeabstract Nodeexpression(String nativeSolrQueryExpression) abstract Nodeabstract Nodeabstract NodeGet parentNode.abstract NodegreaterThan(Object lowerBound) abstract NodegreaterThanEqual(Object lowerBound) booleanabstract Nodeabstract Nodeabstract Nodeabstract Nodeabstract Nodebooleanabstract Nodeabstract NodeisNull()booleanisOr()booleanisRoot()abstract Nodeabstract NodelessThanEqual(Object upperBound) abstract Nodenear(org.springframework.data.geo.Box box) abstract Nodenear(org.springframework.data.geo.Point location, org.springframework.data.geo.Distance distance) abstract Nodenot()abstract <T extends Node>
TCombine node with newNodefor given fieldname using and.abstract <T extends Node>
TCombine twoNodes using or.protected voidsetNegating(boolean negating) protected voidvoidsetPartIsOr(boolean isOr) Define or nature ofNodeabstract Nodeabstract NodestartsWith(Iterable<String> values) abstract NodestartsWith(String prefix) abstract NodestartsWith(String... values) abstract Nodewithin(org.springframework.data.geo.Point location, org.springframework.data.geo.Distance distance)
-
Constructor Details
-
Node
protected Node()
-
-
Method Details
-
setParent
-
setPartIsOr
public void setPartIsOr(boolean isOr) Define or nature ofNode- Parameters:
isOr-
-
isRoot
public boolean isRoot()- Returns:
- true in case
Nodehas no parent.
-
isOr
public boolean isOr()- Returns:
- true in case
Nodehas or nature.
-
getParent
Get parentNode.- Returns:
- null in case no parent set.
-
hasSiblings
public boolean hasSiblings()- Returns:
- true if
Nodehas siblings.
-
getSiblings
- Returns:
- empty collection if
Nodedoes not have siblings.
-
isNegating
public boolean isNegating()- Returns:
- true if
not()criteria - Since:
- 1.4
-
setNegating
protected void setNegating(boolean negating) - Parameters:
negating-- Since:
- 1.4
-
and
Combine twoNodes using and.- Parameters:
part-- Returns:
-
and
Combine node with newNodefor given fieldname using and.- Returns:
-
or
Combine twoNodes using or.- Parameters:
part-- Returns:
-
or
Combine node with newNodefor given fieldname using and.- Returns:
-
is
-
is
-
is
-
isNull
-
isNotNull
-
contains
-
contains
-
contains
-
startsWith
-
startsWith
-
startsWith
-
endsWith
-
endsWith
-
endsWith
-
not
-
fuzzy
-
fuzzy
-
sloppy
-
expression
-
boost
-
between
-
between
-
lessThan
-
lessThanEqual
-
greaterThan
-
greaterThanEqual
-
in
-
in
-
within
public abstract Node within(org.springframework.data.geo.Point location, org.springframework.data.geo.Distance distance) -
near
-
near
public abstract Node near(org.springframework.data.geo.Point location, org.springframework.data.geo.Distance distance) -
function
-