| Modifier and Type | Class and Description |
|---|---|
static class |
IndexImpl.NullObject |
| Modifier and Type | Field and Description |
|---|---|
protected IndexStore |
indexStore |
static IndexImpl.NullObject |
NULL |
protected InternalSerializationService |
ss |
| Constructor and Description |
|---|
IndexImpl(String attributeName,
boolean ordered,
InternalSerializationService ss,
Extractors extractors,
IndexCopyBehavior copyQueryResultOn) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear out entries from the index
|
IndexStore |
createIndexStore(boolean ordered) |
void |
destroy()
Release all resources hold by the index.
|
String |
getAttributeName() |
TypeConverter |
getConverter()
Provides comparable null object.
|
Set<QueryableEntry> |
getRecords(Comparable attributeValue) |
Set<QueryableEntry> |
getRecords(Comparable[] values) |
Set<QueryableEntry> |
getSubRecords(ComparisonType comparisonType,
Comparable searchedAttributeValue) |
Set<QueryableEntry> |
getSubRecordsBetween(Comparable fromAttributeValue,
Comparable toAttributeValue) |
boolean |
isOrdered() |
void |
removeEntryIndex(Data key,
Object value) |
void |
saveEntryIndex(QueryableEntry entry,
Object oldRecordValue)
Add entry to this index.
|
public static final IndexImpl.NullObject NULL
protected final InternalSerializationService ss
protected final IndexStore indexStore
public IndexImpl(String attributeName, boolean ordered, InternalSerializationService ss, Extractors extractors, IndexCopyBehavior copyQueryResultOn)
public IndexStore createIndexStore(boolean ordered)
public void saveEntryIndex(QueryableEntry entry, Object oldRecordValue) throws QueryException
IndexsaveEntryIndex in interface Indexentry - entryoldRecordValue - or null if there is no old valueQueryExceptionpublic void removeEntryIndex(Data key, Object value)
removeEntryIndex in interface Indexpublic Set<QueryableEntry> getRecords(Comparable[] values)
getRecords in interface Indexpublic Set<QueryableEntry> getRecords(Comparable attributeValue)
getRecords in interface Indexpublic Set<QueryableEntry> getSubRecords(ComparisonType comparisonType, Comparable searchedAttributeValue)
getSubRecords in interface Indexpublic Set<QueryableEntry> getSubRecordsBetween(Comparable fromAttributeValue, Comparable toAttributeValue)
getSubRecordsBetween in interface Indexpublic TypeConverter getConverter()
getConverter in interface Indexpublic void clear()
Indexpublic void destroy()
Indexpublic String getAttributeName()
getAttributeName in interface IndexCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.