Package org.apache.iceberg.avro
Class SupportsIndexProjection
- java.lang.Object
-
- org.apache.iceberg.avro.SupportsIndexProjection
-
- All Implemented Interfaces:
java.io.Serializable,StructLike
- Direct Known Subclasses:
GenericManifestFile
public abstract class SupportsIndexProjection extends java.lang.Object implements StructLike, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSupportsIndexProjection(int size)Noop constructor that does not project fieldsprotectedSupportsIndexProjection(SupportsIndexProjection toCopy)Copy constructorprotectedSupportsIndexProjection(Types.StructType baseType, Types.StructType projectionType)Base constructor for building the type mapping
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <T> Tget(int basePos, java.lang.Class<T> javaClass)protected abstract <T> TinternalGet(int pos, java.lang.Class<T> javaClass)protected abstract <T> voidinternalSet(int pos, T value)<T> voidset(int basePos, T value)intsize()
-
-
-
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
-
SupportsIndexProjection
protected SupportsIndexProjection(SupportsIndexProjection toCopy)
Copy constructor
-
-
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:
sizein interfaceStructLike
-
get
public <T> T get(int basePos, java.lang.Class<T> javaClass)- Specified by:
getin interfaceStructLike
-
set
public <T> void set(int basePos, T value)- Specified by:
setin interfaceStructLike
-
-