Class SupportsIndexProjection

    • Constructor Detail

      • 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
    • Method Detail

      • internalGet

        protected abstract <T> T internalGet​(int pos,
                                             java.lang.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,
                         java.lang.Class<T> javaClass)
        Specified by:
        get in interface StructLike
      • set

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