public interface Index
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear out entries from the index
|
void |
destroy()
Release all resources hold by the index.
|
String |
getAttributeName() |
TypeConverter |
getConverter()
Return converter associated with this Index.
|
Set<QueryableEntry> |
getRecords(Comparable value) |
Set<QueryableEntry> |
getRecords(Comparable[] values) |
Set<QueryableEntry> |
getSubRecords(ComparisonType comparisonType,
Comparable searchedValue) |
Set<QueryableEntry> |
getSubRecordsBetween(Comparable from,
Comparable to) |
boolean |
isOrdered() |
void |
removeEntryIndex(Data key,
Object value) |
void |
saveEntryIndex(QueryableEntry e,
Object oldValue)
Add entry to this index.
|
void clear()
void destroy()
void saveEntryIndex(QueryableEntry e, Object oldValue) throws QueryException
e
- entryoldValue
- or null if there is no old valueQueryException
TypeConverter getConverter()
null
if no entry has been saved yet.Set<QueryableEntry> getRecords(Comparable[] values)
Set<QueryableEntry> getRecords(Comparable value)
Set<QueryableEntry> getSubRecordsBetween(Comparable from, Comparable to)
Set<QueryableEntry> getSubRecords(ComparisonType comparisonType, Comparable searchedValue)
String getAttributeName()
boolean isOrdered()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.