Package org.apache.iceberg.variants
Interface VariantObject
- All Superinterfaces:
- VariantValue
- All Known Implementing Classes:
- ShreddedObject
An variant object value.
- 
Method SummaryModifier and TypeMethodDescriptiondefault VariantObjectasObject()Returns this value as aVariantObject.static StringasString(VariantObject object) static booleanequals(VariantObject self, Object obj) Returns the names of fields stored in this object.Returns theVariantValuefor the field namednamein this object.static inthash(VariantObject self) intReturns the number of fields stored in this object.default PhysicalTypetype()Returns thePhysicalTypeof this value.Methods inherited from interface org.apache.iceberg.variants.VariantValueasArray, asPrimitive, sizeInBytes, writeTo
- 
Method Details- 
getReturns theVariantValuefor the field namednamein this object.
- 
fieldNamesReturns the names of fields stored in this object.
- 
numFieldsint numFields()Returns the number of fields stored in this object.
- 
typeDescription copied from interface:VariantValueReturns thePhysicalTypeof this value.- Specified by:
- typein interface- VariantValue
 
- 
asObjectDescription copied from interface:VariantValueReturns this value as aVariantObject.- Specified by:
- asObjectin interface- VariantValue
 
- 
asString
- 
hash
- 
equals
 
-