Class CreateIndexColumn

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

public class CreateIndexColumn extends Object implements Serializable
Create an index on a named window.
See Also:
  • Constructor Details

    • CreateIndexColumn

      public CreateIndexColumn()
      Ctor.
    • CreateIndexColumn

      public CreateIndexColumn(String columnName)
      Ctor.
      Parameters:
      columnName - column name
    • CreateIndexColumn

      public CreateIndexColumn(String columnName, CreateIndexColumnType type)
      Ctor.
      Parameters:
      columnName - colum name
      type - index type
    • CreateIndexColumn

      public CreateIndexColumn(List<Expression> columns, String type, List<Expression> parameters)
      Ctor
      Parameters:
      columns - columns
      type - index type
      parameters - index parameters
  • Method Details

    • toEPL

      public void toEPL(StringWriter writer)
      Renders the clause in textual representation.
      Parameters:
      writer - to output to
    • getColumns

      public List<Expression> getColumns()
      Returns index column expressions
      Returns:
      columns to be indexed
    • setColumns

      public void setColumns(List<Expression> columns)
      Sets index column expressions
      Parameters:
      columns - to be indexed
    • setType

      public void setType(String type)
      Sets the index type
      Parameters:
      type - index type name
    • getType

      public String getType()
      Returns the index type name
      Returns:
      index type name
    • getParameters

      public List<Expression> getParameters()
      Returns index parameters
      Returns:
      parameters
    • setParameters

      public void setParameters(List<Expression> parameters)
      Sets index parameters
      Parameters:
      parameters - to ser