public class TemporalBetween extends Object implements Predicate
| Constructor and Description |
|---|
TemporalBetween() |
TemporalBetween(TemporalExpression value,
TemporalExpression lowerBound,
TemporalExpression upperBound) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReferencedFields(Set<String> fields) |
<T> boolean |
evaluate(DataTypeAdapter<T> adapter,
T entry) |
boolean |
evaluate(Map<String,Object> fieldValues) |
void |
fromBinary(byte[] bytes) |
Set<String> |
getConstrainableFields() |
<V extends Comparable<V>> |
getConstraints(Class<V> constraintClass,
DataStatisticsStore statsStore,
DataTypeAdapter<?> adapter,
AdapterToIndexMapping indexMapping,
Index index,
Set<String> indexedFields) |
TemporalExpression |
getLowerBound() |
TemporalExpression |
getUpperBound() |
TemporalExpression |
getValue() |
void |
prepare(DataTypeAdapter<?> adapter,
AdapterToIndexMapping indexMapping,
Index index) |
Filter |
removePredicatesForFields(Set<String> fields) |
byte[] |
toBinary() |
String |
toString() |
public TemporalBetween()
public TemporalBetween(TemporalExpression value, TemporalExpression lowerBound, TemporalExpression upperBound)
public TemporalExpression getValue()
public TemporalExpression getLowerBound()
public TemporalExpression getUpperBound()
public void prepare(DataTypeAdapter<?> adapter, AdapterToIndexMapping indexMapping, Index index)
public void addReferencedFields(Set<String> fields)
addReferencedFields in interface Filterpublic <T> boolean evaluate(DataTypeAdapter<T> adapter, T entry)
public Filter removePredicatesForFields(Set<String> fields)
removePredicatesForFields in interface Filterpublic byte[] toBinary()
toBinary in interface Persistablepublic void fromBinary(byte[] bytes)
fromBinary in interface Persistablepublic Set<String> getConstrainableFields()
getConstrainableFields in interface Filterpublic <V extends Comparable<V>> FilterConstraints<V> getConstraints(Class<V> constraintClass, DataStatisticsStore statsStore, DataTypeAdapter<?> adapter, AdapterToIndexMapping indexMapping, Index index, Set<String> indexedFields)
getConstraints in interface FilterCopyright © 2013–2021. All rights reserved.