Class NanosInstant
java.lang.Object
org.apache.beam.sdk.schemas.logicaltypes.NanosInstant
- All Implemented Interfaces:
Serializable,Schema.LogicalType<Instant,Row>
A timestamp represented as nanoseconds since the epoch.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAn optional argument to configure the type.A schema type representing how to interpret the argument.The baseSchema.FieldTypeused to store values of this type.The unique identifier for this type.toBaseType(Instant input) Convert the input type to the type Java type used by the baseSchema.FieldType.toInputType(Row row) Convert the Java type used by the baseSchema.FieldTypeto the input type.
-
Field Details
-
IDENTIFIER
- See Also:
-
schema
-
-
Constructor Details
-
NanosInstant
public NanosInstant()
-
-
Method Details
-
toBaseType
Description copied from interface:Schema.LogicalTypeConvert the input type to the type Java type used by the baseSchema.FieldType. -
toInputType
Description copied from interface:Schema.LogicalTypeConvert the Java type used by the baseSchema.FieldTypeto the input type. -
getIdentifier
Description copied from interface:Schema.LogicalTypeThe unique identifier for this type.- Specified by:
getIdentifierin interfaceSchema.LogicalType<T,Row>
-
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<T,Row>
-
getArgument
Description copied from interface:Schema.LogicalTypeAn optional argument to configure the type.- Specified by:
getArgumentin interfaceSchema.LogicalType<T,Row>
-
getBaseType
Description copied from interface:Schema.LogicalTypeThe baseSchema.FieldTypeused to store values of this type.- Specified by:
getBaseTypein interfaceSchema.LogicalType<T,Row>
-