Class Percentile
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.NumericAggregate
org.elasticsearch.xpack.esql.expression.function.aggregate.Percentile
- All Implemented Interfaces:
NamedWriteable,Writeable,PostAnalysisPlanVerificationAware,Resolvable,SurrogateExpression,ToAggregator
-
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> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPercentile(Source source, Expression field, Expression percentile) Percentile(Source source, Expression field, Expression filter, Expression percentile) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected AggregatorFunctionSupplierdoubleSupplier(List<Integer> inputChannels) protected NodeInfo<Percentile> info()protected AggregatorFunctionSupplierintSupplier(List<Integer> inputChannels) protected AggregatorFunctionSupplierlongSupplier(List<Integer> inputChannels) replaceChildren(List<Expression> newChildren) protected Expression.TypeResolutionReturns the expression to be replaced by ornullif this cannot be replaced.withFilter(Expression filter) Attach a filter to the aggregate function.Methods inherited from class org.elasticsearch.xpack.esql.expression.function.aggregate.NumericAggregate
dataType, supplier, supportsDatesMethods inherited from class org.elasticsearch.xpack.esql.expression.function.aggregate.AggregateFunction
equals, field, filter, hasFilter, hashCode, parameters, postAnalysisPlanVerification, 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, 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, forEachProperty, forEachPropertyDown, forEachPropertyOnly, forEachPropertyUp, forEachUp, forEachUp, nodeName, nodeProperties, replaceChildrenSameSize, source, sourceLocation, sourceText, transformChildren, transformDown, transformDown, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp
-
Field Details
-
ENTRY
-
-
Constructor Details
-
Percentile
-
Percentile
-
-
Method Details
-
deprecatedWriteParams
- Overrides:
deprecatedWriteParamsin classAggregateFunction- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
info
- Specified by:
infoin classNode<Expression>
-
replaceChildren
- Specified by:
replaceChildrenin classNode<Expression>
-
withFilter
Description copied from class:AggregateFunctionAttach a filter to the aggregate function.- Specified by:
withFilterin classAggregateFunction
-
percentile
-
resolveType
- Overrides:
resolveTypein classNumericAggregate
-
longSupplier
- Specified by:
longSupplierin classNumericAggregate
-
intSupplier
- Specified by:
intSupplierin classNumericAggregate
-
doubleSupplier
- Specified by:
doubleSupplierin classNumericAggregate
-
surrogate
Description copied from interface:SurrogateExpressionReturns the expression to be replaced by ornullif this cannot be replaced.- Specified by:
surrogatein interfaceSurrogateExpression
-