Class TableDefinition

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

public class TableDefinition extends Object implements Serializable
Represent a table definition when working with Rest API.
Author:
Cedrick LUNVEN (@clunven)
See Also:
  • Constructor Details

    • TableDefinition

      public TableDefinition()
      Default constructor.
  • Method Details

    • getName

      public String getName()
      Getter accessor for attribute 'name'.
      Returns:
      current value of 'name'
    • setName

      public void setName(String name)
      Setter accessor for attribute 'name'.
      Parameters:
      name - new value for 'name '
    • getKeyspace

      public String getKeyspace()
      Getter accessor for attribute 'keyspace'.
      Returns:
      current value of 'keyspace'
    • setKeyspace

      public void setKeyspace(String keyspace)
      Setter accessor for attribute 'keyspace'.
      Parameters:
      keyspace - new value for 'keyspace '
    • getColumnDefinitions

      public List<ColumnDefinition> getColumnDefinitions()
      Getter accessor for attribute 'columnDefinitions'.
      Returns:
      current value of 'columnDefinitions'
    • setColumnDefinitions

      public void setColumnDefinitions(List<ColumnDefinition> columnDefinitions)
      Setter accessor for attribute 'columnDefinitions'.
      Parameters:
      columnDefinitions - new value for 'columnDefinitions '
    • getPrimaryKey

      public TablePrimaryKey getPrimaryKey()
      Getter accessor for attribute 'primaryKey'.
      Returns:
      current value of 'primaryKey'
    • setPrimaryKey

      public void setPrimaryKey(TablePrimaryKey primaryKey)
      Setter accessor for attribute 'primaryKey'.
      Parameters:
      primaryKey - new value for 'primaryKey '
    • getTableOptions

      public TableOptions getTableOptions()
      Getter accessor for attribute 'tableOptions'.
      Returns:
      current value of 'tableOptions'
    • setTableOptions

      public void setTableOptions(TableOptions tableOptions)
      Setter accessor for attribute 'tableOptions'.
      Parameters:
      tableOptions - new value for 'tableOptions '