com.hazelcast.config
public class MapIndexConfigReadOnly extends MapIndexConfig
Constructor and Description |
---|
MapIndexConfigReadOnly(MapIndexConfig config) |
Modifier and Type | Method and Description |
---|---|
MapIndexConfig |
setAttribute(String attribute)
Sets the attribute that is going to be indexed.
|
MapIndexConfig |
setOrdered(boolean ordered)
Configures the index to be ordered or not ordered.
|
getAsReadOnly, getAttribute, isOrdered, toString
public MapIndexConfigReadOnly(MapIndexConfig config)
public MapIndexConfig setAttribute(String attribute)
MapIndexConfig
setAttribute
in class MapIndexConfig
attribute
- the attribute that is going to be indexed.public MapIndexConfig setOrdered(boolean ordered)
MapIndexConfig
setOrdered
in class MapIndexConfig
ordered
- if the index should be an ordered index.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.