Class ProtoSchemaLogicalTypes.TimestampConvert
- java.lang.Object
-
- org.apache.beam.sdk.extensions.protobuf.ProtoSchemaLogicalTypes.TimestampConvert
-
- Enclosing class:
- ProtoSchemaLogicalTypes
public static class ProtoSchemaLogicalTypes.TimestampConvert extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TimestampConvert()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.beam.sdk.values.RowtoRow(com.google.protobuf.Timestamp input)ByteBuddy conversion for Timestamp to NanosInstant base type.static com.google.protobuf.TimestamptoTimestamp(org.apache.beam.sdk.values.Row row)ByteBuddy conversion for NanosInstant base type to Timestamp.
-
-
-
Method Detail
-
toRow
public static org.apache.beam.sdk.values.Row toRow(com.google.protobuf.Timestamp input)
ByteBuddy conversion for Timestamp to NanosInstant base type.
-
toTimestamp
public static com.google.protobuf.Timestamp toTimestamp(org.apache.beam.sdk.values.Row row)
ByteBuddy conversion for NanosInstant base type to Timestamp.
-
-