Package org.apache.iceberg.variants
Class ValueArray
java.lang.Object
org.apache.iceberg.variants.ValueArray
- All Implemented Interfaces:
- VariantArray,- VariantValue
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(VariantValue value) get(int index) Returns theVariantValueatindexin this array.intReturns the number of fields stored in this array.intReturns the serialized size in bytes of this value.toString()intwriteTo(ByteBuffer buffer, int offset) Writes this value to the buffer at the given offset, ignoring the buffer's position and limit.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.iceberg.variants.VariantArrayasArray, typeMethods inherited from interface org.apache.iceberg.variants.VariantValueasObject, asPrimitive
- 
Method Details- 
getDescription copied from interface:VariantArrayReturns theVariantValueatindexin this array.- Specified by:
- getin interface- VariantArray
 
- 
numElementspublic int numElements()Description copied from interface:VariantArrayReturns the number of fields stored in this array.- Specified by:
- numElementsin interface- VariantArray
 
- 
add
- 
sizeInBytespublic int sizeInBytes()Description copied from interface:VariantValueReturns the serialized size in bytes of this value.- Specified by:
- sizeInBytesin interface- VariantValue
 
- 
writeToDescription copied from interface:VariantValueWrites this value to the buffer at the given offset, ignoring the buffer's position and limit.- Specified by:
- writeToin interface- VariantValue
 
- 
toString
 
-