Class TimeSeriesMetadataAttribute
java.lang.Object
org.elasticsearch.xpack.esql.core.tree.Node<Expression>
org.elasticsearch.xpack.esql.core.expression.Expression
org.elasticsearch.xpack.esql.core.expression.NamedExpression
org.elasticsearch.xpack.esql.core.expression.Attribute
org.elasticsearch.xpack.esql.core.expression.TypedAttribute
org.elasticsearch.xpack.esql.core.expression.FieldAttribute
org.elasticsearch.xpack.esql.core.expression.TimeSeriesMetadataAttribute
- All Implemented Interfaces:
NamedWriteable,Writeable,Resolvable
Field attribute for
_timeseries field-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.expression.FieldAttribute
FieldAttribute.FieldNameNested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
Expression.TypeResolutionNested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.tree.Node
Node.NodeStringFormatNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.xpack.esql.core.expression.FieldAttribute
lazyFieldNameFields inherited from class org.elasticsearch.xpack.esql.core.expression.Attribute
SYNTHETIC_ATTRIBUTE_NAME_PREFIXFields inherited from class org.elasticsearch.xpack.esql.core.tree.Node
TO_STRING_MAX_LINES, TO_STRING_MAX_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionTimeSeriesMetadataAttribute(Source source, String parentName, String name, EsField field, Nullability nullability, NameId id, boolean synthetic, Set<String> withoutFields) TimeSeriesMetadataAttribute(Source source, Set<String> withoutFields) -
Method Summary
Modifier and TypeMethodDescriptionprotected Attributeclone(Source source, String name, DataType type, Nullability nullability, NameId id, boolean synthetic) static TimeSeriesMetadataAttributeBuilds a_timeseriesattribute from an existing attribute while preserving its identity.inthashCode()protected NodeInfo<FieldAttribute> info()Return the information about this node.protected booleanMethods inherited from class org.elasticsearch.xpack.esql.core.expression.FieldAttribute
exactAttribute, field, fieldName, getExactInfo, getWriteableName, label, name, nodeString, parentName, readFrom, timeSeriesAttribute, withDataType, writeToMethods inherited from class org.elasticsearch.xpack.esql.core.expression.TypedAttribute
dataTypeMethods inherited from class org.elasticsearch.xpack.esql.core.expression.Attribute
canonicalize, nullable, originalTypes, rawTemporaryName, references, replaceChildren, semanticEquals, semanticHash, toAttribute, toString, withId, withLocation, withName, withNullabilityMethods inherited from class org.elasticsearch.xpack.esql.core.expression.NamedExpression
equals, id, syntheticMethods inherited from class org.elasticsearch.xpack.esql.core.expression.Expression
canonical, childrenResolved, fold, foldable, propertiesToString, resolved, resolveType, 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, nodeString, replaceChildrenSameSize, source, sourceLocation, sourceText, transformChildren, transformChildren, transformDown, transformDown, transformDown, transformDown, transformNodeProps, transformPropertiesDown, transformPropertiesOnly, transformPropertiesUp, transformUp, transformUp, transformUp
-
Constructor Details
-
TimeSeriesMetadataAttribute
-
TimeSeriesMetadataAttribute
-
-
Method Details
-
from
Builds a_timeseriesattribute from an existing attribute while preserving its identity. -
withoutFields
-
info
Description copied from class:NodeReturn the information about this node.Normally, you want to use one of the static
createmethods 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 of the properties are used in the provided constructor; otherwise query plan transformations likeQueryPlan#transformExpressionsOnly(Function)will not have an effect.- Overrides:
infoin classFieldAttribute
-
clone
protected Attribute clone(Source source, String name, DataType type, Nullability nullability, NameId id, boolean synthetic) - Overrides:
clonein classFieldAttribute
-
hashCode
public int hashCode()- Overrides:
hashCodein classFieldAttribute
-
innerEquals
- Overrides:
innerEqualsin classFieldAttribute
-