java.lang.Object
org.elasticsearch.index.codec.tsdb.pipeline.FieldDescriptor

public final class FieldDescriptor extends Object
Versioned envelope for the PipelineDescriptor wire format.

Every PipelineDescriptor written to .dvm metadata is prefixed with a format version VInt, enabling future format evolution without breaking segment compatibility. Block offsets and value counts are managed by the consumer/producer's writeField/readNumeric flow.

  • Method Details

    • write

      public static void write(org.apache.lucene.store.DataOutput meta, PipelineDescriptor pipeline) throws IOException
      Writes a versioned pipeline descriptor to the metadata output.
      Parameters:
      meta - the metadata output stream
      pipeline - the pipeline descriptor to persist
      Throws:
      IOException - if an I/O error occurs
    • read

      public static PipelineDescriptor read(org.apache.lucene.store.DataInput meta) throws IOException
      Reads a versioned pipeline descriptor from the metadata input.
      Parameters:
      meta - the metadata input stream
      Returns:
      the deserialized pipeline descriptor
      Throws:
      IOException - if the format version is unsupported or an I/O error occurs