Package io.stargate.sdk.rest.domain
Class CreateTable
java.lang.Object
io.stargate.sdk.rest.domain.CreateTable
- All Implemented Interfaces:
Serializable
Creation request of a table.
- Author:
- Cedrick LUNVEN (@clunven)
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Easily create the builder.Getter accessor for attribute 'columnDefinitions'.getName()Getter accessor for attribute 'name'.Getter accessor for attribute 'primaryKey'.Getter accessor for attribute 'tableOptions'.booleanGetter accessor for attribute 'ifNotExists'.voidsetColumnDefinitions(List<ColumnDefinition> columnDefinitions) Setter accessor for attribute 'columnDefinitions'.voidsetIfNotExists(boolean ifNotExists) Setter accessor for attribute 'ifNotExists'.voidSetter accessor for attribute 'name'.voidsetPrimaryKey(TablePrimaryKey primaryKey) Setter accessor for attribute 'primaryKey'.voidsetTableOptions(TableOptions tableOptions) Setter accessor for attribute 'tableOptions'.
-
Constructor Details
-
CreateTable
public CreateTable()Default constructor.
-
-
Method Details
-
builder
Easily create the builder.- Returns:
- the builder
-
getPrimaryKey
Getter accessor for attribute 'primaryKey'.- Returns:
- current value of 'primaryKey'
-
setPrimaryKey
Setter accessor for attribute 'primaryKey'.- Parameters:
primaryKey- new value for 'primaryKey '
-
getColumnDefinitions
Getter accessor for attribute 'columnDefinitions'.- Returns:
- current value of 'columnDefinitions'
-
setColumnDefinitions
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
Getter accessor for attribute 'tableOptions'.- Returns:
- current value of 'tableOptions'
-
setTableOptions
Setter accessor for attribute 'tableOptions'.- Parameters:
tableOptions- new value for 'tableOptions '
-
getName
Getter accessor for attribute 'name'.- Returns:
- current value of 'name'
-
setName
Setter accessor for attribute 'name'.- Parameters:
name- new value for 'name '
-