Interface StructLike

All Known Subinterfaces:
Record
All Known Implementing Classes:
GenericManifestFile, GenericPartitionFieldSummary, GenericRecord, InternalRecordWrapper, MetricsUtil.ReadableColMetricsStruct, MetricsUtil.ReadableMetricsStruct, PartitionData, PartitionKey, PositionDelete, RowDataWrapper, SortKey, SparkStructLike, StructProjection

public interface StructLike
Interface for accessing data by position in a schema.

This interface supports accessing data in top-level fields, not in nested fields.

  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    get(int pos, Class<T> javaClass)
     
    <T> void
    set(int pos, T value)
     
    int
     
  • Method Details

    • size

      int size()
    • get

      <T> T get(int pos, Class<T> javaClass)
    • set

      <T> void set(int pos, T value)