public final class IndexDefinition extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexDefinition.UniqueKeyTransform
Defines an assortment of transforms applied to unique key values.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getComponents() |
String |
getName() |
String |
getUniqueKey() |
IndexDefinition.UniqueKeyTransform |
getUniqueKeyTransform() |
boolean |
isOrdered() |
static IndexDefinition |
parse(String definition,
boolean ordered)
Parses the given index definition.
|
public static IndexDefinition parse(String definition, boolean ordered)
attr
).
attr1, attr2, attr3
).
attr -> uniqueKeyAttr
).
definition
- the definition to parse.ordered
- true
if the given definition should define an
ordered index, false
for unordered.IllegalArgumentException
- if the given definition is considered
invalid.public String getName()
public boolean isOrdered()
true
if this index ordered, false
if unordered.public String getUniqueKey()
public IndexDefinition.UniqueKeyTransform getUniqueKeyTransform()
unique key
values.public String[] getComponents()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.