Package io.stargate.sdk.rest.domain
Class IndexDefinition
java.lang.Object
io.stargate.sdk.rest.domain.IndexDefinition
- All Implemented Interfaces:
Serializable
Sample output
{
"keyspace_name": "sdk_test_ks",
"options": [
{ "key": "class_name", "value": "org.apache.cassandra.index.sai.StorageAttachedIndex" },
{ "key": "target", "value": "keys(bar2)" }
],
"table_name": "foo",
"index_name": "idx_2",
"kind": "CUSTOM"
}
- Author:
- Cedrick LUNVEN (@clunven)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter accessor for attribute 'index_name'.Getter accessor for attribute 'keyspace_name'.getKind()Getter accessor for attribute 'kind'.Getter accessor for attribute 'options'.Getter accessor for attribute 'table_name'.voidsetIndex_name(String index_name) Setter accessor for attribute 'index_name'.voidsetKeyspace_name(String keyspace_name) Setter accessor for attribute 'keyspace_name'.voidSetter accessor for attribute 'kind'.voidsetOptions(List<KVPair> options) Setter accessor for attribute 'options'.voidsetTable_name(String table_name) Setter accessor for attribute 'table_name'.
-
Constructor Details
-
IndexDefinition
public IndexDefinition()Default constructor.
-
-
Method Details
-
getIndex_name
Getter accessor for attribute 'index_name'.- Returns:
- current value of 'index_name'
-
setIndex_name
Setter accessor for attribute 'index_name'.- Parameters:
index_name- new value for 'index_name '
-
getTable_name
Getter accessor for attribute 'table_name'.- Returns:
- current value of 'table_name'
-
setTable_name
Setter accessor for attribute 'table_name'.- Parameters:
table_name- new value for 'table_name '
-
getKeyspace_name
Getter accessor for attribute 'keyspace_name'.- Returns:
- current value of 'keyspace_name'
-
setKeyspace_name
Setter accessor for attribute 'keyspace_name'.- Parameters:
keyspace_name- new value for 'keyspace_name '
-
getOptions
Getter accessor for attribute 'options'.- Returns:
- current value of 'options'
-
setOptions
Setter accessor for attribute 'options'.- Parameters:
options- new value for 'options '
-
getKind
Getter accessor for attribute 'kind'.- Returns:
- current value of 'kind'
-
setKind
Setter accessor for attribute 'kind'.- Parameters:
kind- new value for 'kind '
-