Modifier and Type | Class and Description |
---|---|
static class |
IndexImpl.NullObject |
Modifier and Type | Field and Description |
---|---|
static IndexImpl.NullObject |
NULL |
Constructor and Description |
---|
IndexImpl(String attributeName,
boolean ordered,
InternalSerializationService ss,
Extractors extractors) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
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
public IndexImpl(String attributeName, boolean ordered, InternalSerializationService ss, Extractors extractors)
public void saveEntryIndex(QueryableEntry entry, Object oldRecordValue) throws QueryException
Index
saveEntryIndex
in interface Index
entry
- entryoldRecordValue
- or null if there is no old valueQueryException
public void removeEntryIndex(Data key, Object value)
removeEntryIndex
in interface Index
public Set<QueryableEntry> getRecords(Comparable[] values)
getRecords
in interface Index
public Set<QueryableEntry> getRecords(Comparable attributeValue)
getRecords
in interface Index
public Set<QueryableEntry> getSubRecords(ComparisonType comparisonType, Comparable searchedAttributeValue)
getSubRecords
in interface Index
public Set<QueryableEntry> getSubRecordsBetween(Comparable fromAttributeValue, Comparable toAttributeValue)
getSubRecordsBetween
in interface Index
public TypeConverter getConverter()
getConverter
in interface Index
public String getAttributeName()
getAttributeName
in interface Index
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.