|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expression | |
---|---|
net.esper.client.soda | This package defines the Esper statement object model. |
net.esper.eql.spec | Contains EQL statement specification classes define the constructs that make up an EQL statement, such as the list of items in the select clause, the insert-into stream name and property names etc. |
Uses of Expression in net.esper.client.soda |
---|
Classes in net.esper.client.soda that implement Expression | |
---|---|
class |
ArithmaticExpression
Arithmatic expression for addition, subtraction, multiplication, division and modulo. |
class |
ArrayExpression
Array expression forms array results, similar to the EQL syntax of "{element 1, element 2, ... |
class |
AvedevProjectionExpression
Mean deviation of the (distinct) values returned by an expression. |
class |
AvgProjectionExpression
Average of the (distinct) values returned by an expression. |
class |
BetweenExpression
Between checks that a given value is in a range between a low endpoint and a high endpoint. |
class |
BitwiseOpExpression
Bitwise (binary) operator for binary AND, binary OR and binary XOR. |
class |
CaseSwitchExpression
Case-expression that acts as a switch testing a value against other values. |
class |
CaseWhenThenExpression
Case expression that act as a when-then-else. |
class |
CastExpression
Cast expression casts the return value of an expression to a specified type. |
class |
CoalesceExpression
Coalesce-function which returns the first non-null value in a list of values. |
class |
ConcatExpression
Concatenation expression that concatenates the result of child expressions to the expression. |
class |
Conjunction
Conjunction represents a logical AND allowing multiple sub-expressions to be connected by AND. |
class |
ConstantExpression
Constant value returns a fixed value for use in expressions. |
class |
CountProjectionExpression
Count of the (distinct) values returned by an expression, equivalent to "count(distinct property)" |
class |
CountStarProjectionExpression
Count of (distinct) rows, equivalent to "count(*)" |
class |
CurrentTimestampExpression
Current timestamp supplies the current engine time in an expression. |
class |
Disjunction
Disjunction represents a logical OR allowing multiple sub-expressions to be connected by OR. |
class |
ExpressionBase
Base expression. |
class |
InExpression
In-expresson checks that a value is in (or not in) a set of values, equivalent to the syntax "color in ('red', 'blue')". |
class |
InstanceOfExpression
Instance-of expression checks if an expression returns a certain type. |
class |
Junction
Base junction for conjunction (and) and disjunction (or). |
class |
LikeExpression
SQL-Like expression for matching '%' and '_' wildcard strings following SQL standards. |
class |
MaxProjectionExpression
Maximum of the (distinct) values returned by an expression. |
class |
MaxRowExpression
Maximum-value per-row expression (not aggregating) determines the maximum value among a set of values. |
class |
MedianProjectionExpression
Median projection (aggregation) in the distinct and regular form. |
class |
MinProjectionExpression
Minimum of the (distinct) values returned by an expression. |
class |
MinRowExpression
Minimum-value per-row expression (not aggregating) determines the minimum value among a set of values. |
class |
NotExpression
Negates the contained-within subexpression. |
class |
PlugInProjectionExpression
Represents a plug-in aggregation function. |
class |
PreviousExpression
Previous function for obtaining property values of previous events. |
class |
PriorExpression
Expression representing the prior function. |
class |
PropertyExistsExpression
Property-exists checks if a dynamic property exists. |
class |
PropertyValueExpression
Expression returning a property value. |
class |
RegExpExpression
Regular expression evaluates a "regexp" regular expression. |
class |
RelationalOpExpression
Comparison using one of the relational operators (=, !=, <, <=, >, >=). |
class |
StaticMethodExpression
Static method call consists of a class name and method name. |
class |
StddevProjectionExpression
Standard deviation of the (distinct) values returned by an expression. |
class |
SubqueryExistsExpression
Exists-expression for a set of values returned by a lookup. |
class |
SubqueryExpression
Subquery-expression returns values returned by a lookup modelled by a further EPStatementObjectModel . |
class |
SubqueryInExpression
In-expression for a set of values returned by a lookup. |
class |
SumProjectionExpression
Sum of the (distinct) values returned by an expression. |
Methods in net.esper.client.soda that return Expression | |
---|---|
Expression |
SelectClauseElement.getExpression()
Returns the selection expression. |
Expression |
OrderByElement.getExpression()
Returns the order-by value expression. |
Expression |
Filter.getFilter()
Returns the optional filter expression that tests the event, or null if no filter expression was defined. |
Expression |
EPStatementObjectModel.getHavingClause()
Return the having-clause, or null to indicate that the clause is absent. |
Expression |
CreateVariableClause.getOptionalAssignment()
Returns the optional assignment expression, or null to initialize to a null value |
Expression |
EPStatementObjectModel.getWhereClause()
Return the where-clause, or null to indicate that the clause is absent. |
Methods in net.esper.client.soda that return types with arguments of type Expression | |
---|---|
List<Pair<String,Expression>> |
OnSetClause.getAssignments()
Returns the list of variable assignments. |
List<Expression> |
ExpressionBase.getChildren()
Returns the list of sub-expressions to the current expression. |
List<Expression> |
Expression.getChildren()
Returns the list of sub-expressions (child expressions) to the current expression node. |
List<Expression> |
GroupByClause.getGroupByExpressions()
Returns the expressions providing the grouped-by values. |
List<Expression> |
MethodInvocationStream.getParameterExpressions()
Returns a list of expressions that are parameters to the method. |
Methods in net.esper.client.soda with parameters of type Expression | |
---|---|
SelectClause |
SelectClause.add(Expression expression)
Adds an expression to the select clause. |
MinRowExpression |
MinRowExpression.add(Expression expression)
Add an expression to include in the computation. |
MaxRowExpression |
MaxRowExpression.add(Expression expression)
Add an expression to include in the computation. |
Junction |
Junction.add(Expression expression)
Expression to add to the conjunction (AND) or disjunction (OR). |
InExpression |
InExpression.add(Expression expression)
Add an expression to include in the computation. |
ConcatExpression |
ConcatExpression.add(Expression expression)
Add an expression to include in the computation. |
CoalesceExpression |
CoalesceExpression.add(Expression expression)
Add an expression to include in the computation. |
BitwiseOpExpression |
BitwiseOpExpression.add(Expression expression)
Add an expression to the expression. |
ArrayExpression |
ArrayExpression.add(Expression expression)
Add an expression representing an array element to the expression. |
ArithmaticExpression |
ArithmaticExpression.add(Expression expression)
Add an expression to include in the computation. |
OrderByClause |
OrderByClause.add(Expression expression,
boolean isDescending)
Adds an expression and flag. |
CaseWhenThenExpression |
CaseWhenThenExpression.add(Expression when,
Expression then)
Adds a when-then pair of expressions. |
CaseSwitchExpression |
CaseSwitchExpression.add(Expression when,
Expression then)
Adds a pair of expressions representing a "when" and a "then" in the switch. |
SelectClause |
SelectClause.add(Expression expression,
String asName)
Adds an expression to the select clause and an "as"-asName for the column. |
OnSetClause |
OnSetClause.addAssignment(String variable,
Expression expression)
Adds a variable to set to the clause. |
protected void |
ExpressionBase.addChild(Expression expression)
Adds a new child expression to the current expression. |
MethodInvocationStream |
MethodInvocationStream.addParameter(Expression parameterExpression)
Adds a parameters to the method invocation. |
static Conjunction |
Expressions.and(Expression first,
Expression second,
Expression... expressions)
Logical AND conjunction. |
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 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 OrderByClause |
OrderByClause.create(Expression... expressions)
Create an order-by clause. |
static GroupByClause |
GroupByClause.create(Expression... expressions)
Creates a group-by clause from expressions. |
static OnSetClause |
OnSetClause.create(String variableName,
Expression expression)
Creates a new on-set clause for setting variables, and adds a variable to set. |
static FilterStream |
FilterStream.create(String eventTypeAlias,
Expression filter)
Creates a stream of events of the given event type name and names that stream. |
static Filter |
Filter.create(String eventTypeAlias,
Expression filter)
Creates a filter to the given named event type and filter expression. |
static CreateVariableClause |
CreateVariableClause.create(String variableType,
String variableName,
Expression expression)
Creates a create-variable syntax for declaring a variable. |
static OnSetClause |
OnClause.createOnSet(String variableName,
Expression expression)
Creates an on-set clause for setting variable values. |
static ArithmaticExpression |
Expressions.divide(Expression left,
Expression right)
Division. |
static RelationalOpExpression |
Expressions.eq(Expression left,
Expression right)
Equals between expression results. |
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 InExpression |
Expressions.in(Expression value,
Expression... set)
In-expression that is equivalent to the syntax of "property in (value, value, ... |
static InExpression |
Expressions.in(Expression value,
Expression... set)
In-expression that is equivalent to the syntax of "property in (value, value, ... |
static 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.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 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 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 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 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 InExpression |
Expressions.notIn(Expression value,
Expression... set)
Not-In-expression that is equivalent to the syntax of "property not in (value, value, ... |
static Disjunction |
Expressions.or(Expression first,
Expression second,
Expression... expressions)
Logical OR disjunction. |
static Disjunction |
Expressions.or(Expression first,
Expression second,
Expression... expressions)
Logical OR disjunction. |
static PlugInProjectionExpression |
Expressions.plugInAggregation(String functionName,
Expression parameter)
Plug-in aggregation function. |
static ArithmaticExpression |
Expressions.plus(Expression left,
Expression right)
Addition. |
static PreviousExpression |
Expressions.previous(Expression expression,
String property)
Previous 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. |
CaseWhenThenExpression |
CaseWhenThenExpression.setElse(Expression elseExpr)
Sets the expression to provide a value when no when-condition matches. |
CaseSwitchExpression |
CaseSwitchExpression.setElse(Expression elseExpr)
Sets the else-part of the case-switch. |
void |
SelectClauseElement.setExpression(Expression expression)
Sets the selection expression. |
void |
OrderByElement.setExpression(Expression expression)
Sets the order-by value expression. |
void |
Filter.setFilter(Expression filter)
Sets the optional filter expression that tests the event, or null if no filter expression is needed. |
EPStatementObjectModel |
EPStatementObjectModel.setHavingClause(Expression havingClause)
Specify a having-clause. |
void |
CreateVariableClause.setOptionalAssignment(Expression optionalAssignment)
Sets the optional assignment expression, or null to initialize to a null value |
EPStatementObjectModel |
EPStatementObjectModel.setWhereClause(Expression whereClause)
Specify a where-clause. |
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. |
Method parameters in net.esper.client.soda with type arguments of type Expression | |
---|---|
void |
OnSetClause.setAssignments(List<Pair<String,Expression>> assignments)
Sets a list of variable assignments. |
void |
GroupByClause.setGroupByExpressions(List<Expression> groupByExpressions)
Sets the expressions providing the grouped-by values. |
void |
MethodInvocationStream.setParameterExpressions(List<Expression> parameterExpressions)
Sets a list of expressions that are parameters to the method. |
Constructors in net.esper.client.soda with parameters of type Expression | |
---|---|
ArithmaticExpression(Expression left,
String operator,
Expression right)
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. |
|
CoalesceExpression(Expression exprOne,
Expression exprTwo,
Expression... moreExpressions)
Ctor. |
|
Conjunction(Expression first,
Expression second,
Expression... expressions)
Ctor. |
|
Conjunction(Expression first,
Expression second,
Expression... expressions)
Ctor. |
|
CountProjectionExpression(Expression expression,
boolean isDistinct)
Ctor - adds the expression to project. |
|
CreateVariableClause(String variableType,
String variableName,
Expression optionalAssignment)
Ctor. |
|
Disjunction(Expression first,
Expression second,
Expression... expressions)
Ctor. |
|
Disjunction(Expression first,
Expression second,
Expression... expressions)
Ctor. |
|
Filter(String eventTypeAlias,
Expression filter)
Ctor. |
|
GroupByClause(Expression... expressions)
Ctor. |
|
InExpression(Expression value,
boolean isNotIn,
Object... parameters)
Ctor - for use to create an expression tree, without child expression. |
|
InstanceOfExpression(Expression expressionToCheck,
String typeName,
String... moreTypes)
Ctor. |
|
LikeExpression(Expression left,
Expression right)
Ctor. |
|
LikeExpression(Expression left,
Expression right,
Expression escape)
Ctor. |
|
MaxProjectionExpression(Expression expression,
boolean isDistinct)
Ctor - adds the expression to project. |
|
MaxRowExpression(Expression exprOne,
Expression exprTwo,
Expression... moreExpressions)
Ctor. |
|
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. |
|
MinRowExpression(Expression exprOne,
Expression exprTwo,
Expression... moreExpressions)
Ctor. |
|
NotExpression(Expression inner)
Ctor. |
|
OrderByClause(Expression... expressions)
Ctor. |
|
OrderByElement(Expression expression,
boolean descending)
Ctor. |
|
PlugInProjectionExpression(String functionName,
boolean isDistinct,
Expression expression)
Ctor. |
|
PreviousExpression(Expression expression,
String propertyName)
Ctor. |
|
RegExpExpression(Expression left,
Expression right)
Ctor. |
|
RegExpExpression(Expression left,
Expression right,
Expression escape)
Ctor. |
|
RelationalOpExpression(Expression left,
String operator,
Expression right)
Ctor. |
|
SelectClauseElement(Expression expression)
Ctor. |
|
SelectClauseElement(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. |
Uses of Expression in net.esper.eql.spec |
---|
Classes in net.esper.eql.spec that implement Expression | |
---|---|
class |
SubstitutionParameterExpression
Substitution parameter that represents a node in an expression tree for which to supply a parameter value before statement creation time. |
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV NEXT | FRAMES NO FRAMES |