Class BigQueryUtils.TimestampPicos
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtils.TimestampPicos
-
- Enclosing class:
- BigQueryUtils
public static class BigQueryUtils.TimestampPicos extends java.lang.ObjectRepresents a timestamp with picosecond precision, split into seconds and picoseconds components.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BigQueryUtils.TimestampPicosfromString(java.lang.String timestampString)Parses a timestamp string into seconds and picoseconds components.
-
-
-
Method Detail
-
fromString
public static BigQueryUtils.TimestampPicos fromString(java.lang.String timestampString)
Parses a timestamp string into seconds and picoseconds components.Handles two formats:
- ISO format with exactly 12 fractional digits ending in Z (picosecond precision): e.g., "2024-01-15T10:30:45.123456789012Z"
- UTC format with 0-9 fractional digits ending in "UTC" (up to nanosecond precision): e.g., "2024-01-15 10:30:45.123456789 UTC", "2024-01-15 10:30:45 UTC"
-
-