Name of the operation, e.g., avg
.
Expression that is displayed to the user when creating the expression string.
Expression that is evaluated.
Evaluation context for the initial creation time. This context is used to
re-evaluate the rewrite using the original context if the overall expression
is rewritten (Expr.rewrite()
) later.
Evaluation context for the initial creation time.
Evaluation context for the initial creation time. This context is used to
re-evaluate the rewrite using the original context if the overall expression
is rewritten (Expr.rewrite()
) later.
The underlying data expressions that supply input for the evaluation.
The underlying data expressions that supply input for the evaluation. These are used to fetch data from the data stores. There may be some expressions types that generate data and will have an empty set. Examples are constants, random, or time.
Expression that is displayed to the user when creating the expression string.
Expression that is evaluated.
Returns a string that can be executed with the stack interpreter to create this expression.
Returns a string that can be executed with the stack interpreter to create this expression.
Returns the final grouping for the expression.
Returns the final grouping for the expression. For non-grouped expressions this will be an empty list. If a multi-level group by is used, then this will return the grouping of the final result and ignore any intermediate groupings.
Returns the grouping key generated for a given tag map.
Returns the grouping key generated for a given tag map. All keys for the group by must be present in the map.
Returns true if the result is grouped.
Returns true if the result is grouped. See GroupBy operators.
Name of the operation, e.g., avg
.
Rewrite the expression using the specified function.
Rewrite the expression using the specified function. The default implementation will try to recursively apply the rewrite to case classes.
Apply a time shift to all underlying data expressions.
Apply a time shift to all underlying data expressions.
(Since version ) see corresponding Javadoc for more information.
Named rewrites are used to keep track of the user intent for operations and macros that are defined in terms of other basic operations. For example,
:avg
is not available as a basic aggregate type, it is a rewrite toquery,:sum,query,:count,:div
. However, for the user it is better if we can showquery,:avg
when dumping the expression as a string.Name of the operation, e.g.,
avg
.Expression that is displayed to the user when creating the expression string.
Expression that is evaluated.
Evaluation context for the initial creation time. This context is used to re-evaluate the rewrite using the original context if the overall expression is rewritten (
Expr.rewrite()
) later.