Uses of Interface
net.pricefx.formulaengine.scripting.queryapi.Expression
Packages that use Expression
-
Uses of Expression in net.pricefx.formulaengine.scripting.queryapi
Subinterfaces of Expression in net.pricefx.formulaengine.scripting.queryapiModifier and TypeInterfaceDescriptioninterface
An object which represents a QueryApiExpression
and which can be part of the output or input of aPipelineStage
as it is alsoSelectable
Methods in net.pricefx.formulaengine.scripting.queryapi that return ExpressionModifier and TypeMethodDescriptionBuilds an expression computing the absolute value of the given value.Exprs.abs
(BigDecimal e) Builds an expression computing the absolute value of the given value.Exprs.abs
(Expression e) Builds an expression computing the absolute value of the given value.Exprs.and
(Expression... exprs) Builds the logical conjunction of the given expressions.Exprs.avg
(Expression e) Builds an expression computing the value of the aggregated average of a given expression.Builds a literal boolean expression.Exprs.caseWhen
(Expression condition, Expression thenExpr, Expression elseExpr) Builds a conditional CASE WHEN expression.Expression.castAsBoolean()
Builds an expression that cast this expression to a boolean value.Expression.castAsDateOnly()
Builds an expression that cast this expression to a date only value.Expression.castAsDateTime()
Builds an expression that cast this expression to a datetime value.Expression.castAsInteger()
Builds an expression that cast this expression to an integer value.Expression.castAsReal()
Builds an expression that cast this expression to a real number value.Expression.castAsString()
Builds an expression that cast this expression to a string value.Exprs.coalesce
(Expression... exprs) Builds an expression that will return the value of the first non-null resulting given expression.Builds an expression that concatenates this expression to a given value.Expression.concat
(Expression e) Builds an expression that concatenates this expression to a given value.Exprs.count()
Builds an expression computing the number of aggregated rows.Exprs.count
(Expression e) Builds an expression computing the number of aggregated non-null values of the given expression.Builds a literal date expression from aDate
object ignoring all time related values.Builds a literal datetime expression from aDate
object.Exprs.dateTime
(DateTime dateTime) Builds a literal datetime expression from aDateTime
object.Builds an expression that computes the value of this expression divided by the given value.Expression.div
(Expression e) Builds an expression that computes the value of this expression divided by the given value.Builds an expression evaluating if this expression is equal to the given boolean.Builds an expression evaluating if this expression is equal to the given number.Builds an expression evaluating if this expression is equal to the given String.Builds an expression evaluating if this expression is equal to the given date object.Builds an expression evaluating if this expression is equal to the given datetime object.Expression.equal
(Expression e) Builds an expression evaluating if this expression is equal to the given expression.Expression.equal
(DateTime datetime) Builds an expression evaluating if this expression is equal to the given datetime object.Expression.equalNullAware
(Boolean e) Builds an expression evaluating if this expression is equal to the given boolean.Expression.equalNullAware
(Number e) Builds an expression evaluating if this expression is equal to the given number.Expression.equalNullAware
(String e) Builds an expression evaluating if this expression is equal to the given String.Expression.equalNullAware
(LocalDate dateWithoutTime) Builds an expression evaluating if this expression is equal to the given date object.Expression.equalNullAware
(Date datetime) Builds an expression evaluating if this expression is equal to the given datetime object.Expression.equalNullAware
(Expression e) Builds an expression evaluating if this expression is equal to the given expression.Expression.equalNullAware
(DateTime datetime) Builds an expression evaluating if this expression is equal to the given datetime object.Builds an expression computing the value of the exponential function applied to the given value.Exprs.exp
(BigDecimal e) Builds an expression computing the value of the exponential function applied to the given value.Exprs.exp
(Expression e) Builds an expression computing the value of the exponential function applied to the given value.Expression.greaterOrEqual
(Number e) Builds an expression evaluating if this expression is greater than or equal to the given number.Expression.greaterOrEqual
(LocalDate dateWithoutTime) Builds an expression evaluating if this expression is greater than or equal to the given date object.Expression.greaterOrEqual
(Date datetime) Builds an expression evaluating if this expression is greater than or equal to the given datetime object.Expression.greaterOrEqual
(Expression e) Builds an expression evaluating if this expression is greater than or equal to the given expression.Expression.greaterOrEqual
(DateTime datetime) Builds an expression evaluating if this expression is greater than or equal to the given datetime object.Expression.greaterThan
(Number e) Builds an expression evaluating if this expression is strictly greater than the given number.Expression.greaterThan
(LocalDate dateWithoutTime) Builds an expression evaluating if this expression is strictly greater than the given date object.Expression.greaterThan
(Date datetime) Builds an expression evaluating if this expression is strictly greater than the given datetime object.Expression.greaterThan
(Expression e) Builds an expression evaluating if this expression is strictly greater than the given expression.Expression.greaterThan
(DateTime datetime) Builds an expression evaluating if this expression is strictly greater than the given datetime object.Builds an expression evaluating if this expression is matching the standard SQLLIKE
pattern provided by the given value.Expression.ilike
(Expression e) Builds an expression evaluating if this expression is matching the standard SQLLIKE
pattern provided by the given value.Builds an expression evaluating if this expression is equal to any of the element of the given list.Builds a literal integer expression.Expression.isFalse()
Builds an expression evaluating if this expression is false.Expression.isNotNull()
Builds an expression evaluating if this expression is not null.Expression.isNull()
Builds an expression evaluating if this expression is null.Expression.isTrue()
Builds an expression evaluating if this expression is true.Expression.length()
Builds an expression that computes the lenght of this expression as a String.Expression.lessOrEqual
(Number e) Builds an expression evaluating if this expression is lower than or equal to the given number.Expression.lessOrEqual
(LocalDate dateWithoutTime) Builds an expression evaluating if this expression is lower than or equal to the given date object.Expression.lessOrEqual
(Date datetime) Builds an expression evaluating if this expression is lower than or equal to the given datetime object.Expression.lessOrEqual
(Expression e) Builds an expression evaluating if this expression is lower than or equal to the given expression.Expression.lessOrEqual
(DateTime datetime) Builds an expression evaluating if this expression is lower than or equal to the given datetime object.Builds an expression evaluating if this expression is strictly lower than the given number.Builds an expression evaluating if this expression is strictly lower than the given date object.Builds an expression evaluating if this expression is strictly lower than the given datetime object.Expression.lessThan
(Expression e) Builds an expression evaluating if this expression is strictly lower than the given expression.Expression.lessThan
(DateTime datetime) Builds an expression evaluating if this expression is strictly lower than the given datetime object.Builds an expression evaluating if this expression is matching the standard SQLLIKE
pattern provided by the given value.Expression.like
(Expression e) Builds an expression evaluating if this expression is matching the standard SQLLIKE
pattern provided by the given value.Builds an expression that computes the first position (1-based index) of the given String in this expression.Expression.locate
(Expression needle) Builds an expression that computes the first position (1-based index) of the given String in this expression.Expression.lower()
Builds an expression that computes a lower case version of this expression.Exprs.max
(Expression e) Builds an expression computing the value of the aggregated maximum of a given expression.Exprs.min
(Expression e) Builds an expression computing the value of the aggregated minimum of a given expression.Builds an expression that computes the value of this expression minus the given value.Expression.minus
(Expression e) Builds an expression that computes the value of this expression minus the given value.Builds an expression that computes the value of the remainder of the Euclidean division of this expression by the given value.Expression.mod
(Expression e) Builds an expression that computes the value of the remainder of the Euclidean division of this expression by the given value.Builds an expression that computes the value of this expression multiplied by the given value.Expression.multiply
(Expression e) Builds an expression that computes the value of this expression multiplied by the given value.Exprs.not
(Expression e) Builds the logical negation of the given expressionBuilds an expression evaluating if this expression is not equal to the given boolean.Builds an expression evaluating if this expression is not equal to the given number.Builds an expression evaluating if this expression is not equal to the given String.Builds an expression evaluating if this expression is not equal to the given date object.Builds an expression evaluating if this expression is not equal to the given datetime object.Expression.notEqual
(Expression e) Builds an expression evaluating if this expression is not equal to the given expression.Expression.notEqual
(DateTime datetime) Builds an expression evaluating if this expression is not equal to the given datetime object.Expression.notEqualNullAware
(Boolean e) Builds an expression evaluating if this expression is not equal to the given boolean.Expression.notEqualNullAware
(Number e) Builds an expression evaluating if this expression is not equal to the given number.Expression.notEqualNullAware
(String e) Builds an expression evaluating if this expression is not equal to the given String.Expression.notEqualNullAware
(LocalDate dateWithoutTime) Builds an expression evaluating if this expression is not equal to the given date object.Expression.notEqualNullAware
(Date datetime) Builds an expression evaluating if this expression is not equal to the given datetime object.Expression.notEqualNullAware
(Expression e) Builds an expression evaluating if this expression is not equal to the given expression.Expression.notEqualNullAware
(DateTime datetime) Builds an expression evaluating if this expression is not equal to the given datetime object.Builds an expression evaluating if this expression is not matching the standard SQLLIKE
pattern provided by the given value.Expression.notIlike
(Expression e) Builds an expression evaluating if this expression is not matching the standard SQLLIKE
pattern provided by the given value.Builds an expression evaluating if this expression not equal to all the element of the given list.Builds an expression evaluating if this expression is not matching the standard SQLLIKE
pattern provided by the given value.Expression.notLike
(Expression e) Builds an expression evaluating if this expression is not matching the standard SQLLIKE
pattern provided by the given value.Exprs.nullIf
(Expression e1, Expression e2) Builds an expression that will return NULL if both arguments are equal, otherwise return the first one.Exprs.or
(Expression... exprs) Builds the logical disjunction of the given expressions.Builds an expression that computes the value of this expression plus the given value.Expression.plus
(Expression e) Builds an expression that computes the value of this expression plus the given value.Exprs.real
(BigDecimal value) Builds a literal real expression.Builds a literal string expression.Expression.substring
(int fromIndex, int length) Builds an expression that computes a substring of this expression value.Expression.substring
(Expression fromIndex, Expression length) Builds an expression that computes a substring of this expression value.Exprs.sum
(Expression e) Builds an expression computing the value of the aggregated sum of a given expression.Expression.trim()
Builds an expression that computes this expression without any starting or ending white space characters.Expression.upper()
Builds an expression that computes an upper case version of this expression.Methods in net.pricefx.formulaengine.scripting.queryapi with parameters of type ExpressionModifier and TypeMethodDescriptionExprs.abs
(Expression e) Builds an expression computing the absolute value of the given value.Exprs.and
(Expression... exprs) Builds the logical conjunction of the given expressions.Orders.ascNullsFirst
(Expression e) Builds an ascending order with nulls values evaluated as the lowest value.Orders.ascNullsLast
(Expression e) Builds an ascending order with nulls values evaluated as the highest value.Exprs.avg
(Expression e) Builds an expression computing the value of the aggregated average of a given expression.Exprs.caseWhen
(Expression condition, Expression thenExpr, Expression elseExpr) Builds a conditional CASE WHEN expression.Exprs.coalesce
(Expression... exprs) Builds an expression that will return the value of the first non-null resulting given expression.Expression.concat
(Expression e) Builds an expression that concatenates this expression to a given value.Exprs.count
(Expression e) Builds an expression computing the number of aggregated non-null values of the given expression.Orders.descNullsFirst
(Expression e) Builds a descending order with nulls values evaluated as the lowest value.Orders.descNullsLast
(Expression e) Builds a descending order with nulls values evaluated as the highest value.Expression.div
(Expression e) Builds an expression that computes the value of this expression divided by the given value.Expression.equal
(Expression e) Builds an expression evaluating if this expression is equal to the given expression.Expression.equalNullAware
(Expression e) Builds an expression evaluating if this expression is equal to the given expression.Exprs.exp
(Expression e) Builds an expression computing the value of the exponential function applied to the given value.Expression.greaterOrEqual
(Expression e) Builds an expression evaluating if this expression is greater than or equal to the given expression.Expression.greaterThan
(Expression e) Builds an expression evaluating if this expression is strictly greater than the given expression.Expression.ilike
(Expression e) Builds an expression evaluating if this expression is matching the standard SQLLIKE
pattern provided by the given value.Expression.lessOrEqual
(Expression e) Builds an expression evaluating if this expression is lower than or equal to the given expression.Expression.lessThan
(Expression e) Builds an expression evaluating if this expression is strictly lower than the given expression.Expression.like
(Expression e) Builds an expression evaluating if this expression is matching the standard SQLLIKE
pattern provided by the given value.Expression.locate
(Expression needle) Builds an expression that computes the first position (1-based index) of the given String in this expression.Exprs.max
(Expression e) Builds an expression computing the value of the aggregated maximum of a given expression.Exprs.min
(Expression e) Builds an expression computing the value of the aggregated minimum of a given expression.Expression.minus
(Expression e) Builds an expression that computes the value of this expression minus the given value.Expression.mod
(Expression e) Builds an expression that computes the value of the remainder of the Euclidean division of this expression by the given value.Expression.multiply
(Expression e) Builds an expression that computes the value of this expression multiplied by the given value.Exprs.not
(Expression e) Builds the logical negation of the given expressionExpression.notEqual
(Expression e) Builds an expression evaluating if this expression is not equal to the given expression.Expression.notEqualNullAware
(Expression e) Builds an expression evaluating if this expression is not equal to the given expression.Expression.notIlike
(Expression e) Builds an expression evaluating if this expression is not matching the standard SQLLIKE
pattern provided by the given value.Expression.notLike
(Expression e) Builds an expression evaluating if this expression is not matching the standard SQLLIKE
pattern provided by the given value.Exprs.nullIf
(Expression e1, Expression e2) Builds an expression that will return NULL if both arguments are equal, otherwise return the first one.Exprs.or
(Expression... exprs) Builds the logical disjunction of the given expressions.Expression.plus
(Expression e) Builds an expression that computes the value of this expression plus the given value.QueryApi.source
(Tables.Table table, List<? extends Selectable> selectables, Expression filter) Main entry point to start writing a query.QueryApi.source
(Tables.Table table, Expression filter) Main entry point to start writing a query.Expression.substring
(Expression fromIndex, Expression length) Builds an expression that computes a substring of this expression value.Exprs.sum
(Expression e) Builds an expression computing the value of the aggregated sum of a given expression.Method parameters in net.pricefx.formulaengine.scripting.queryapi with type arguments of type ExpressionModifier and TypeMethodDescriptionPipelineStage.aggregateBy
(Function<Tables.Columns, List<? extends Expression>> by, Function<Tables.Columns, List<? extends Selectable>> selectables) Adds a stage that aggregates the outputs of this stage by a given set of expressions.PipelineStage.filter
(Function<Tables.Columns, Expression> condition) Adds a stage that only keeps this stage output rows which verify the given expression.