Interface StructLike

  • All Known Subinterfaces:
    Record
    All Known Implementing Classes:
    PartitionKey, SortKey, 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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T get​(int pos, java.lang.Class<T> javaClass)  
      <T> void set​(int pos, T value)  
      int size()  
    • Method Detail

      • size

        int size()
      • get

        <T> T get​(int pos,
                  java.lang.Class<T> javaClass)
      • set

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