Class BigQueryUtils.TimestampPicos
java.lang.Object
org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtils.TimestampPicos
- Enclosing class:
BigQueryUtils
Represents a timestamp with picosecond precision, split into seconds and picoseconds
components.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BigQueryUtils.TimestampPicosfromString(String timestampString) Parses a timestamp string into seconds and picoseconds components.
-
Method Details
-
fromString
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"
-