Class ProtoSchemaLogicalTypes.DurationConvert

  • Enclosing class:
    ProtoSchemaLogicalTypes

    public static class ProtoSchemaLogicalTypes.DurationConvert
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DurationConvert()  
    • Method Summary

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

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

      • DurationConvert

        public DurationConvert()
    • Method Detail

      • toRow

        public static org.apache.beam.sdk.values.Row toRow​(com.google.protobuf.Duration input)
        ByteBuddy conversion for Duration to NanosDuration base type.
      • toDuration

        public static com.google.protobuf.Duration toDuration​(org.apache.beam.sdk.values.Row row)
        ByteBuddy conversion for NanosDuration base type to Duration.