com.espertech.esper.client.soda
Class CreateTableClause

java.lang.Object
  extended by com.espertech.esper.client.soda.CreateTableClause
All Implemented Interfaces:
java.io.Serializable

public class CreateTableClause
extends java.lang.Object
implements java.io.Serializable

Represents a create-variable syntax for creating a new variable.

See Also:
Serialized Form

Constructor Summary
CreateTableClause()
          Ctor.
CreateTableClause(java.lang.String tableName)
          Ctor.
CreateTableClause(java.lang.String tableName, java.util.List<CreateTableColumn> columns)
          Ctor.
 
Method Summary
 java.util.List<CreateTableColumn> getColumns()
          Returns the table columns
 java.lang.String getTableName()
          Returns the table name
 void setColumns(java.util.List<CreateTableColumn> columns)
          Sets the table columns
 void setTableName(java.lang.String tableName)
          Sets the table name
 void toEPL(java.io.StringWriter writer)
          Render create-table clause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateTableClause

public CreateTableClause()
Ctor.


CreateTableClause

public CreateTableClause(java.lang.String tableName)
Ctor.

Parameters:
tableName - the table name

CreateTableClause

public CreateTableClause(java.lang.String tableName,
                         java.util.List<CreateTableColumn> columns)
Ctor.

Parameters:
tableName - the table name
columns - table columns
Method Detail

getTableName

public java.lang.String getTableName()
Returns the table name

Returns:
table name

setTableName

public void setTableName(java.lang.String tableName)
Sets the table name

Parameters:
tableName - table name

getColumns

public java.util.List<CreateTableColumn> getColumns()
Returns the table columns

Returns:
table columns

setColumns

public void setColumns(java.util.List<CreateTableColumn> columns)
Sets the table columns

Parameters:
columns - table columns

toEPL

public void toEPL(java.io.StringWriter writer)
Render create-table clause

Parameters:
writer - to render to

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com