Package org.apache.iceberg.variants
Interface VariantArray
- All Superinterfaces:
VariantValue
- All Known Implementing Classes:
ValueArray
An variant array value.
-
Method Summary
Modifier and TypeMethodDescriptiondefault VariantArrayasArray()Returns this value as aVariantArray.static StringasString(VariantArray arr) get(int index) Returns theVariantValueatindexin this array.intReturns the number of fields stored in this array.default PhysicalTypetype()Returns thePhysicalTypeof this value.Methods inherited from interface org.apache.iceberg.variants.VariantValue
asObject, asPrimitive, sizeInBytes, writeTo
-
Method Details
-
get
Returns theVariantValueatindexin this array. -
numElements
int numElements()Returns the number of fields stored in this array. -
type
Description copied from interface:VariantValueReturns thePhysicalTypeof this value.- Specified by:
typein interfaceVariantValue
-
asArray
Description copied from interface:VariantValueReturns this value as aVariantArray.- Specified by:
asArrayin interfaceVariantValue
-
asString
-