Package org.apache.iceberg.variants
Interface VariantArray
- All Superinterfaces:
VariantValue
An variant array value.
-
Method Summary
Modifier and TypeMethodDescriptiondefault VariantArray
asArray()
Returns this value as aVariantArray
.get
(int index) Returns theVariantValue
atindex
in this array.int
Returns the number of fields stored in this array.default PhysicalType
type()
Returns thePhysicalType
of this value.Methods inherited from interface org.apache.iceberg.variants.VariantValue
asObject, asPrimitive, sizeInBytes, writeTo
-
Method Details
-
get
Returns theVariantValue
atindex
in this array. -
numElements
int numElements()Returns the number of fields stored in this array. -
type
Description copied from interface:VariantValue
Returns thePhysicalType
of this value.- Specified by:
type
in interfaceVariantValue
-
asArray
Description copied from interface:VariantValue
Returns this value as aVariantArray
.- Specified by:
asArray
in interfaceVariantValue
-