Class CreateTableClause
java.lang.Object
com.espertech.esper.common.client.soda.CreateTableClause
- All Implemented Interfaces:
Serializable
Represents a create-variable syntax for creating a new variable.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.CreateTableClause
(String tableName) Ctor.CreateTableClause
(String tableName, List<CreateTableColumn> columns) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the table columnsReturns the table namevoid
setColumns
(List<CreateTableColumn> columns) Sets the table columnsvoid
setTableName
(String tableName) Sets the table namevoid
toEPL
(StringWriter writer) Render create-table clause
-
Constructor Details
-
CreateTableClause
public CreateTableClause()Ctor. -
CreateTableClause
Ctor.- Parameters:
tableName
- the table name
-
CreateTableClause
Ctor.- Parameters:
tableName
- the table namecolumns
- table columns
-
-
Method Details
-
getTableName
Returns the table name- Returns:
- table name
-
setTableName
Sets the table name- Parameters:
tableName
- table name
-
getColumns
Returns the table columns- Returns:
- table columns
-
setColumns
Sets the table columns- Parameters:
columns
- table columns
-
toEPL
Render create-table clause- Parameters:
writer
- to render to
-