public class RestrictionBuilder extends RestrictionExtractor
| Constructor and Description |
|---|
RestrictionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ArrayRestriction |
arrayContains(String propertyName,
Object value)
Array contains t.
|
ArithmeticRestriction |
eq(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with =
|
GeoSpatialRestriction |
eq(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a =
|
ComparisonRestriction |
eq(String propertyName,
Object value)
To introduce a = restriction in the query
|
ArithmeticRestriction |
gt(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with >
|
GeoSpatialRestriction |
gt(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a >
|
ComparisonRestriction |
gt(String propertyName,
Object value)
To introduce a > restriction in the query
|
ArithmeticRestriction |
gte(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with >=
|
GeoSpatialRestriction |
gte(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a >=
|
ComparisonRestriction |
gte(String propertyName,
Object value)
To introduce a >= restriction in the query
|
ComparisonRestriction |
id(String id)
To create query with id restriction
|
INRestriction |
in(String propertyName,
Object... values)
To introduce an in restriction in the query
|
TypeCheckRestriction |
isDefined(String propertyName)
Is defined t.
|
TypeCheckRestriction |
isNotDefined(String propertyName)
Is not defined t.
|
ArithmeticRestriction |
lt(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with <
|
GeoSpatialRestriction |
lt(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a <
|
ComparisonRestriction |
lt(String propertyName,
Object value)
To introduce a < restriction in the query
|
ArithmeticRestriction |
lte(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with <=
|
GeoSpatialRestriction |
lte(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a <=
|
ComparisonRestriction |
lte(String propertyName,
Object value)
To introduce a <= restriction in the query
|
ArithmeticRestriction |
notEq(Double value,
String expression,
Object... parameters)
To introduce an arithmetic restriction in the query with !=
|
GeoSpatialRestriction |
notEq(String propertyName,
GeoSpatialObject geoSpatialObject,
Double value)
To introduce a ST_DISTANCE restriction in the query with a !=
|
ComparisonRestriction |
notEq(String propertyName,
Object value)
To introduce a != restriction in the query
|
GeoSpatialRestriction |
within(String propertyName,
GeoSpatialObject geoSpatialObject)
To introduce a WITHIN restriction in the query
|
public ComparisonRestriction id(String id)
id in class RestrictionExtractorid - id of the document to be fetchedpublic INRestriction in(String propertyName, Object... values)
propertyName - property on which the restriction needs to be appliedvalues - values separated by comma ','public ComparisonRestriction eq(String propertyName, Object value)
propertyName - property on which the restriction needs to be appliedvalue - value which needs to be comparedpublic ComparisonRestriction notEq(String propertyName, Object value)
propertyName - property on which the restriction needs to be appliedvalue - value which needs to be comparedpublic ComparisonRestriction lt(String propertyName, Object value)
propertyName - property on which the restriction needs to be appliedvalue - value which needs to be comparedpublic ComparisonRestriction lte(String propertyName, Object value)
propertyName - property on which the restriction needs to be appliedvalue - value which needs to be comparedpublic ComparisonRestriction gt(String propertyName, Object value)
propertyName - property on which the restriction needs to be appliedvalue - value which needs to be comparedpublic ComparisonRestriction gte(String propertyName, Object value)
propertyName - property on which the restriction needs to be appliedvalue - value which needs to be comparedpublic ArithmeticRestriction eq(Double value, String expression, Object... parameters)
value - distance in doubleexpression - like {} + {}parameters - sequence of parameters and valuespublic ArithmeticRestriction notEq(Double value, String expression, Object... parameters)
value - distance in doubleexpression - like {} + {}parameters - sequence of parameters and valuespublic ArithmeticRestriction lt(Double value, String expression, Object... parameters)
value - distance in doubleexpression - like {} + {}parameters - sequence of parameters and valuespublic ArithmeticRestriction lte(Double value, String expression, Object... parameters)
value - distance in doubleexpression - like {} + {}parameters - sequence of parameters and valuespublic ArithmeticRestriction gt(Double value, String expression, Object... parameters)
value - distance in doubleexpression - like {} + {}parameters - sequence of parameters and valuespublic ArithmeticRestriction gte(Double value, String expression, Object... parameters)
value - distance in doubleexpression - like {} + {}parameters - sequence of parameters and valuespublic GeoSpatialRestriction eq(String propertyName, GeoSpatialObject geoSpatialObject, Double value)
propertyName - property on which the restriction needs to be appliedgeoSpatialObject - GeoSpatialObjectvalue - distance value which should be comparedpublic GeoSpatialRestriction notEq(String propertyName, GeoSpatialObject geoSpatialObject, Double value)
propertyName - property on which the restriction needs to be appliedgeoSpatialObject - GeoSpatialObjectvalue - distance value which should be comparedpublic GeoSpatialRestriction lt(String propertyName, GeoSpatialObject geoSpatialObject, Double value)
propertyName - property on which the restriction needs to be appliedgeoSpatialObject - GeoSpatialObjectvalue - distance value which should be comparedpublic GeoSpatialRestriction lte(String propertyName, GeoSpatialObject geoSpatialObject, Double value)
propertyName - property on which the restriction needs to be appliedgeoSpatialObject - GeoSpatialObjectvalue - distance value which should be comparedpublic GeoSpatialRestriction gt(String propertyName, GeoSpatialObject geoSpatialObject, Double value)
propertyName - property on which the restriction needs to be appliedgeoSpatialObject - GeoSpatialObjectvalue - distance value which should be comparedpublic GeoSpatialRestriction gte(String propertyName, GeoSpatialObject geoSpatialObject, Double value)
propertyName - property on which the restriction needs to be appliedgeoSpatialObject - GeoSpatialObjectvalue - distance value which should be comparedpublic GeoSpatialRestriction within(String propertyName, GeoSpatialObject geoSpatialObject)
propertyName - property on which the restriction needs to be appliedgeoSpatialObject - GeoSpatialObjectpublic ArrayRestriction arrayContains(String propertyName, Object value)
ArrayFunctionsExtractorpropertyName - the property namevalue - the valuepublic TypeCheckRestriction isDefined(String propertyName)
TypeCheckRestrictionExtractorpropertyName - the property namepublic TypeCheckRestriction isNotDefined(String propertyName)
TypeCheckRestrictionExtractorpropertyName - the property nameCopyright © 2020. All rights reserved.