Class OneOfType

java.lang.Object
org.apache.beam.sdk.schemas.logicaltypes.OneOfType
All Implemented Interfaces:
Serializable, Schema.LogicalType<OneOfType.Value,Row>

public class OneOfType extends Object implements Schema.LogicalType<OneOfType.Value,Row>
A logical type representing a union of fields. This logical type is initialized with a set of field and represents a union of those fields. This logical type is backed by a Row object containing one nullable field matching each input field, and one additional EnumerationType logical type field that indicates which field is set.
See Also: