Class ProtoSchemaLogicalTypes.TimestampConvert

  • Enclosing class:
    ProtoSchemaLogicalTypes

    public static class ProtoSchemaLogicalTypes.TimestampConvert
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.beam.sdk.values.Row toRow​(com.google.protobuf.Timestamp input)
      ByteBuddy conversion for Timestamp to NanosInstant base type.
      static com.google.protobuf.Timestamp toTimestamp​(org.apache.beam.sdk.values.Row row)
      ByteBuddy conversion for NanosInstant base type to Timestamp.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimestampConvert

        public TimestampConvert()
    • 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.