Class CreateTableClause

java.lang.Object
com.espertech.esper.common.client.soda.CreateTableClause
All Implemented Interfaces:
Serializable

public class CreateTableClause extends Object implements Serializable
Represents a create-variable syntax for creating a new variable.
See Also:
  • Constructor Details

    • CreateTableClause

      public CreateTableClause()
      Ctor.
    • CreateTableClause

      public CreateTableClause(String tableName)
      Ctor.
      Parameters:
      tableName - the table name
    • CreateTableClause

      public CreateTableClause(String tableName, List<CreateTableColumn> columns)
      Ctor.
      Parameters:
      tableName - the table name
      columns - table columns
  • Method Details

    • getTableName

      public String getTableName()
      Returns the table name
      Returns:
      table name
    • setTableName

      public void setTableName(String tableName)
      Sets the table name
      Parameters:
      tableName - table name
    • getColumns

      public List<CreateTableColumn> getColumns()
      Returns the table columns
      Returns:
      table columns
    • setColumns

      public void setColumns(List<CreateTableColumn> columns)
      Sets the table columns
      Parameters:
      columns - table columns
    • toEPL

      public void toEPL(StringWriter writer)
      Render create-table clause
      Parameters:
      writer - to render to