Package org.apache.iceberg.avro
Class SupportsIndexProjection
java.lang.Object
org.apache.iceberg.avro.SupportsIndexProjection
- All Implemented Interfaces:
Serializable,StructLike
- Direct Known Subclasses:
GenericManifestFile
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSupportsIndexProjection(int size) Noop constructor that does not project fieldsprotectedCopy constructorprotectedSupportsIndexProjection(Types.StructType baseType, Types.StructType projectionType) Base constructor for building the type mapping -
Method Summary
Modifier and TypeMethodDescription<T> Tprotected abstract <T> TinternalGet(int pos, Class<T> javaClass) protected abstract <T> voidinternalSet(int pos, T value) <T> voidset(int basePos, T value) intsize()
-
Constructor Details
-
SupportsIndexProjection
protected SupportsIndexProjection(int size) Noop constructor that does not project fields -
SupportsIndexProjection
Base constructor for building the type mapping -
SupportsIndexProjection
Copy constructor
-
-
Method Details
-
internalGet
-
internalSet
protected abstract <T> void internalSet(int pos, T value) -
size
public int size()- Specified by:
sizein interfaceStructLike
-
get
- Specified by:
getin interfaceStructLike
-
set
public <T> void set(int basePos, T value) - Specified by:
setin interfaceStructLike
-