com.espertech.esper.client.soda
Class CreateIndexColumn

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

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

Create an index on a named window.

See Also:
Serialized Form

Constructor Summary
CreateIndexColumn()
          Ctor.
CreateIndexColumn(java.lang.String columnName)
          Ctor.
CreateIndexColumn(java.lang.String columnName, CreateIndexColumnType type)
          Ctor.
 
Method Summary
 java.lang.String getColumnName()
          Returns the column name.
 CreateIndexColumnType getType()
          Returns the index type.
 void setColumnName(java.lang.String columnName)
          Set the column name.
 void setType(CreateIndexColumnType type)
          Sets the index type.
 void toEPL(java.io.StringWriter writer)
          Renders the clause in textual representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateIndexColumn

public CreateIndexColumn()
Ctor.


CreateIndexColumn

public CreateIndexColumn(java.lang.String columnName)
Ctor.

Parameters:
columnName - column name

CreateIndexColumn

public CreateIndexColumn(java.lang.String columnName,
                         CreateIndexColumnType type)
Ctor.

Parameters:
columnName - colum name
type - index type
Method Detail

toEPL

public void toEPL(java.io.StringWriter writer)
Renders the clause in textual representation.

Parameters:
writer - to output to

getColumnName

public java.lang.String getColumnName()
Returns the column name.

Returns:
column name

setColumnName

public void setColumnName(java.lang.String columnName)
Set the column name.

Parameters:
columnName - name to set

getType

public CreateIndexColumnType getType()
Returns the index type.

Returns:
index type

setType

public void setType(CreateIndexColumnType type)
Sets the index type.

Parameters:
type - of index

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