public class MapAttributeConfig extends Object
MapConfig
.ValueExtractor
Constructor and Description |
---|
MapAttributeConfig()
Creates an empty MapAttributeConfig.
|
MapAttributeConfig(MapAttributeConfig config) |
MapAttributeConfig(String name,
String extractor)
Creates a MapAttributeConfig with the given attribute and ordered setting.
|
Modifier and Type | Method and Description |
---|---|
MapAttributeConfigReadOnly |
getAsReadOnly() |
String |
getExtractor()
Gets the full class name of the extractor in a String format, e.g.
|
String |
getName()
Gets the name of the attribute extracted by the extractor.
|
MapAttributeConfig |
setExtractor(String extractor)
Sets the full class name of the extractor in a String format, e.g.
|
MapAttributeConfig |
setName(String name)
Sets the name of the attribute extracted by the extractor.
|
String |
toString() |
public MapAttributeConfig()
public MapAttributeConfig(String name, String extractor)
name
- the name given to an attribute that is going to be extracted.extractor
- full class name of the extractor used to extract the value of the attribute.setName(String)
,
setExtractor(String)
public MapAttributeConfig(MapAttributeConfig config)
public MapAttributeConfigReadOnly getAsReadOnly()
public String getName()
setName(String)
public MapAttributeConfig setName(String name)
name
- the name of the attribute extracted by the extractor.IllegalArgumentException
- if attribute is null,an empty or inappropriate string.QueryConstants
public String getExtractor()
setExtractor(String)
public MapAttributeConfig setExtractor(String extractor)
extractor
- the full class name of the extractor in a String format.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.