Class ProtoSchemaLogicalTypes.TimestampConvert

java.lang.Object
org.apache.beam.sdk.extensions.protobuf.ProtoSchemaLogicalTypes.TimestampConvert
Enclosing class:
ProtoSchemaLogicalTypes

public static class ProtoSchemaLogicalTypes.TimestampConvert extends Object
  • Constructor Details

    • TimestampConvert

      public TimestampConvert()
  • Method Details

    • toRow

      public static Row toRow(Timestamp input)
      ByteBuddy conversion for Timestamp to NanosInstant base type.
    • toTimestamp

      public static Timestamp toTimestamp(Row row)
      ByteBuddy conversion for NanosInstant base type to Timestamp.