Class ShreddedObject

java.lang.Object
org.apache.iceberg.variants.ShreddedObject
All Implemented Interfaces:
VariantObject, VariantValue

public class ShreddedObject extends Object implements VariantObject
A variant Object that handles full or partial shredding.

Metadata stored for an object must be the same regardless of whether the object is shredded. This class assumes that the metadata from the unshredded object can be used for the shredded fields. This also does not allow updating or replacing the metadata for the unshredded object, which could require recursively rewriting field IDs.