Class BigQueryUtils.TimestampPicos

  • Enclosing class:
    BigQueryUtils

    public static class BigQueryUtils.TimestampPicos
    extends java.lang.Object
    Represents 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.TimestampPicos fromString​(java.lang.String timestampString)
      Parses a timestamp string into seconds and picoseconds components.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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"