public class OrderedIndexStore extends BaseIndexStore
Constructor and Description |
---|
OrderedIndexStore(IndexCopyBehavior copyOn) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the contents of this index by purging all its entries.
|
Set<QueryableEntry> |
getRecords(Comparable value)
Obtains entries that have indexed attribute value equal to the given
value.
|
Set<QueryableEntry> |
getRecords(Comparable from,
boolean fromInclusive,
Comparable to,
boolean toInclusive)
Obtains entries that have indexed attribute value belonging to the given
range.
|
Set<QueryableEntry> |
getRecords(Comparison comparison,
Comparable searchedValue)
Obtains entries that have indexed attribute value satisfying the given
comparison with the given value.
|
Set<QueryableEntry> |
getRecords(Set<Comparable> values)
Obtains entries that have indexed attribute value equal to one of the
given set of values.
|
destroy, insert, remove, update
public OrderedIndexStore(IndexCopyBehavior copyOn)
public void clear()
IndexStore
public Set<QueryableEntry> getRecords(Comparable value)
IndexStore
value
- the value to obtains the entries for.Index.getRecords(Comparable)
public Set<QueryableEntry> getRecords(Set<Comparable> values)
IndexStore
values
- the values to obtains the entries for.Index.getRecords(Comparable[])
public Set<QueryableEntry> getRecords(Comparison comparison, Comparable searchedValue)
IndexStore
comparison
- the comparison to perform.searchedValue
- the value to perform the comparison with.Index.getRecords(Comparison, Comparable)
public Set<QueryableEntry> getRecords(Comparable from, boolean fromInclusive, Comparable to, boolean toInclusive)
IndexStore
from
- the beginning of the range.fromInclusive
- true
if the beginning of the range is
inclusive, false
otherwise.to
- the end of the range.toInclusive
- true
if the end of the range is inclusive,
false
otherwise.Index.getRecords(Comparable, boolean, Comparable, boolean)
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.