ExpressionFilter
class ExpressionFilter @InternalWowApi constructor(val expression: AggregationExpression, val comparison: ComparisonOperator, val value: Double) : FilterExpression
Compares a computed expression, for example the hours from paidAt to shippedAt, with value. A record whose expression has no value (an operand is absent, or a division by zero) does not match, whatever the comparison. The expression is evaluated per record and cannot use an index, so the operator is expensive.
Experimental with the aggregation expressions it computes: the operator may change shape before it is stable.
Constructors
Link copied to clipboard
Functions
Link copied to clipboard
fun copy(expression: AggregationExpression = this.expression, comparison: ComparisonOperator = this.comparison, value: Double = this.value): ExpressionFilter
This ExpressionFilter with the given values replaced; for Wow's own query rewriting.