Class SupportsIndexProjection

java.lang.Object
org.apache.iceberg.avro.SupportsIndexProjection
All Implemented Interfaces:
Serializable, StructLike
Direct Known Subclasses:
GenericManifestFile

public abstract class SupportsIndexProjection extends Object implements StructLike, Serializable
See Also:
  • Constructor Details

    • SupportsIndexProjection

      protected SupportsIndexProjection(int size)
      Noop constructor that does not project fields
    • SupportsIndexProjection

      protected SupportsIndexProjection(Types.StructType baseType, Types.StructType projectionType)
      Base constructor for building the type mapping
    • SupportsIndexProjection

      protected SupportsIndexProjection(SupportsIndexProjection toCopy)
      Copy constructor
  • Method Details

    • internalGet

      protected abstract <T> T internalGet(int pos, Class<T> javaClass)
    • internalSet

      protected abstract <T> void internalSet(int pos, T value)
    • size

      public int size()
      Specified by:
      size in interface StructLike
    • get

      public <T> T get(int basePos, Class<T> javaClass)
      Specified by:
      get in interface StructLike
    • set

      public <T> void set(int basePos, T value)
      Specified by:
      set in interface StructLike