public abstract class AbstractIndexAwarePredicate<K,V> extends AbstractPredicate<K,V> implements IndexAwarePredicate<K,V>
Modifier | Constructor and Description |
---|---|
protected |
AbstractIndexAwarePredicate() |
protected |
AbstractIndexAwarePredicate(String attributeName) |
Modifier and Type | Method and Description |
---|---|
protected Index |
getIndex(QueryContext queryContext) |
boolean |
isIndexed(QueryContext queryContext)
Signals to the query engine that this predicate is able to utilize the
indexes available while executing the query in the given query context.
|
apply, applyForSingleAttributeValue, convert, convertEnumValue, getFactoryId, readAttributeValue, readData, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filter
getId
protected AbstractIndexAwarePredicate()
protected AbstractIndexAwarePredicate(String attributeName)
public boolean isIndexed(QueryContext queryContext)
IndexAwarePredicate
isIndexed
in interface IndexAwarePredicate<K,V>
queryContext
- the query context to consult for the available
indexes.true
if this predicate is able to use the indexes to
speed up the processing, false
otherwise.protected Index getIndex(QueryContext queryContext)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.