Package org.apache.iceberg.variants
Interface VariantArray
- All Superinterfaces:
- VariantValue
- All Known Implementing Classes:
- ValueArray
An variant array value.
- 
Method SummaryModifier 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.VariantValueasObject, asPrimitive, sizeInBytes, writeTo
- 
Method Details- 
getReturns theVariantValueatindexin this array.
- 
numElementsint numElements()Returns the number of fields stored in this array.
- 
typeDescription copied from interface:VariantValueReturns thePhysicalTypeof this value.- Specified by:
- typein interface- VariantValue
 
- 
asArrayDescription copied from interface:VariantValueReturns this value as aVariantArray.- Specified by:
- asArrayin interface- VariantValue
 
- 
asString
 
-