public class Indexes extends Object
Constructor and Description |
---|
Indexes(InternalSerializationService serializationService,
Extractors extractors) |
Modifier and Type | Method and Description |
---|---|
Index |
addOrGetIndex(String attribute,
boolean ordered) |
void |
clearIndexes() |
Index |
destroyIndex(String attribute) |
Index |
getIndex(String attribute)
Get index for a given attribute.
|
Index[] |
getIndexes() |
boolean |
hasIndex() |
Set<QueryableEntry> |
query(Predicate predicate) |
void |
removeEntryIndex(Data key,
Object value) |
void |
saveEntryIndex(QueryableEntry queryableEntry,
Object oldValue) |
public Indexes(InternalSerializationService serializationService, Extractors extractors)
public Index[] getIndexes()
public void clearIndexes()
public void removeEntryIndex(Data key, Object value) throws QueryException
QueryException
public boolean hasIndex()
public void saveEntryIndex(QueryableEntry queryableEntry, Object oldValue) throws QueryException
QueryException
public Index getIndex(String attribute)
attribute
- public Set<QueryableEntry> query(Predicate predicate)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.