public class IndexImpl extends AbstractIndex
Index.OperationSourcecopyBehavior, extractors, indexStore, NULL, ss| Constructor and Description |
|---|
IndexImpl(String name,
String[] components,
boolean ordered,
InternalSerializationService ss,
Extractors extractors,
IndexCopyBehavior copyBehavior,
PerIndexStats stats) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears out all entries from this index.
|
protected IndexStore |
createIndexStore(boolean ordered,
PerIndexStats stats) |
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.
|
destroy, getComponents, getConverter, getName, getPerIndexStats, getRecords, getRecords, getRecords, getRecords, isOrdered, putEntry, removeEntrypublic IndexImpl(String name, String[] components, boolean ordered, InternalSerializationService ss, Extractors extractors, IndexCopyBehavior copyBehavior, PerIndexStats stats)
protected IndexStore createIndexStore(boolean ordered, PerIndexStats stats)
createIndexStore in class AbstractIndexpublic void clear()
Indexclear in interface Indexclear in class AbstractIndexpublic boolean hasPartitionIndexed(int partitionId)
InternalIndextrue if the given partition is indexed by this index,
false otherwise.public void markPartitionAsIndexed(int partitionId)
InternalIndexpartitionId - the ID of the partition to mark as indexed.public void markPartitionAsUnindexed(int partitionId)
InternalIndexpartitionId - the ID of the partition to mark as unindexed.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.