Uses of Interface
com.espertech.esper.common.client.soda.Expression
Package
Description
This package defines the Esper statement object model.
Contains EPL statement specification classes define the constructs that make up an EPL statement,
such as the list of items in the select clause, the insert-into stream name and property names etc.
-
Uses of Expression in com.espertech.esper.common.client.soda
Modifier and TypeClassDescriptionclass
Represents the base expression for "first", "last" and "window" aggregation functions.class
Arithmatic expression for addition, subtraction, multiplication, division and modulo.class
Array expression forms array results, similar to the syntax of "{element 1, element 2, ...class
Mean deviation of the (distinct) values returned by an expression.class
Average of the (distinct) values returned by an expression.class
Between checks that a given value is in a range between a low endpoint and a high endpoint.class
Bitwise (binary) operator for binary AND, binary OR and binary XOR.class
Case-expression that acts as a switch testing a value against other values.class
Case expression that act as a when-then-else.class
Cast expression casts the return value of an expression to a specified type.class
Coalesce-function which returns the first non-null value in a list of values.class
Represents a list-compare of the format "expression operator all/any (expressions)".class
Concatenation expression that concatenates the result of child expressions to the expression.class
Conjunction represents a logical AND allowing multiple sub-expressions to be connected by AND.class
Constant value returns a fixed value for use in expressions.class
Represents the "countever" aggregation function.class
Count of the (distinct) values returned by an expression, equivalent to "count(distinct property)"class
Count of (distinct) rows, equivalent to "count(*)"class
Frequency expression for use in crontab expressions.class
Parameter expression such as last/lastweek/weekday/wildcard for use in crontab expressions.class
An expression for use in crontab provides all child expression as part of a parameter list.class
Parameter expression for use in crontab expressions and representing a range.class
Current execution context supplies the current expression execution context.class
Current timestamp supplies the current runtime time in an expression.class
Disjunction represents a logical OR allowing multiple sub-expressions to be connected by OR.class
Dot-expresson is for use in "(inner_expression).dot_expression".class
Base expression.class
For use in expression as a placeholder to represent its child nodes.class
Represents the "firstever" aggregation function.class
Represents the "first" aggregation function.class
Grouping-function for use with rollup, cube or grouping sets.class
Grouping_id-function for use with rollup, cube or grouping sets.class
In-expresson checks that a value is in (or not in) a set of values, equivalent to the syntax "color in ('red', 'blue')".class
Instance-of expression checks if an expression returns a certain type.class
Returns true for insert stream and false for remove stream, same as the "istream()" builtin function.class
Base junction for conjunction (and) and disjunction (or).class
Lambda-expression is an expression of the form "parameter => body" where-in the "=>" reads as goes-to.class
Represents the "lastever" aggregation function.class
Represents the "last" aggregation function.class
SQL-Like expression for matching '%' and '_' wildcard strings following SQL standards.class
Maximum of the (distinct) values returned by an expression.class
Maximum-value per-row expression (not aggregating) determines the maximum value among a set of values.class
Median projection (aggregation) in the distinct and regular form.class
Minimum of the (distinct) values returned by an expression.class
Minimum-value per-row expression (not aggregating) determines the minimum value among a set of values.class
Named parameter expression of the form "name:expression" or "name:(expression, expression...)"class
The "new instance" operator instantiates a host language object.class
The "new" operator is useful to format an event or event property from a list of column names and expressions.class
Negates the contained-within subexpression.class
For use in view parameter lists, this is a wrapper expression that adds an ascending or descending sort indicator to its single child expression.class
Represents a plug-in aggregation function.class
Previous function for obtaining property values of previous events.class
Expression representing the prior function.class
Property-exists checks if a dynamic property exists.class
Expression returning a property value.class
Regular expression evaluates a "regexp" regular expression.class
Comparison using one of the relational operators (=, !=, <, <=, >, >=, is, is not).class
Generic single-row method call consists of a method name and parameters, possibly chained.class
Static method call consists of a class name and method name.class
Standard deviation of the (distinct) values returned by an expression.class
Represents "stream.*" in for example "mystream.*"class
Exists-expression for a set of values returned by a lookup.class
Subquery-expression returns values returned by a lookup modelled by a furtherEPStatementObjectModel
.class
In-expression for a set of values returned by a lookup.class
Exists-expression for a set of values returned by a lookup.class
Represents a substitution parameterclass
Sum of the (distinct) values returned by an expression.class
Table access expression.class
Represent an expressionclass
Type-of expression return the type name, as a string value, of the events in the stream if passing a stream name or the fragment event type if passing a property name that results in a fragment event otherwise the class simple name of the expression result or null if the expression returns a null value.class
Represents "*" in for example "last(*)"class
Represents the "window" aggregation function.Modifier and TypeMethodDescriptionOutputLimitClause.getAfterTimePeriodExpression()
Returns the after-keyword time period.OutputLimitClause.getAndAfterTerminateAndExpr()
Returns the optional expression evaluated when a context partition terminates before triggering output.OutputLimitClause.getCrontabAtParameters()
Returns the crontab parameters, or null if not using crontab-like schedule.InsertIntoClause.getEventPrecedence()
Returns null when no event-precedence is specified for the insert-into, or returns the expression returning the event-precedenceOnMergeMatchedInsertAction.getEventPrecedence()
Returns null when no event-precedence is specified for the insert-into, or returns the expression returning the event-precedenceContextDescriptorCategoryItem.getExpression()
Returns the category expression.ExpressionDeclaration.getExpression()
Returns the expression body.GroupByClauseExpressionSingle.getExpression()
Returns the expression.MatchRecognizeDefine.getExpression()
Returns the expression.MatchRecognizeIntervalClause.getExpression()
Returns the interval expression.OrderByElement.getExpression()
Returns the order-by value expression.SelectClauseExpression.getExpression()
Returns the selection expression.Filter.getFilter()
Returns the optional filter expression that tests the event, or null if no filter expression was defined.ContextDescriptorHashSegmentedItem.getHashFunction()
Returns the hash function.EPStatementObjectModel.getHavingClause()
Return the having-clause, or null to indicate that the clause is absent.MatchRecognizeRegExRepeat.getHigh()
Returns the high endpoint.PatternMatchUntilExpr.getHigh()
Returns the optional high endpoint for the repeat, or null if none supplied.CreateWindowClause.getInsertWhereClause()
Filter expression for inserting from another named window, or null if not inserting from another named window.OuterJoinQualifier.getLeft()
Returns property value expression to join on.PropertyValueExpressionPair.getLeft()
Returns left expr.MatchRecognizeRegExRepeat.getLow()
Returns the low endpoint.PatternMatchUntilExpr.getLow()
Returns the optional low endpoint for the repeat, or null if none supplied.CreateVariableClause.getOptionalAssignment()
Returns the optional assignment expression, or null to initialize to a null valueOnMergeMatchItem.getOptionalCondition()
Returns the condition to apply or null if none is provided.CreateTableColumn.getOptionalExpression()
Returns the aggragtion expression, if the type of the column is aggregation, or null if a type name is provided instead.UpdateClause.getOptionalWhereClause()
Returns the where-clause if any.OuterJoinQualifier.getRight()
Returns property value expression to join on.PropertyValueExpressionPair.getRight()
Returns right side.MatchRecognizeRegExRepeat.getSingle()
Returns the exact-num-matches endpoint.PatternMatchUntilExpr.getSingle()
Returns the single-bounds expression.ContainedEventSelect.getSplitExpression()
Returns the expression that returns the contained events.ContextDescriptorConditionTimePeriod.getTimePeriod()
Returns the time period expressionOutputLimitClause.getTimePeriodExpression()
Returns the time period, or null if none provided.Assignment.getValue()
Returns expression to eval.OutputLimitClause.getWhenExpression()
Returns the expression that controls output for use with the when-keyword.ContainedEventSelect.getWhereClause()
Returns the where clause.EPStatementObjectModel.getWhereClause()
Return the where-clause, or null to indicate that the clause is absent.OnInsertSplitStreamItem.getWhereClause()
Returns the optional where-clause.OnMergeMatchedDeleteAction.getWhereClause()
Returns the action condition, or null if undefined.OnMergeMatchedInsertAction.getWhereClause()
Returns the action condition, or null if undefined.OnMergeMatchedUpdateAction.getWhereClause()
Returns the action condition, or null if undefined.Modifier and TypeMethodDescriptionExpression.getChildren()
Returns the list of sub-expressions (child expressions) to the current expression node.ExpressionBase.getChildren()
Returns the list of sub-expressions to the current expression.CreateIndexColumn.getColumns()
Returns index column expressionsContextDescriptorConditionCrontab.getCrontabExpressions()
Returns the crontab expressions.ForClauseItem.getExpressions()
Returns for-clause expressions.GroupByClauseExpressionCombination.getExpressions()
Returns the combined expressions.PatternEveryDistinctExpr.getExpressions()
Returns distinct expressionsDotExpressionItemArray.getIndexes()
Returns array index expressionsTableAccessExpression.getKeyExpressions()
Returns the primary key expressions.ContextDescriptorInitiatedTerminated.getOptionalDistinctExpressions()
Returns the list of expressions providing distinct keys, if anyPatternFollowedByExpr.getOptionalMaxPerSubexpression()
Returns the instance limits, if any, for pattern-subexpressions.MethodInvocationStream.getParameterExpressions()
Returns a list of expressions that are parameters to the method.CreateIndexColumn.getParameters()
Returns index parametersDotExpressionItemCall.getParameters()
Returns method parameters or parameters for mapped properties or empty list if this item represents a simple nested property.EPBaseNamedObject.getParameters()
Returns the object parameters.MatchRecognizeClause.getPartitionExpressions()
Get partition expressions.FireAndForgetInsert.getRows()
Returns the rows.Modifier and TypeMethodDescriptionArithmaticExpression.add
(Expression expression) Add an expression to include in the computation.ArrayExpression.add
(Expression expression) Add an expression representing an array element to the expression.BitwiseOpExpression.add
(Expression expression) Add an expression to the expression.CaseSwitchExpression.add
(Expression when, Expression then) Adds a pair of expressions representing a "when" and a "then" in the switch.CaseWhenThenExpression.add
(Expression when, Expression then) Adds a when-then pair of expressions.CoalesceExpression.add
(Expression expression) Add an expression to include in the computation.ConcatExpression.add
(Expression expression) Add an expression to include in the computation.InExpression.add
(Expression expression) Add an expression to include in the computation.Junction.add
(Expression expression) Expression to add to the conjunction (AND) or disjunction (OR).MaxRowExpression.add
(Expression expression) Add an expression to include in the computation.MinRowExpression.add
(Expression expression) Add an expression to include in the computation.OrderByClause.add
(Expression expression, boolean isDescending) Adds an expression and flag.SelectClause.add
(Expression expression) Adds an expression to the select clause.SelectClause.add
(Expression expression, String asName) Adds an expression to the select clause and an "as"-asName for the column.OnSetClause.addAssignment
(Expression expression) Adds a variable to set to the clause.OnUpdateClause.addAssignment
(Expression expression) Adds a variable to set to the clause.UpdateClause.addAssignment
(Expression expression) Adds a property to set to the clause.void
ExpressionBase.addChild
(Expression expression) Adds a new child expression to the current expression.MethodInvocationStream.addParameter
(Expression parameterExpression) Adds a parameters to the method invocation.OutputLimitClause.addThenAssignment
(Expression assignmentExpression) Adds a then-keyword variable assigment for use with the when-keyword.CreateWindowClause.addView
(String name, Expression... parameters) Adds a parameterized view to the named window.CreateWindowClause.addView
(String namespace, String name, Expression... parameters) Adds a parameterized view to the named window.ProjectedStream.addView
(String name, Expression... parameters) Adds a parameterized view to the stream.ProjectedStream.addView
(String namespace, String name, Expression... parameters) Adds a parameterized view to the stream.static Conjunction
Expressions.and
(Expression first, Expression second, Expression... expressions) Logical AND conjunction.static AvedevProjectionExpression
Expressions.avedev
(Expression expression) Mean deviation aggregation function.static AvedevProjectionExpression
Expressions.avedevDistinct
(Expression expression) Mean deviation function considering distinct values only.static AvgProjectionExpression
Expressions.avg
(Expression expression) Average aggregation function.static AvgProjectionExpression
Expressions.avgDistinct
(Expression expression) Average aggregation function considering distinct values only.static BetweenExpression
Expressions.between
(Expression datapoint, Expression lowBoundary, Expression highBoundary) Between.static CaseSwitchExpression
Expressions.caseSwitch
(Expression valueToSwitchOn) Case-switch expresssion.static CastExpression
Expressions.cast
(Expression expression, String typeName) Cast function, casts the result on an expression to the desired type, or returns null if the type cannot be casted to the type.static CoalesceExpression
Expressions.coalesce
(Expression exprOne, Expression exprTwo, Expression... moreExpressions) Coalesce.static CountProjectionExpression
Expressions.count
(Expression expression) Count aggregation function.static CountProjectionExpression
Expressions.countDistinct
(Expression expression) Count aggregation function considering distinct values only.static CreateVariableClause
CreateVariableClause.create
(String variableType, String variableName, Expression expression) Creates a create-variable syntax for declaring a variable.static Filter
Filter.create
(String eventTypeName, Expression filter) Creates a filter to the given named event type and filter expression.static FilterStream
FilterStream.create
(String eventTypeName, Expression filter) Creates a stream of events of the given event type name and names that stream.static FilterStream
FilterStream.create
(String eventTypeName, String streamName, Expression filter) Creates a stream of events of the given event type name and names that stream.static GroupByClause
GroupByClause.create
(Expression... expressions) Creates a group-by clause from expressions.static InsertIntoClause
InsertIntoClause.create
(String streamName, String[] columns, StreamSelector streamSelector, Expression precedence) Creates the insert-into clause.static OnInsertSplitStreamItem
OnInsertSplitStreamItem.create
(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause) Factory method for split-stream items.static OnInsertSplitStreamItem
OnInsertSplitStreamItem.create
(InsertIntoClause insertInto, SelectClause selectClause, List<ContainedEventSelect> propertySelects, String propertySelectsStreamName, Expression whereClause) Factory method for split-stream items.static OnSetClause
OnSetClause.create
(Expression expression) Creates a new on-set clause for setting variables, and adds a variable to set.static OrderByClause
OrderByClause.create
(Expression... expressions) Create an order-by clause.static OutputLimitClause
OutputLimitClause.create
(Expression whenExpression) Creates an output limit clause with a when-expression and optional then-assignment expressions to be added.static UpdateClause
UpdateClause.create
(String eventType, Expression expression) Ctor.static View
View.create
(String name, Expression... parameters) Creates a view.static View
View.create
(String namespace, String name, Expression... parameters) Creates a view.static OnSetClause
OnClause.createOnSet
(Expression expression) Creates an on-set clause for setting variable values.static OnUpdateClause
OnClause.createOnUpdate
(String windowName, String asName, Expression expression) Creates an on-update clause for updating a named window.static OutputLimitClause
OutputLimitClause.createSchedule
(Expression[] scheduleParameters) Creates an output limit clause with a crontab 'at' schedule parameters, seeFrequencyParameter
and related.static ArithmaticExpression
Expressions.divide
(Expression left, Expression right) Division.static RelationalOpExpression
Expressions.eq
(Expression left, Expression right) Equals between expression results.static FirstProjectionExpression
Expressions.first
(Expression expression) First-value (in window) aggregation function.Expressions.firstEver
(Expression expression) First-value (ever) aggregation function.static RelationalOpExpression
Expressions.ge
(Expression left, Expression right) Greater-or-equals between expression results.static RelationalOpExpression
Expressions.gt
(Expression left, Expression right) Greater-then between expression results.static PatternGuardExpr
Patterns.guard
(String namespace, String name, Expression[] parameters, PatternExpr guarded) Guard pattern expression guards a sub-expression, equivalent to the "every MyEvent where timer:within(1 sec)" syntaxEPStatementObjectModel.havingClause
(Expression havingClause) Specify a having-clause.static InExpression
Expressions.in
(Expression value, Expression... set) In-expression that is equivalent to the syntax of "property in (value, value, ...CreateWindowClause.insertWhereClause
(Expression insertWhereClause) Sets the filter expression for inserting from another named windowstatic InstanceOfExpression
Expressions.instanceOf
(Expression expression, String typeName, String... typeNames) Instance-of function, tests if the type of the return value of an expression is in a list of types.static RelationalOpExpression
Expressions.isNotNull
(Expression expression) Not-null test.static RelationalOpExpression
Expressions.isNull
(Expression expression) Is-null test.static LastProjectionExpression
Expressions.last
(Expression expression) Lastever-value aggregation function.static LastEverProjectionExpression
Expressions.lastEver
(Expression expression) Lastever-value aggregation function.static RelationalOpExpression
Expressions.le
(Expression left, Expression right) Less-or-equal between expression results.static LikeExpression
Expressions.like
(Expression left, Expression right) SQL-Like.static LikeExpression
Expressions.like
(Expression left, Expression right, Expression escape) SQL-Like.static RelationalOpExpression
Expressions.lt
(Expression left, Expression right) Less-then between expression results.static PatternMatchUntilExpr
Patterns.matchUntil
(Expression low, Expression high, PatternExpr match, PatternExpr until) Match-until-pattern expression matches a certain number of occurances until a second expression becomes true.static MaxProjectionExpression
Expressions.max
(Expression expression) Maximum aggregation function.static MaxRowExpression
Expressions.max
(Expression exprOne, Expression exprTwo, Expression... moreExpressions) Maximum value per-row function (not aggregating).static MaxProjectionExpression
Expressions.maxDistinct
(Expression expression) Maximum aggregation function considering distinct values only.static MedianProjectionExpression
Expressions.median
(Expression expression) Median aggregation function.static MedianProjectionExpression
Expressions.medianDistinct
(Expression expression) Median aggregation function considering distinct values only.static MinProjectionExpression
Expressions.min
(Expression expression) Minimum aggregation function.static MinRowExpression
Expressions.min
(Expression exprOne, Expression exprTwo, Expression... moreExpressions) Minimum value per-row function (not aggregating).static MinProjectionExpression
Expressions.minDistinct
(Expression expression) Minimum aggregation function considering distinct values only.static ArithmaticExpression
Expressions.minus
(Expression left, Expression right) Subtraction.static ArithmaticExpression
Expressions.modulo
(Expression left, Expression right) Modulo.static ArithmaticExpression
Expressions.multiply
(Expression left, Expression right) Multiplication.static RelationalOpExpression
Expressions.neq
(Expression left, Expression right) Not-Equals between expression results.static NotExpression
Expressions.not
(Expression inner) Not expression negates the sub-expression to the not which is expected to return boolean-typed values.static InExpression
Expressions.notIn
(Expression value, Expression... set) Not-In-expression that is equivalent to the syntax of "property not in (value, value, ...static LikeExpression
Expressions.notLike
(Expression left, Expression right) SQL-Like negated (not like).static LikeExpression
Expressions.notLike
(Expression left, Expression right, Expression escape) SQL-Like negated (not like).static RegExpExpression
Expressions.notRegexp
(Expression left, Expression right) Regular expression negated (not regexp).static RegExpExpression
Expressions.notRegexp
(Expression left, Expression right, String escape) Regular expression negated (not regexp).static PatternObserverExpr
Patterns.observer
(String namespace, String name, Expression[] parameters) Observer pattern expression, equivalent to the "every timer:interval(1 sec)" syntaxstatic Disjunction
Expressions.or
(Expression first, Expression second, Expression... expressions) Logical OR disjunction.static PlugInProjectionExpression
Expressions.plugInAggregation
(String functionName, Expression... moreExpressions) Plug-in aggregation function.static ArithmaticExpression
Expressions.plus
(Expression left, Expression right) Addition.static PreviousExpression
Expressions.previous
(Expression expression, String property) Previous function.static PreviousExpression
Expressions.previousTail
(Expression expression, String property) Previous tail function.static BetweenExpression
Expressions.range
(Expression datapoint, Expression lowBoundary, Expression highBoundary, boolean isLowIncluded, boolean isHighIncluded) Between (or range).static RegExpExpression
Expressions.regexp
(Expression left, Expression right) Regular expression.static RegExpExpression
Expressions.regexp
(Expression left, Expression right, String escape) Regular expression.void
OutputLimitClause.setAfterTimePeriodExpression
(Expression afterTimePeriodExpression) Sets the after-keyword time period.void
OutputLimitClause.setAndAfterTerminateAndExpr
(Expression andAfterTerminateAndExpr) Sets an optional expression evaluated when a context partition terminates before triggering output.void
OutputLimitClause.setCrontabAtParameters
(Expression[] crontabAtParameters) Crontab.CaseSwitchExpression.setElse
(Expression elseExpr) Sets the else-part of the case-switch.CaseWhenThenExpression.setElse
(Expression elseExpr) Sets the expression to provide a value when no when-condition matches.void
InsertIntoClause.setEventPrecedence
(Expression eventPrecedence) Set to null when no event-precedence is specified for the insert-into, or set an expression returning the event-precedencevoid
OnMergeMatchedInsertAction.setEventPrecedence
(Expression eventPrecedence) Set to null when no event-precedence is specified for the insert-into, or set an expression returning the event-precedencevoid
ContextDescriptorCategoryItem.setExpression
(Expression expression) Sets the category expression.void
ExpressionDeclaration.setExpression
(Expression expression) Sets the expression body.void
GroupByClauseExpressionSingle.setExpression
(Expression expression) Sets the expression.void
MatchRecognizeDefine.setExpression
(Expression expression) Sets the expression.void
MatchRecognizeIntervalClause.setExpression
(Expression expression) Sets the interval expression.void
OrderByElement.setExpression
(Expression expression) Sets the order-by value expression.void
SelectClauseExpression.setExpression
(Expression expression) Sets the selection expression.void
Filter.setFilter
(Expression filter) Sets the optional filter expression that tests the event, or null if no filter expression is needed.void
ContextDescriptorHashSegmentedItem.setHashFunction
(Expression hashFunction) Set the hash function (SingleRowMethodExpression)void
EPStatementObjectModel.setHavingClause
(Expression havingClause) Specify a having-clause.void
MatchRecognizeRegExRepeat.setHigh
(Expression high) Sets the high endpoint.void
PatternMatchUntilExpr.setHigh
(Expression high) Sets the optional high endpoint for the repeat, or null if none supplied.void
CreateWindowClause.setInsertWhereClause
(Expression insertWhereClause) Sets the filter expression for inserting from another named windowvoid
OuterJoinQualifier.setLeft
(Expression left) Sets the property value expression to join on.void
PropertyValueExpressionPair.setLeft
(Expression left) Sets left expr.void
MatchRecognizeRegExRepeat.setLow
(Expression low) Sets the low endpoint.void
PatternMatchUntilExpr.setLow
(Expression low) Sets the optional low endpoint for the repeat, or null if none supplied.void
CreateVariableClause.setOptionalAssignment
(Expression optionalAssignment) Sets the optional assignment expression, or null to initialize to a null valuevoid
OnMergeMatchItem.setOptionalCondition
(Expression optionalCondition) Sets the condition to apply or null if none is provided.void
CreateTableColumn.setOptionalExpression
(Expression optionalExpression) Sets the aggragtion expression, if the type of the column is aggregation, or null if a type name is provided instead.void
UpdateClause.setOptionalWhereClause
(Expression optionalWhereClause) Sets the where-clause if any.void
OuterJoinQualifier.setRight
(Expression right) Sets the property value expression to join on.void
PropertyValueExpressionPair.setRight
(Expression right) Sets right side.void
MatchRecognizeRegExRepeat.setSingle
(Expression single) Sets the exact-num-matches endpoint.void
PatternMatchUntilExpr.setSingle
(Expression single) Sets the single-bound expression.void
ContainedEventSelect.setSplitExpression
(Expression splitExpression) Sets the expression that returns the contained events.void
ContextDescriptorConditionTimePeriod.setTimePeriod
(Expression timePeriod) Sets the time period expressionvoid
OutputLimitClause.setTimePeriodExpression
(Expression timePeriodExpression) Crontabvoid
Assignment.setValue
(Expression value) Sets expression to eval.void
OutputLimitClause.setWhenExpression
(Expression whenExpression) Set when.void
ContainedEventSelect.setWhereClause
(Expression whereClause) Sets the where clause.void
EPStatementObjectModel.setWhereClause
(Expression whereClause) Specify a where-clause.void
OnInsertSplitStreamItem.setWhereClause
(Expression whereClause) Sets the optional where-clausevoid
OnMergeMatchedDeleteAction.setWhereClause
(Expression whereClause) Sets the action condition, or null if undefined.void
OnMergeMatchedInsertAction.setWhereClause
(Expression whereClause) Sets the action condition, or null if undefined.void
OnMergeMatchedUpdateAction.setWhereClause
(Expression whereClause) Sets the action condition, or null if undefined.static StaticMethodExpression
Expressions.staticMethod
(String className, String method, Expression... parameters) Static method invocation.static StddevProjectionExpression
Expressions.stddev
(Expression expression) Standard deviation aggregation function.static StddevProjectionExpression
Expressions.stddevDistinct
(Expression expression) Standard deviation function considering distinct values only.static SubqueryInExpression
Expressions.subqueryIn
(Expression expression, EPStatementObjectModel model) Subquery with in-clause, represents the syntax of "value in (select ...static SubqueryInExpression
Expressions.subqueryNotIn
(Expression expression, EPStatementObjectModel model) Subquery with not-in-clause, represents the syntax of "value not in (select ...static SumProjectionExpression
Expressions.sum
(Expression expression) Sum aggregation function.static SumProjectionExpression
Expressions.sumDistinct
(Expression expression) Sum aggregation function considering distinct values only.void
OnMergeClause.toEPL
(StringWriter writer, Expression optionalWhereClause, EPStatementFormatter formatter) Renders the clause in textual representation.static TypeOfExpression
Expressions.typeOf
(Expression expression) Type-of function, returns the event type name or result type as a string of a stream name, property or expression.EPStatementObjectModel.whereClause
(Expression whereClause) Specify a where-clause.static PatternGuardExpr
Patterns.whileGuard
(PatternExpr guarded, Expression expression) While-guard expression.Modifier and TypeMethodDescriptionvoid
DotExpression.add
(String methodName, List<Expression> parameters) Add a method to the chain of methods after the dot.void
DotExpression.add
(String name, List<Expression> parameters, boolean isProperty) Add a method to the chain of methods after the dot, indicating the this segment is a property and does not need parenthesis and won't have paramaters.CreateWindowClause.addView
(String namespace, String name, List<Expression> parameters) Adds a parameterized view to the named window.CreateWindowClause.addView
(String name, List<Expression> parameters) Adds a parameterized view to the named window.ProjectedStream.addView
(String namespace, String name, List<Expression> parameters) Adds a parameterized view to the stream.static View
View.create
(String namespace, String name, List<Expression> parameters) Creates a view.static View
View.create
(String name, List<Expression> parameters) Creates a view.protected static void
ExpressionBase.renderAggregation
(StringWriter writer, String name, boolean distinct, List<Expression> children) Render an aggregation function with distinct and parameter expressionsvoid
Expression.setChildren
(List<Expression> children) Sets the list of sub-expressions (child expressions) to the current expression node.void
ExpressionBase.setChildren
(List<Expression> children) void
CreateIndexColumn.setColumns
(List<Expression> columns) Sets index column expressionsvoid
ContextDescriptorConditionCrontab.setCrontabExpressions
(List<List<Expression>> crontabExpressions) Sets the crontab expressions.void
ForClauseItem.setExpressions
(List<Expression> expressions) Sets for-clause expressions.void
GroupByClauseExpressionCombination.setExpressions
(List<Expression> expressions) Sets the combined expressions.void
PatternEveryDistinctExpr.setExpressions
(List<Expression> expressions) Sets distinct expressions.void
DotExpressionItemArray.setIndexes
(List<Expression> indexes) Sets array index expressionsvoid
TableAccessExpression.setKeyExpressions
(List<Expression> keyExpressions) Sets the primary key expressions.void
ContextDescriptorInitiatedTerminated.setOptionalDistinctExpressions
(List<Expression> optionalDistinctExpressions) Sets the list of expressions providing distinct keys, if anyvoid
PatternFollowedByExpr.setOptionalMaxPerSubexpression
(List<Expression> optionalMaxPerSubexpression) Sets the instance limits, if any, for pattern-subexpressions.void
MethodInvocationStream.setParameterExpressions
(List<Expression> parameterExpressions) Sets a list of expressions that are parameters to the method.void
CreateIndexColumn.setParameters
(List<Expression> parameters) Sets index parametersvoid
DotExpressionItemCall.setParameters
(List<Expression> parameters) Sets method parameters or parameters for mapped properties or empty list if this item represents a simple nested property.void
EPBaseNamedObject.setParameters
(List<Expression> parameters) Sets the parameters for the object.void
MatchRecognizeClause.setPartitionExpressions
(List<Expression> partitionExpressions) Set partition expressions.void
FireAndForgetInsert.setRows
(List<List<Expression>> rows) Sets the rows.protected static void
ExpressionBase.toPrecedenceFreeEPL
(String functionName, List<Expression> children, StringWriter writer) Renders child expression of a function in a comma-separated list.static void
ExpressionBase.toPrecedenceFreeEPL
(List<Expression> children, StringWriter writer) Render expression listModifierConstructorDescriptionAccessProjectionExpressionBase
(Expression expression) Ctor.ArithmaticExpression
(Expression left, String operator, Expression right) Ctor.Assignment
(Expression value) Ctor.AvedevProjectionExpression
(Expression expression, boolean isDistinct) Ctor - adds the expression to project.AvgProjectionExpression
(Expression expression, boolean isDistinct) Ctor - adds the expression to project.BetweenExpression
(Expression datapoint, Expression lower, Expression higher) Ctor, creates a between range check.BetweenExpression
(Expression datapoint, Expression lower, Expression higher, boolean lowEndpointIncluded, boolean highEndpointIncluded, boolean notBetween) Ctor.CaseSwitchExpression
(Expression switchValue) Ctor.CastExpression
(Expression expressionToCheck, String typeName) Ctor.CoalesceExpression
(Expression exprOne, Expression exprTwo, Expression... moreExpressions) Ctor.Conjunction
(Expression first, Expression second, Expression... expressions) Ctor.ContainedEventSelect
(Expression splitExpression) Ctor.ContextDescriptorCategoryItem
(Expression expression, String label) Ctor.ContextDescriptorConditionTimePeriod
(Expression timePeriod, boolean now) Ctor.ContextDescriptorHashSegmentedItem
(Expression hashFunction, Filter filter) Ctor.CountEverProjectionExpression
(Expression expression, boolean isDistinct) Ctor.CountProjectionExpression
(Expression expression, boolean isDistinct) Ctor - adds the expression to project.CreateTableColumn
(String columnName, Expression optionalExpression, String optionalTypeName, List<AnnotationPart> annotations, Boolean primaryKey) Ctor.CreateVariableClause
(String variableType, String variableName, Expression optionalAssignment, boolean constant) Ctor.CrontabFrequencyExpression
(Expression numericParameter) Ctor.CrontabRangeExpression
(Expression lowerBounds, Expression upperBounds) Ctor.Disjunction
(Expression first, Expression second, Expression... expressions) Ctor.DotExpression
(Expression innerExpression) Ctor.ExpressionDeclaration
(String name, List<String> parameterNames, Expression expression, boolean alias) Ctor.Filter
(String eventTypeName, Expression filter) Ctor.FirstEverProjectionExpression
(Expression expression, boolean isDistinct) Ctor.FirstProjectionExpression
(Expression expression) Ctor.GroupByClause
(Expression... expressions) Ctor.GroupByClauseExpressionSingle
(Expression expression) Ctor.InExpression
(Expression value, boolean isNotIn, Expression[] parameters) Ctor.InExpression
(Expression value, boolean isNotIn, Object... parameters) Ctor - for use to create an expression tree, without child expression.InsertIntoClause
(String streamName, List<String> columnNames, StreamSelector streamSelector, Expression eventPrecedence) Ctor.InstanceOfExpression
(Expression expressionToCheck, String typeName, String... moreTypes) Ctor.LastEverProjectionExpression
(Expression expression, boolean isDistinct) Ctor.LastProjectionExpression
(Expression expression) Ctor.LikeExpression
(Expression left, Expression right) Ctor.LikeExpression
(Expression left, Expression right, boolean isNot) Ctor.LikeExpression
(Expression left, Expression right, Expression escape) Ctor.LikeExpression
(Expression left, Expression right, Expression escape, boolean isNot) Ctor.MatchRecognizeDefine
(String name, Expression expression) Ctor.MatchRecognizeRegExRepeat
(Expression low, Expression high, Expression single) Ctor.MaxProjectionExpression
(Expression expression, boolean isDistinct) Ctor - adds the expression to project.MaxRowExpression
(Expression exprOne, Expression exprTwo, Expression... moreExpressions) Ctor.MedianProjectionExpression
(Expression expression, boolean isDistinct) Ctor - adds the expression to project.MinProjectionExpression
(Expression expression, boolean isDistinct) Ctor - adds the expression to project.MinRowExpression
(Expression exprOne, Expression exprTwo, Expression... moreExpressions) Ctor.NotExpression
(Expression inner) Ctor.OnInsertSplitStreamItem
(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause) Ctor.OnInsertSplitStreamItem
(InsertIntoClause insertInto, SelectClause selectClause, List<ContainedEventSelect> propertySelects, String propertySelectsStreamName, Expression whereClause) Ctor.OnMergeMatchedDeleteAction
(Expression whereClause) Ctor.OnMergeMatchedInsertAction
(List<String> columnNames, Expression eventPrecedence, List<SelectClauseElement> selectList, Expression whereClause, String optionalStreamName) Ctor.OnMergeMatchedInsertAction
(List<String> columnNames, List<SelectClauseElement> selectList, Expression whereClause, String optionalStreamName) Ctor.OnMergeMatchedUpdateAction
(List<Assignment> assignments, Expression whereClause) Ctor.OnMergeMatchItem
(boolean matched, Expression optionalCondition, List<OnMergeMatchedAction> actions) Ctor.OrderByClause
(Expression... expressions) Ctor.OrderByElement
(Expression expression, boolean descending) Ctor.OutputLimitClause
(OutputLimitSelector selector, Expression[] crontabAtParameters) Ctor.OutputLimitClause
(OutputLimitSelector selector, Expression whenExpression, List<Assignment> thenAssignments) Ctor.PatternGuardExpr
(String namespace, String name, Expression[] parameters, PatternExpr guarded) Ctor - for use to create a pattern expression tree, without pattern child expression.PatternMatchUntilExpr
(Expression single) Ctor.PatternMatchUntilExpr
(Expression low, Expression high, Expression single) Ctor - for use when adding required child nodes later.PatternMatchUntilExpr
(Expression low, Expression high, PatternExpr match, PatternExpr until) Ctor.PatternObserverExpr
(String namespace, String name, Expression[] parameters) Ctor - for use to create a pattern expression tree, without pattern child expression.PlugInProjectionExpression
(String functionName, boolean isDistinct, Expression... moreExpressions) Ctor.PreviousExpression
(Expression expression, String propertyName) Ctor.PreviousExpression
(PreviousExpressionType type, Expression expression) Ctor.RegExpExpression
(Expression left, Expression right) Ctor.RegExpExpression
(Expression left, Expression right, boolean isNot) Ctor.RegExpExpression
(Expression left, Expression right, Expression escape) Ctor.RegExpExpression
(Expression left, Expression right, Expression escape, boolean isNot) Ctor.RelationalOpExpression
(Expression left, String operator, Expression right) Ctor.SelectClauseExpression
(Expression expression) Ctor.SelectClauseExpression
(Expression expression, String optionalAsName) Ctor.StddevProjectionExpression
(Expression expression, boolean isDistinct) Ctor - adds the expression to project.SubqueryInExpression
(Expression expression, EPStatementObjectModel model, boolean isNotIn) Ctor - for use to create an expression tree, without child expression.SumProjectionExpression
(Expression expression, boolean isDistinct) Ctor - adds the expression to project.TimePeriodExpression
(Expression daysExpr, Expression hoursExpr, Expression minutesExpr, Expression secondsExpr, Expression millisecondsExpr) Ctor.TimePeriodExpression
(Expression yearsExpr, Expression monthsExpr, Expression weeksExpr, Expression daysExpr, Expression hoursExpr, Expression minutesExpr, Expression secondsExpr, Expression millisecondsExpr) Ctor.TimePeriodExpression
(Expression yearsExpr, Expression monthsExpr, Expression weeksExpr, Expression daysExpr, Expression hoursExpr, Expression minutesExpr, Expression secondsExpr, Expression millisecondsExpr, Expression microsecondsExpr) Ctor.TypeOfExpression
(Expression expression) Ctor.WindowProjectionExpression
(Expression expression) Ctor.ModifierConstructorDescriptionContextDescriptorConditionCrontab
(List<List<Expression>> crontabExpressions, boolean now) Ctor.ContextDescriptorInitiatedTerminated
(ContextDescriptorCondition startCondition, ContextDescriptorCondition endCondition, boolean overlapping, List<Expression> optionalDistinctExpressions) Ctor.CreateIndexColumn
(List<Expression> columns, String type, List<Expression> parameters) CtorDotExpressionItemArray
(List<Expression> indexes) Ctor.DotExpressionItemCall
(String name, List<Expression> parameters) Ctor.EPBaseNamedObject
(String namespace, String name, List<Expression> parameters) Ctor.GroupByClauseExpressionCombination
(List<Expression> expressions) Ctor.PatternEveryDistinctExpr
(List<Expression> expressions) Ctor - for use to create a pattern expression tree, without unique-criterial expression.PatternFollowedByExpr
(List<Expression> optionalMaxPerSubexpression) Ctor.PatternGuardExpr
(String namespace, String name, List<Expression> parameters) Ctor - for use to create a pattern expression tree, without pattern child expression.PatternGuardExpr
(String namespace, String name, List<Expression> parameters, PatternExpr guardedPattern) Ctor - for use to create a pattern expression tree, without pattern child expression.PatternObserverExpr
(String namespace, String name, List<Expression> parameters) Ctor - for use to create a pattern expression tree, without pattern child expression.TableAccessExpression
(String tableName, List<Expression> keyExpressions, String optionalColumn) Ctor.View
(String namespace, String name, List<Expression> parameters) Creates a view. -
Uses of Expression in com.espertech.esper.common.internal.compile.stage1.spec
Modifier and TypeMethodDescriptionvoid
ExpressionDeclItem.setOptionalSoda
(Expression optionalSoda) ModifierConstructorDescriptionExpressionDeclItem
(String name, String[] parametersNames, boolean alias, Expression optionalSoda, Supplier<byte[]> optionalSodaBytes, String moduleName, NameAccessModifier visibility) -
Uses of Expression in com.espertech.esper.common.internal.compile.stage1.specmapper
Modifier and TypeMethodDescriptionstatic ExprNode
StatementSpecMapper.mapExpression
(Expression expression, StatementSpecMapContext env)