public class Indexes extends Object
Constructor and Description |
---|
Indexes(InternalSerializationService serializationService,
IndexProvider indexProvider,
Extractors extractors,
boolean global,
IndexCopyBehavior copyBehavior) |
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() |
boolean |
isGlobal() |
Set<QueryableEntry> |
query(Predicate predicate) |
void |
removeEntryIndex(Data key,
Object value) |
void |
saveEntryIndex(QueryableEntry queryableEntry,
Object oldValue) |
public Indexes(InternalSerializationService serializationService, IndexProvider indexProvider, Extractors extractors, boolean global, IndexCopyBehavior copyBehavior)
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 boolean isGlobal()
public Index getIndex(String attribute)
attribute
- public Set<QueryableEntry> query(Predicate predicate)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.