public class SpatialNotEqualTo extends BinarySpatialPredicate
expression1, expression2
Constructor and Description |
---|
SpatialNotEqualTo() |
SpatialNotEqualTo(SpatialExpression expr1,
SpatialExpression expr2) |
Modifier and Type | Method and Description |
---|---|
<T> boolean |
evaluate(DataTypeAdapter<T> adapter,
T entry)
Evaluate this filter using the given adapter and entry.
|
boolean |
evaluate(Map<String,Object> fieldValues)
Evaluate this filter using a map of field values.
|
protected boolean |
evaluateInternal(FilterGeometry value1,
FilterGeometry value2) |
<V extends Comparable<V>> |
getConstraints(Class<V> constraintClass,
DataStatisticsStore statsStore,
DataTypeAdapter<?> adapter,
AdapterToIndexMapping indexMapping,
Index index,
Set<String> indexedFields)
Generate constraints for the given index based on this filter.
|
protected boolean |
isExact() |
String |
toString() |
getConstrainableFields, prepare
addReferencedFields, fromBinary, getExpression1, getExpression2, removePredicatesForFields, toBinary
public SpatialNotEqualTo()
public SpatialNotEqualTo(SpatialExpression expr1, SpatialExpression expr2)
public boolean evaluate(Map<String,Object> fieldValues)
Filter
evaluate
in interface Filter
evaluate
in class BinarySpatialPredicate
fieldValues
- the field values to evaluate the expression with, the key represents the
field name, and the value represents the field valuetrue
if the filter passespublic <T> boolean evaluate(DataTypeAdapter<T> adapter, T entry)
Filter
evaluate
in interface Filter
evaluate
in class BinarySpatialPredicate
T
- the class of the adapter entriesadapter
- the data type adapterentry
- the entry to testtrue
if the filter passespublic <V extends Comparable<V>> FilterConstraints<V> getConstraints(Class<V> constraintClass, DataStatisticsStore statsStore, DataTypeAdapter<?> adapter, AdapterToIndexMapping indexMapping, Index index, Set<String> indexedFields)
Filter
getConstraints
in interface Filter
getConstraints
in class BinarySpatialPredicate
constraintClass
- the class that the index expects for constraintsstatsStore
- the data statistics storeadapter
- the data type adapterindexMapping
- the adapter to index mappingindex
- the indexindexedFields
- a set of all adapter fields used by the index mappingprotected boolean isExact()
isExact
in class BinarySpatialPredicate
protected boolean evaluateInternal(FilterGeometry value1, FilterGeometry value2)
evaluateInternal
in class BinarySpatialPredicate
Copyright © 2013–2022. All rights reserved.