public class DefaultIndexProvider extends Object implements IndexProvider
Constructor and Description |
---|
DefaultIndexProvider() |
Modifier and Type | Method and Description |
---|---|
InternalIndex |
createIndex(String attributeName,
boolean ordered,
Extractors extractors,
InternalSerializationService ss,
IndexCopyBehavior copyBehavior,
PerIndexStats stats)
Creates a new index for the given attribute name.
|
public InternalIndex createIndex(String attributeName, boolean ordered, Extractors extractors, InternalSerializationService ss, IndexCopyBehavior copyBehavior, PerIndexStats stats)
IndexProvider
createIndex
in interface IndexProvider
attributeName
- the attribute name to create the index for.ordered
- true
to create an ordered index supporting
fast range queries, false
to create an
unordered index supporting fast point queries only.extractors
- the extractors to extract values of the given
attribute.ss
- the serialization service to perform the
deserialization of entries while extracting values
from them.copyBehavior
- the desired index copy behaviour.stats
- the index stats instance to report the statistics to.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.