Class TimeSeriesAggregateFunction
java.lang.Object
org.elasticsearch.xpack.esql.core.tree.Node<Expression>
org.elasticsearch.xpack.esql.core.expression.Expression
org.elasticsearch.xpack.esql.core.expression.function.Function
org.elasticsearch.xpack.esql.expression.function.aggregate.AggregateFunction
org.elasticsearch.xpack.esql.expression.function.aggregate.TimeSeriesAggregateFunction
- All Implemented Interfaces:
NamedWriteable,Writeable,PostAnalysisPlanVerificationAware,Resolvable
- Direct Known Subclasses:
AbsentOverTime,AvgOverTime,CountDistinctOverTime,CountOverTime,Delta,FirstOverTime,Idelta,Increase,Irate,LastOverTime,MaxOverTime,MinOverTime,PresentOverTime,Rate,SumOverTime
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
Expression.TypeResolutionNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedTimeSeriesAggregateFunction(Source source, Expression field, Expression filter, List<? extends Expression> parameters) -
Method Summary
Modifier and TypeMethodDescriptionaggregateInputReferences(Supplier<List<Attribute>> inputAttributes) Returns the set of input attributes required by this aggregate function, excluding those referenced by the filter.abstract AggregateFunctionReturns the aggregation function to be used in the first aggregation stage, which is grouped by `_tsid` (and `time_bucket`).booleanMethods inherited from class org.elasticsearch.xpack.esql.expression.function.aggregate.AggregateFunction
equals, field, filter, hasFilter, hashCode, parameters, postAnalysisPlanVerification, readGenericAggregateFunction, resolveType, withFilter, withParameters, writeToMethods inherited from class org.elasticsearch.xpack.esql.core.expression.function.Function
arguments, functionName, nodeString, nullableMethods inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
canonical, canonicalize, childrenResolved, dataType, fold, foldable, propertiesToString, references, resolved, semanticEquals, semanticHash, toString, typeResolvedMethods inherited from class org.elasticsearch.xpack.esql.core.tree.Node
anyMatch, children, collect, collectFirstChildren, collectLeaves, doCollectFirst, forEachDown, forEachDown, forEachDownMayReturnEarly, forEachProperty, forEachPropertyDown, forEachPropertyOnly, forEachPropertyUp, forEachUp, forEachUp, info, nodeName, nodeProperties, replaceChildren, replaceChildrenSameSize, source, sourceLocation, sourceText, transformChildren, transformDown, transformDown, transformDown, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp, transformUpMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableName
-
Constructor Details
-
TimeSeriesAggregateFunction
protected TimeSeriesAggregateFunction(Source source, Expression field, Expression filter, List<? extends Expression> parameters) -
TimeSeriesAggregateFunction
- Throws:
IOException
-
-
Method Details
-
perTimeSeriesAggregation
Returns the aggregation function to be used in the first aggregation stage, which is grouped by `_tsid` (and `time_bucket`).- See Also:
-
requiredTimeSeriesSource
public boolean requiredTimeSeriesSource() -
aggregateInputReferences
Description copied from class:AggregateFunctionReturns the set of input attributes required by this aggregate function, excluding those referenced by the filter.- Overrides:
aggregateInputReferencesin classAggregateFunction
-