Class TableAccessExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.TableAccessExpression
- All Implemented Interfaces:
Expression
,Serializable
Table access expression.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.TableAccessExpression
(String tableName, List<Expression> keyExpressions, String optionalColumn) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the primary key expressions.Returns the optional table column name to access.Returns precedence.Returns the table name.void
setKeyExpressions
(List<Expression> keyExpressions) Sets the primary key expressions.void
setOptionalColumn
(String optionalColumn) Sets the optional table column name to access.void
setTableName
(String tableName) Sets the table name.void
toPrecedenceFreeEPL
(StringWriter writer) Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.Methods inherited from class com.espertech.esper.common.client.soda.ExpressionBase
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
-
Constructor Details
-
TableAccessExpression
public TableAccessExpression()Ctor. -
TableAccessExpression
public TableAccessExpression(String tableName, List<Expression> keyExpressions, String optionalColumn) Ctor.- Parameters:
tableName
- the table namekeyExpressions
- the list of key expressions for each table primary key in the same order as declaredoptionalColumn
- optional column name
-
-
Method Details
-
getPrecedence
Description copied from interface:Expression
Returns precedence.- Returns:
- precedence
-
toPrecedenceFreeEPL
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 classExpressionBase
- Parameters:
writer
- is the output to use
-
getTableName
Returns the table name.- Returns:
- table name
-
setTableName
Sets the table name.- Parameters:
tableName
- table name
-
getKeyExpressions
Returns the primary key expressions.- Returns:
- primary key expressions
-
setKeyExpressions
Sets the primary key expressions.- Parameters:
keyExpressions
- primary key expressions
-
getOptionalColumn
Returns the optional table column name to access.- Returns:
- table column name or null if accessing row
-
setOptionalColumn
Sets the optional table column name to access.- Parameters:
optionalColumn
- table column name or null if accessing row
-