public interface SpatialWithinPredicateContext
Modifier and Type | Method and Description |
---|---|
default SpatialWithinPredicateFieldSetContext |
onField(String absoluteFieldPath)
Target the given field in the "within" predicate.
|
SpatialWithinPredicateFieldSetContext |
onFields(String... absoluteFieldPaths)
Target the given fields in the "within" predicate.
|
default SpatialWithinPredicateFieldSetContext onField(String absoluteFieldPath)
Multiple fields may be targeted by the same predicate: the predicate will match if any targeted field matches.
absoluteFieldPath
- The absolute path (from the document root) of the targeted field.SpatialWithinPredicateFieldSetContext
allowing to
continue the definition of the spatial predicate.SpatialWithinPredicateFieldSetContext onFields(String... absoluteFieldPaths)
Equivalent to onField(String)
followed by multiple calls to
RangePredicateFieldSetContext.orField(String)
,
the only difference being that calls to MultiFieldPredicateFieldSetContext.boostedTo(float)
and other field-specific settings on the returned context will only need to be done once
and will apply to all the fields passed to this method.
absoluteFieldPaths
- The absolute paths (from the document root) of the targeted fields.SpatialWithinPredicateFieldSetContext
(see onField(String)
for details).onField(String)
Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.