Class MvMax
- All Implemented Interfaces:
NamedWriteable,Writeable,Resolvable,EvaluatorMapper,BlockLoaderExpression
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.expression.function.scalar.multivalue.AbstractMultivalueFunction
AbstractMultivalueFunction.AbstractEvaluator, AbstractMultivalueFunction.AbstractNullableEvaluatorNested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
Expression.TypeResolutionNested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.expression.function.blockloader.BlockLoaderExpression
BlockLoaderExpression.PushedBlockLoaderExpressionNested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.evaluator.mapper.EvaluatorMapper
EvaluatorMapper.ToEvaluatorNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from class org.elasticsearch.xpack.esql.expression.function.scalar.UnaryScalarFunction
fieldFields inherited from class org.elasticsearch.xpack.esql.core.expression.function.scalar.ScalarFunction
MAX_BYTES_REF_RESULT_SIZEFields inherited from class org.elasticsearch.xpack.esql.core.tree.Node
TO_STRING_MAX_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EvalOperator.ExpressionEvaluator.FactoryBuild the evaluator given the evaluator a multivalued field.protected NodeInfo<? extends Expression> info()replaceChildren(List<Expression> newChildren) protected Expression.TypeResolutiontryPushToFieldLoading(SearchStats stats) The field and loading configuration that replaces this expression, effectively "fusing" the expression into the load.Methods inherited from class org.elasticsearch.xpack.esql.expression.function.scalar.multivalue.AbstractMultivalueFunction
resolveType, toEvaluator, writeToMethods inherited from class org.elasticsearch.xpack.esql.expression.function.scalar.UnaryScalarFunction
dataType, field, foldableMethods inherited from class org.elasticsearch.xpack.esql.expression.function.scalar.EsqlScalarFunction
foldMethods inherited from class org.elasticsearch.xpack.esql.core.expression.function.Function
arguments, equals, functionName, hashCode, nodeString, nullableMethods inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
canonical, canonicalize, childrenResolved, propertiesToString, references, resolved, semanticEquals, semanticHash, toString, typeResolvedMethods inherited from class org.elasticsearch.xpack.esql.core.tree.Node
anyMatch, children, collect, collect, collect, collectFirstChildren, collectLeaves, doCollectFirst, forEachDown, forEachDown, forEachDownMayReturnEarly, forEachProperty, forEachPropertyDown, forEachPropertyOnly, forEachPropertyUp, forEachUp, forEachUp, nodeName, nodeProperties, 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.xpack.esql.evaluator.mapper.EvaluatorMapper
fold
-
Field Details
-
ENTRY
-
-
Constructor Details
-
MvMax
-
-
Method Details
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
resolveFieldType
- Specified by:
resolveFieldTypein classAbstractMultivalueFunction
-
evaluator
protected EvalOperator.ExpressionEvaluator.Factory evaluator(EvalOperator.ExpressionEvaluator.Factory fieldEval) Description copied from class:AbstractMultivalueFunctionBuild the evaluator given the evaluator a multivalued field.- Specified by:
evaluatorin classAbstractMultivalueFunction
-
replaceChildren
- Specified by:
replaceChildrenin classNode<Expression>
-
info
- Specified by:
infoin classNode<Expression>
-
tryPushToFieldLoading
Description copied from interface:BlockLoaderExpressionThe field and loading configuration that replaces this expression, effectively "fusing" the expression into the load. Or null if the fusion isn't possible.SearchStats.supportsLoaderConfig(org.elasticsearch.xpack.esql.core.expression.FieldAttribute.FieldName, org.elasticsearch.index.mapper.blockloader.BlockLoaderFunctionConfig, org.elasticsearch.index.mapper.MappedFieldType.FieldExtractPreference)checks that the configuration is supported by all field mappers. Callers to this method must call that to confirm that configurations returned are supported. Implementations of this method do not need to call it, though they may use methods likeSearchStats.hasDocValues(org.elasticsearch.xpack.esql.core.expression.FieldAttribute.FieldName)andSearchStats.isIndexed(org.elasticsearch.xpack.esql.core.expression.FieldAttribute.FieldName)as preflight checks. They should use those methods if it is expensive to build theBlockLoaderFunctionConfig.- Specified by:
tryPushToFieldLoadingin interfaceBlockLoaderExpression
-