public class IndexConfigReadOnly extends IndexConfig
IndexConfig class.DEFAULT_TYPE| Constructor and Description |
|---|
IndexConfigReadOnly(IndexConfig other) |
| Modifier and Type | Method and Description |
|---|---|
IndexConfig |
addAttribute(String attribute)
Adds an index attribute with the given.
|
List<String> |
getAttributes()
Gets index attributes.
|
IndexConfig |
setAttributes(List<String> attributes)
Sets index attributes.
|
IndexConfig |
setName(String name)
Sets name of the index.
|
IndexConfig |
setType(IndexType type)
Sets type of the index.
|
addAttributeInternal, equals, getClassId, getFactoryId, getName, getType, hashCode, readData, toString, writeDatapublic IndexConfigReadOnly(IndexConfig other)
public IndexConfig setName(String name)
IndexConfigsetName in class IndexConfigname - Name of the index or null if index name should be generated automatically.public IndexConfig setType(IndexType type)
IndexConfig
Defaults to IndexType.SORTED.
setType in class IndexConfigtype - Type of the index.public List<String> getAttributes()
IndexConfiggetAttributes in class IndexConfigpublic IndexConfig addAttribute(String attribute)
IndexConfigaddAttribute in class IndexConfigattribute - Attribute name.public IndexConfig setAttributes(List<String> attributes)
IndexConfigsetAttributes in class IndexConfigattributes - Index attributes.Copyright © 2019 Hazelcast, Inc.. All rights reserved.