Class BinaryVariant

  • All Implemented Interfaces:
    Variant

    @Internal
    public final class BinaryVariant
    extends Object
    implements Variant
    A data structure that represents a semi-structured value. It consists of two binary values: value and metadata. The value encodes types and values, but not field names. The metadata currently contains a version flag and a list of field names. We can extend/modify the detailed binary format given the version flag.
    See Also:
    Variant Binary Encoding for the detail layout of the data structure.