Modifier and Type | Class and Description |
---|---|
static class |
IndexImpl.NullObject
Provides comparable null object.
|
Modifier and Type | Field and Description |
---|---|
static IndexImpl.NullObject |
NULL
Creates instance from NullObject is a inner class.
|
Constructor and Description |
---|
IndexImpl(String attribute,
boolean ordered) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
String |
getAttributeName() |
Set<QueryableEntry> |
getRecords(Comparable value) |
Set<QueryableEntry> |
getRecords(Comparable[] values) |
ConcurrentMap<Data,Comparable> |
getRecordValues() |
Set<QueryableEntry> |
getSubRecords(ComparisonType comparisonType,
Comparable searchedValue) |
Set<QueryableEntry> |
getSubRecordsBetween(Comparable from,
Comparable to) |
boolean |
isOrdered() |
void |
removeEntryIndex(Data indexKey) |
void |
saveEntryIndex(QueryableEntry e) |
public static final IndexImpl.NullObject NULL
public IndexImpl(String attribute, boolean ordered)
public void removeEntryIndex(Data indexKey)
removeEntryIndex
in interface Index
public void saveEntryIndex(QueryableEntry e) throws QueryException
saveEntryIndex
in interface Index
QueryException
public Set<QueryableEntry> getRecords(Comparable[] values)
getRecords
in interface Index
public Set<QueryableEntry> getRecords(Comparable value)
getRecords
in interface Index
public Set<QueryableEntry> getSubRecordsBetween(Comparable from, Comparable to)
getSubRecordsBetween
in interface Index
public Set<QueryableEntry> getSubRecords(ComparisonType comparisonType, Comparable searchedValue)
getSubRecords
in interface Index
public ConcurrentMap<Data,Comparable> getRecordValues()
public String getAttributeName()
getAttributeName
in interface Index
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.