Class TimestampConverter
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.bigtable.changestreams.TimestampConverter
-
@Internal public class TimestampConverter extends java.lang.ObjectConvert between different Timestamp and Instant classes.
-
-
Constructor Summary
Constructors Constructor Description TimestampConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.joda.time.InstantmicrosecondToInstant(long microsecond)static org.joda.time.InstanttoJodaTime(org.threeten.bp.Instant threetenInstant)static longtoSeconds(org.joda.time.Instant jodaInstant)static org.threeten.bp.InstanttoThreetenInstant(org.joda.time.Instant jodaInstant)
-
-
-
Method Detail
-
toThreetenInstant
public static org.threeten.bp.Instant toThreetenInstant(org.joda.time.Instant jodaInstant)
-
toJodaTime
public static org.joda.time.Instant toJodaTime(org.threeten.bp.Instant threetenInstant)
-
toSeconds
public static long toSeconds(org.joda.time.Instant jodaInstant)
-
microsecondToInstant
public static org.joda.time.Instant microsecondToInstant(long microsecond)
-
-