Modifier and Type | Method and Description |
---|---|
SearchPredicateTerminalContext |
ElasticsearchSearchPredicateFactoryContext.fromJsonString(String jsonString) |
Modifier and Type | Method and Description |
---|---|
SearchPredicateTerminalContext |
LuceneSearchPredicateFactoryContext.fromLuceneQuery(Query query) |
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanJunctionPredicateContext
The context used when defining a boolean junction, allowing in particular to add clauses.
|
interface |
MatchAllPredicateContext
The context used when starting to define a match all predicate.
|
interface |
MatchIdPredicateContext
The context used when defining a match on an identifier.
|
Modifier and Type | Method and Description |
---|---|
default SearchPredicateTerminalContext |
RangePredicateFieldSetContext.above(Object value)
Require at least one of the targeted fields to be "higher than or equal to" the given value,
with no limit as to how high it can be.
|
SearchPredicateTerminalContext |
RangePredicateFieldSetContext.above(Object value,
RangeBoundInclusion inclusion)
Require at least one of the targeted fields to be "higher than" the given value,
with no limit as to how high it can be.
|
default SearchPredicateTerminalContext |
RangePredicateFieldSetContext.below(Object value)
Require at least one of the targeted fields to be "lower than or equal to" the given value,
with no limit as to how low it can be.
|
SearchPredicateTerminalContext |
RangePredicateFieldSetContext.below(Object value,
RangeBoundInclusion inclusion)
Require at least one of the targeted fields to be "lower than" the given value,
with no limit as to how low it can be.
|
default SearchPredicateTerminalContext |
SpatialWithinPredicateFieldSetContext.boundingBox(double topLeftLatitude,
double topLeftLongitude,
double bottomRightLatitude,
double bottomRightLongitude)
Require at least one of the targeted fields to point to a location within the given box (~rectangle).
|
SearchPredicateTerminalContext |
SpatialWithinPredicateFieldSetContext.boundingBox(GeoBoundingBox boundingBox)
Require at least one of the targeted fields to point to a location within the given box (~rectangle).
|
default SearchPredicateTerminalContext |
SpatialWithinPredicateFieldSetContext.circle(double latitude,
double longitude,
double radiusInMeters)
Require at least one of the targeted fields to point to a location within the given circle,
i.e.
|
default SearchPredicateTerminalContext |
SpatialWithinPredicateFieldSetContext.circle(double latitude,
double longitude,
double radius,
DistanceUnit unit)
Require at least one of the targeted fields to point to a location within the given circle,
i.e.
|
default SearchPredicateTerminalContext |
SpatialWithinPredicateFieldSetContext.circle(GeoPoint center,
double radiusInMeters)
Require at least one of the targeted fields to point to a location within the given circle,
i.e.
|
SearchPredicateTerminalContext |
SpatialWithinPredicateFieldSetContext.circle(GeoPoint center,
double radius,
DistanceUnit unit)
Require at least one of the targeted fields to point to a location within the given circle,
i.e.
|
SearchPredicateTerminalContext |
MatchPredicateFieldSetContext.matching(Object value)
Require at least one of the targeted fields to match the given value.
|
SearchPredicateTerminalContext |
NestedPredicateFieldContext.nest(Function<? super SearchPredicateFactoryContext,SearchPredicate> predicateContributor)
Create a context allowing to define the inner predicate,
and apply a consumer to it.
|
SearchPredicateTerminalContext |
NestedPredicateFieldContext.nest(SearchPredicate searchPredicate)
Set the inner predicate to a previously-built
SearchPredicate . |
default SearchPredicateTerminalContext |
NestedPredicateFieldContext.nest(SearchPredicateTerminalContext terminalContext)
Set the inner predicate to an almost-built
SearchPredicate . |
SearchPredicateTerminalContext |
SpatialWithinPredicateFieldSetContext.polygon(GeoPolygon polygon)
Require at least one of the targeted fields to point to a location within the given polygon.
|
default SearchPredicateTerminalContext |
RangePredicateFromContext.to(Object value)
Require at least one of the targeted fields to be "lower than" the given value,
in addition to being "higher than" the value provided to the
former
call. |
SearchPredicateTerminalContext |
RangePredicateFromContext.to(Object value,
RangeBoundInclusion inclusion)
Require at least one of the targeted fields to be "lower than" the given value,
in addition to being "higher than" the value provided to the
former
call. |
Modifier and Type | Method and Description |
---|---|
default MatchAllPredicateContext |
MatchAllPredicateContext.except(SearchPredicateTerminalContext terminalContext)
Add a "must not" clause based on an almost-built
SearchPredicate . |
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.filter(SearchPredicateTerminalContext terminalContext)
Add a "filter" clause based on an almost-built
SearchPredicate . |
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.must(SearchPredicateTerminalContext terminalContext)
Add a "must" clause based on an almost-built
SearchPredicate . |
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.mustNot(SearchPredicateTerminalContext terminalContext)
Add a "must not" clause based on an almost-built
SearchPredicate . |
default SearchPredicateTerminalContext |
NestedPredicateFieldContext.nest(SearchPredicateTerminalContext terminalContext)
Set the inner predicate to an almost-built
SearchPredicate . |
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.should(SearchPredicateTerminalContext terminalContext)
Add a "should" clause based on an almost-built
SearchPredicate . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSearchPredicateTerminalContext<B>
An abstract base for
SearchPredicateTerminalContext implementations. |
Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.