Class SbeLogicalTypes.UTCTimestamp
java.lang.Object
org.apache.beam.sdk.extensions.sbe.SbeLogicalTypes.UTCTimestamp
- All Implemented Interfaces:
Serializable,Schema.LogicalType<Instant,String>
- Enclosing class:
SbeLogicalTypes
public static final class SbeLogicalTypes.UTCTimestamp
extends Object
implements Schema.LogicalType<Instant,String>
Represents SBE's UTCTimestamp composite type.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA schema type representing how to interpret the argument.The baseSchema.FieldTypeused to store values of this type.The unique identifier for this type.toBaseType(@NonNull Instant input) Convert the input type to the type Java type used by the baseSchema.FieldType.toInputType(@NonNull String base) Convert the Java type used by the baseSchema.FieldTypeto the input type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.schemas.Schema.LogicalType
getArgument
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
UTCTimestamp
public UTCTimestamp()
-
-
Method Details
-
getIdentifier
Description copied from interface:Schema.LogicalTypeThe unique identifier for this type.- Specified by:
getIdentifierin interfaceSchema.LogicalType<Instant,String>
-
getArgumentType
Description copied from interface:Schema.LogicalTypeA schema type representing how to interpret the argument.nullindicates this logical type is not parameterized by an argument.- Specified by:
getArgumentTypein interfaceSchema.LogicalType<Instant,String>
-
getBaseType
Description copied from interface:Schema.LogicalTypeThe baseSchema.FieldTypeused to store values of this type.- Specified by:
getBaseTypein interfaceSchema.LogicalType<Instant,String>
-
toBaseType
Description copied from interface:Schema.LogicalTypeConvert the input type to the type Java type used by the baseSchema.FieldType.- Specified by:
toBaseTypein interfaceSchema.LogicalType<Instant,String>
-
toInputType
Description copied from interface:Schema.LogicalTypeConvert the Java type used by the baseSchema.FieldTypeto the input type.- Specified by:
toInputTypein interfaceSchema.LogicalType<Instant,String>
-