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 |
clearContents()
Clears contents of indexes managed by this instance.
|
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 clearContents()
public void removeEntryIndex(Data key, Object value) throws QueryException
QueryExceptionpublic boolean hasIndex()
public void saveEntryIndex(QueryableEntry queryableEntry, Object oldValue) throws QueryException
QueryExceptionpublic boolean isGlobal()
public Index getIndex(String attribute)
attribute - public Set<QueryableEntry> query(Predicate predicate)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.