Class CreateTable

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

public class CreateTable extends Object implements Serializable
Creation request of a table.
Author:
Cedrick LUNVEN (@clunven)
See Also:
  • Constructor Details

    • CreateTable

      public CreateTable()
      Default constructor.
  • Method Details

    • builder

      public static CreateTable.CreateTableBuilder builder()
      Easily create the builder.
      Returns:
      the builder
    • 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 '
    • 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 '
    • isIfNotExists

      public boolean isIfNotExists()
      Getter accessor for attribute 'ifNotExists'.
      Returns:
      current value of 'ifNotExists'
    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)
      Setter accessor for attribute 'ifNotExists'.
      Parameters:
      ifNotExists - new value for 'ifNotExists '
    • 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 '
    • 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 '