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
ModifierConstructorDescriptionprotected
SupportsIndexProjection
(int size) Noop constructor that does not project fieldsprotected
Copy constructorprotected
SupportsIndexProjection
(Types.StructType baseType, Types.StructType projectionType) Base constructor for building the type mapping -
Method Summary
Modifier and TypeMethodDescription<T> T
protected abstract <T> T
internalGet
(int pos, Class<T> javaClass) protected abstract <T> void
internalSet
(int pos, T value) <T> void
set
(int basePos, T value) int
size()
-
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:
size
in interfaceStructLike
-
get
- Specified by:
get
in interfaceStructLike
-
set
public <T> void set(int basePos, T value) - Specified by:
set
in interfaceStructLike
-