Class IndexDefinition

java.lang.Object
io.stargate.sdk.rest.domain.IndexDefinition
All Implemented Interfaces:
Serializable

public class IndexDefinition extends Object implements 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 Details

    • IndexDefinition

      public IndexDefinition()
      Default constructor.
  • Method Details

    • getIndex_name

      public String getIndex_name()
      Getter accessor for attribute 'index_name'.
      Returns:
      current value of 'index_name'
    • setIndex_name

      public void setIndex_name(String index_name)
      Setter accessor for attribute 'index_name'.
      Parameters:
      index_name - new value for 'index_name '
    • getTable_name

      public String getTable_name()
      Getter accessor for attribute 'table_name'.
      Returns:
      current value of 'table_name'
    • setTable_name

      public void setTable_name(String table_name)
      Setter accessor for attribute 'table_name'.
      Parameters:
      table_name - new value for 'table_name '
    • getKeyspace_name

      public String getKeyspace_name()
      Getter accessor for attribute 'keyspace_name'.
      Returns:
      current value of 'keyspace_name'
    • setKeyspace_name

      public void setKeyspace_name(String keyspace_name)
      Setter accessor for attribute 'keyspace_name'.
      Parameters:
      keyspace_name - new value for 'keyspace_name '
    • getOptions

      public List<KVPair> getOptions()
      Getter accessor for attribute 'options'.
      Returns:
      current value of 'options'
    • setOptions

      public void setOptions(List<KVPair> options)
      Setter accessor for attribute 'options'.
      Parameters:
      options - new value for 'options '
    • getKind

      public String getKind()
      Getter accessor for attribute 'kind'.
      Returns:
      current value of 'kind'
    • setKind

      public void setKind(String kind)
      Setter accessor for attribute 'kind'.
      Parameters:
      kind - new value for 'kind '