Class TimeSeriesMetadataAttribute

All Implemented Interfaces:
NamedWriteable, Writeable, Resolvable

public final class TimeSeriesMetadataAttribute extends FieldAttribute
Field attribute for _timeseries field
  • Constructor Details

    • TimeSeriesMetadataAttribute

      public TimeSeriesMetadataAttribute(Source source, Set<String> withoutFields)
    • TimeSeriesMetadataAttribute

      public TimeSeriesMetadataAttribute(Source source, @Nullable String parentName, String name, EsField field, Nullability nullability, @Nullable NameId id, boolean synthetic, Set<String> withoutFields)
  • Method Details

    • from

      public static TimeSeriesMetadataAttribute from(Attribute attribute, Set<String> withoutFields)
      Builds a _timeseries attribute from an existing attribute while preserving its identity.
    • withoutFields

      public Set<String> withoutFields()
    • info

      protected NodeInfo<FieldAttribute> info()
      Description copied from class: Node
      Return the information about this node.

      Normally, you want to use one of the static create methods 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 like QueryPlan#transformExpressionsOnly(Function) will not have an effect.

      Overrides:
      info in class FieldAttribute
    • clone

      protected Attribute clone(Source source, String name, DataType type, Nullability nullability, NameId id, boolean synthetic)
      Overrides:
      clone in class FieldAttribute
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class FieldAttribute
    • innerEquals

      protected boolean innerEquals(Object o)
      Overrides:
      innerEquals in class FieldAttribute