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.
|
interface |
RangePredicateTerminalContext |
Modifier and Type | Method and Description |
---|---|
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 |
RangePredicateTerminalContext.excludeLimit()
Exclude the limit bound from the range.
|
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.
|
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-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.