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 protected
SupportsIndexProjection(int size)
Noop constructor that does not project fieldsprotected
SupportsIndexProjection(SupportsIndexProjection toCopy)
Copy constructorprotected
SupportsIndexProjection(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> T
get(int basePos, java.lang.Class<T> javaClass)
protected abstract <T> T
internalGet(int pos, java.lang.Class<T> javaClass)
protected abstract <T> void
internalSet(int pos, T value)
<T> void
set(int basePos, T value)
int
size()
-
-
-
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:
size
in interfaceStructLike
-
get
public <T> T get(int basePos, java.lang.Class<T> javaClass)
- Specified by:
get
in interfaceStructLike
-
set
public <T> void set(int basePos, T value)
- Specified by:
set
in interfaceStructLike
-
-