Class UserAgentExec
java.lang.Object
org.elasticsearch.xpack.esql.core.tree.Node<PhysicalPlan>
org.elasticsearch.xpack.esql.plan.QueryPlan<PhysicalPlan>
org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan
org.elasticsearch.xpack.esql.plan.physical.UnaryExec
org.elasticsearch.xpack.esql.plan.physical.CompoundOutputEvalExec
org.elasticsearch.xpack.esql.plan.physical.UserAgentExec
- All Implemented Interfaces:
NamedWriteable,Writeable,EstimatesRowSize
Physical plan for the USER_AGENT command.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.tree.Node
Node.NodeStringFormatNested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.plan.physical.EstimatesRowSize
EstimatesRowSize.StateNested 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.plan.physical.CompoundOutputEvalExec
inputFields inherited from class org.elasticsearch.xpack.esql.core.tree.Node
TO_STRING_MAX_LINES, TO_STRING_MAX_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionUserAgentExec(Source source, PhysicalPlan child, Expression input, List<String> outputFieldNames, List<Attribute> outputFieldAttributes, boolean extractDeviceType, String regexFile) -
Method Summary
Modifier and TypeMethodDescriptioncreateNewInstance(Source source, PhysicalPlan child, Expression input, List<String> outputFieldNames, List<Attribute> outputFieldAttributes) Creates a new instance of the specificCompoundOutputEvalExecsubclass with the provided parameters.booleanprotected NodeInfo<? extends PhysicalPlan> info()Normally, you want to use one of the staticcreatemethods to implement this.protected booleanprotected intvoidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.esql.plan.physical.CompoundOutputEvalExec
computeReferences, equals, estimateRowSize, hashCode, input, output, outputFieldAttributes, outputFieldNames, replaceChildMethods inherited from class org.elasticsearch.xpack.esql.plan.physical.UnaryExec
child, inputSet, outputSet, replaceChildrenMethods inherited from class org.elasticsearch.xpack.esql.plan.QueryPlan
computeExpressions, expressions, forEachExpression, forEachExpression, forEachExpressionDown, forEachExpressionUp, references, transformExpressionsDown, transformExpressionsDown, transformExpressionsOnly, transformExpressionsOnly, transformExpressionsOnlyUp, transformExpressionsUp, transformExpressionsUpMethods inherited from class org.elasticsearch.xpack.esql.core.tree.Node
allMatch, anyMatch, children, collect, collect, collect, collectFirstChildren, collectLeaves, doCollectFirst, forEachDown, forEachDown, forEachDownMayReturnEarly, forEachProperty, forEachPropertyDown, forEachPropertyOnly, forEachPropertyUp, forEachUp, forEachUp, nodeName, nodeProperties, nodeString, nodeString, propertiesToString, replaceChildrenSameSize, source, sourceLocation, sourceText, toString, toString, transformChildren, transformChildren, transformDown, transformDown, transformDown, transformDown, transformDownSkipBranch, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp, transformUp
-
Field Details
-
ENTRY
-
-
Constructor Details
-
UserAgentExec
public UserAgentExec(Source source, PhysicalPlan child, Expression input, List<String> outputFieldNames, List<Attribute> outputFieldAttributes, boolean extractDeviceType, String regexFile) -
UserAgentExec
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classCompoundOutputEvalExec- Throws:
IOException
-
getWriteableName
-
info
Description copied from class:NodeNormally, you want to use one of the staticcreatemethods to implement this.For
QueryPlans, it is very important that the properties contain all of the expressions and references relevant to this node, and that all the properties are used in the provided constructor; otherwise query plan transformations likeQueryPlan#transformExpressionsOnly(Function)will not have an effect.- Overrides:
infoin classCompoundOutputEvalExec
-
createNewInstance
public CompoundOutputEvalExec createNewInstance(Source source, PhysicalPlan child, Expression input, List<String> outputFieldNames, List<Attribute> outputFieldAttributes) Description copied from class:CompoundOutputEvalExecCreates a new instance of the specificCompoundOutputEvalExecsubclass with the provided parameters.- Specified by:
createNewInstancein classCompoundOutputEvalExec
-
innerEquals
- Specified by:
innerEqualsin classCompoundOutputEvalExec
-
innerHashCode
protected int innerHashCode()- Specified by:
innerHashCodein classCompoundOutputEvalExec
-
extractDeviceType
public boolean extractDeviceType() -
regexFile
-