com.hazelcast.config
Class MapIndexConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.MapIndexConfig
      extended by com.hazelcast.config.MapIndexConfigReadOnly

public class MapIndexConfigReadOnly
extends MapIndexConfig

Contains the configuration for a index of Map.


Constructor Summary
MapIndexConfigReadOnly(MapIndexConfig config)
           
 
Method Summary
 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.
 
Methods inherited from class com.hazelcast.config.MapIndexConfig
getAsReadOnly, getAttribute, isOrdered, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapIndexConfigReadOnly

public MapIndexConfigReadOnly(MapIndexConfig config)
Method Detail

setAttribute

public MapIndexConfig setAttribute(String attribute)
Description copied from class: MapIndexConfig
Sets the attribute that is going to be indexed.

Overrides:
setAttribute in class MapIndexConfig
Parameters:
attribute - the attribute that is going to be indexed.
Returns:
the updated MapIndexConfig.

setOrdered

public MapIndexConfig setOrdered(boolean ordered)
Description copied from class: MapIndexConfig
Configures the index to be ordered or not ordered. Some indices can be ordered, e.g. age. Sometimes you want to look for all people with an age equal or greater than X. In other cases an ordered index doesn't make sense, e.g. a phone number of a person.

Overrides:
setOrdered in class MapIndexConfig
Parameters:
ordered - if the index should be an ordered index.
Returns:
the updated MapIndexConfig.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.