public class UnknownLogicalType<T> extends PassThroughLogicalType<T>
Unknown logical types are passed through and treated like their Base type in the Java SDK.
Java transforms and JVM runners should take care when processing these types as they may have a particular semantic meaning in the context that created them. For example, consider an enumerated type backed by a primitive . A Java transform can clearly pass through this value and pass it back to a context that understands it, but that transform should not blindly perform arithmetic on this type.
Constructor and Description |
---|
UnknownLogicalType(java.lang.String identifier,
byte[] payload,
Schema.FieldType argumentType,
java.lang.Object argument,
Schema.FieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getPayload() |
getArgument, getArgumentType, getBaseType, getIdentifier, toBaseType, toInputType
public UnknownLogicalType(java.lang.String identifier, byte[] payload, Schema.FieldType argumentType, java.lang.Object argument, Schema.FieldType fieldType)