public interface InternalIndex extends Index
Index.OperationSource
Modifier and Type | Method and Description |
---|---|
Comparable |
canonicalizeQueryArgumentScalar(Comparable value)
Canonicalizes the given value for the purpose of a hash-based lookup.
|
PerIndexStats |
getPerIndexStats()
Returns the index stats associated with this index.
|
boolean |
hasPartitionIndexed(int partitionId)
Returns
true if the given partition is indexed by this index,
false otherwise. |
void |
markPartitionAsIndexed(int partitionId)
Marks the given partition as indexed by this index.
|
void |
markPartitionAsUnindexed(int partitionId)
Marks the given partition as unindexed by this index.
|
clear, destroy, getComponents, getConverter, getName, getRecords, getRecords, getRecords, getRecords, isOrdered, putEntry, removeEntry
Comparable canonicalizeQueryArgumentScalar(Comparable value)
The method is used while performing InPredicate queries to canonicalize the set of values in question, so additional duplicate-eliminating post-processing step can be avoided.
value
- the value to canonicalize.boolean hasPartitionIndexed(int partitionId)
true
if the given partition is indexed by this index,
false
otherwise.void markPartitionAsIndexed(int partitionId)
partitionId
- the ID of the partition to mark as indexed.void markPartitionAsUnindexed(int partitionId)
partitionId
- the ID of the partition to mark as unindexed.PerIndexStats getPerIndexStats()
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.