Class TableAccessExpression

java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.TableAccessExpression
All Implemented Interfaces:
Expression, Serializable

public class TableAccessExpression extends ExpressionBase
Table access expression.
See Also:
  • Constructor Details

    • TableAccessExpression

      public TableAccessExpression()
      Ctor.
    • TableAccessExpression

      public TableAccessExpression(String tableName, List<Expression> keyExpressions, String optionalColumn)
      Ctor.
      Parameters:
      tableName - the table name
      keyExpressions - the list of key expressions for each table primary key in the same order as declared
      optionalColumn - optional column name
  • Method Details

    • getPrecedence

      public ExpressionPrecedenceEnum getPrecedence()
      Description copied from interface: Expression
      Returns precedence.
      Returns:
      precedence
    • toPrecedenceFreeEPL

      public void toPrecedenceFreeEPL(StringWriter writer)
      Description copied from class: ExpressionBase
      Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.
      Specified by:
      toPrecedenceFreeEPL in class ExpressionBase
      Parameters:
      writer - is the output to use
    • 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
    • getKeyExpressions

      public List<Expression> getKeyExpressions()
      Returns the primary key expressions.
      Returns:
      primary key expressions
    • setKeyExpressions

      public void setKeyExpressions(List<Expression> keyExpressions)
      Sets the primary key expressions.
      Parameters:
      keyExpressions - primary key expressions
    • getOptionalColumn

      public String getOptionalColumn()
      Returns the optional table column name to access.
      Returns:
      table column name or null if accessing row
    • setOptionalColumn

      public void setOptionalColumn(String optionalColumn)
      Sets the optional table column name to access.
      Parameters:
      optionalColumn - table column name or null if accessing row