Package org.apache.iceberg.variants
Interface VariantArray
-
- All Superinterfaces:
VariantValue
public interface VariantArray extends VariantValue
An variant array value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VariantArrayasArray()Returns this value as aVariantArray.VariantValueget(int index)Returns theVariantValueatindexin this array.intnumElements()Returns 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 Detail
-
get
VariantValue get(int index)
Returns theVariantValueatindexin this array.
-
numElements
int numElements()
Returns the number of fields stored in this array.
-
type
default PhysicalType type()
Description copied from interface:VariantValueReturns thePhysicalTypeof this value.- Specified by:
typein interfaceVariantValue
-
asArray
default VariantArray asArray()
Description copied from interface:VariantValueReturns this value as aVariantArray.- Specified by:
asArrayin interfaceVariantValue
-
-