public static final class SbeLogicalTypes.UTCTimestamp extends java.lang.Object implements Schema.LogicalType<java.time.Instant,java.lang.String>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IDENTIFIER |
Constructor and Description |
---|
UTCTimestamp() |
Modifier and Type | Method and Description |
---|---|
@Nullable @UnknownKeyFor @Initialized Schema.FieldType |
getArgumentType()
A schema type representing how to interpret the argument.
|
@UnknownKeyFor @NonNull @Initialized Schema.FieldType |
getBaseType()
The base
Schema.FieldType used to store values of this type. |
@UnknownKeyFor @NonNull @Initialized java.lang.String |
getIdentifier()
The unique identifier for this type.
|
@NonNull java.lang.String |
toBaseType(@NonNull java.time.Instant input)
Convert the input type to the type Java type used by the base
Schema.FieldType . |
@NonNull java.time.Instant |
toInputType(@NonNull java.lang.String base)
Convert the Java type used by the base
Schema.FieldType to the input type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgument
public static final java.lang.String IDENTIFIER
public @UnknownKeyFor @NonNull @Initialized java.lang.String getIdentifier()
Schema.LogicalType
getIdentifier
in interface Schema.LogicalType<java.time.Instant,java.lang.String>
public @Nullable @UnknownKeyFor @Initialized Schema.FieldType getArgumentType()
Schema.LogicalType
null
indicates this logical
type is not parameterized by an argument.getArgumentType
in interface Schema.LogicalType<java.time.Instant,java.lang.String>
public @UnknownKeyFor @NonNull @Initialized Schema.FieldType getBaseType()
Schema.LogicalType
Schema.FieldType
used to store values of this type.getBaseType
in interface Schema.LogicalType<java.time.Instant,java.lang.String>
public @NonNull java.lang.String toBaseType(@NonNull java.time.Instant input)
Schema.LogicalType
Schema.FieldType
.toBaseType
in interface Schema.LogicalType<java.time.Instant,java.lang.String>
public @NonNull java.time.Instant toInputType(@NonNull java.lang.String base)
Schema.LogicalType
Schema.FieldType
to the input type.toInputType
in interface Schema.LogicalType<java.time.Instant,java.lang.String>