com.espertech.esper.client.soda
Interface Expression

All Superinterfaces:
Serializable
All Known Implementing Classes:
ArithmaticExpression, ArrayExpression, AvedevProjectionExpression, AvgProjectionExpression, BetweenExpression, BitwiseOpExpression, CaseSwitchExpression, CaseWhenThenExpression, CastExpression, CoalesceExpression, ConcatExpression, Conjunction, ConstantExpression, CountProjectionExpression, CountStarProjectionExpression, CurrentTimestampExpression, Disjunction, ExpressionBase, InExpression, InstanceOfExpression, Junction, LikeExpression, MaxProjectionExpression, MaxRowExpression, MedianProjectionExpression, MinProjectionExpression, MinRowExpression, NotExpression, PlugInProjectionExpression, PreviousExpression, PriorExpression, PropertyExistsExpression, PropertyValueExpression, RegExpExpression, RelationalOpExpression, StaticMethodExpression, StddevProjectionExpression, SubqueryExistsExpression, SubqueryExpression, SubqueryInExpression, SubstitutionParameterExpression, SumProjectionExpression

public interface Expression
extends Serializable

Interface representing an expression for use in select-clauses, where-clauses, having-clauses, order-by clauses and streams based on filters and pattern filter expressions.

Expressions are organized into a tree-like structure with nodes representing sub-expressions.

Certain types of nodes have certain requirements towards the number or types of nodes that are expected as sub-expressions to an expression.


Method Summary
 List<Expression> getChildren()
          Returns the list of sub-expressions (child expressions) to the current expression node.
 void toEPL(StringWriter writer)
          Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.
 

Method Detail

getChildren

List<Expression> getChildren()
Returns the list of sub-expressions (child expressions) to the current expression node.

Returns:
child expressions or empty list if there are no child expressions

toEPL

void toEPL(StringWriter writer)
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.

Parameters:
writer - is the output to use

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com