Class MicrosInstant

  • All Implemented Interfaces:
    java.io.Serializable, Schema.LogicalType<java.time.Instant,​Row>

    public class MicrosInstant
    extends java.lang.Object
    implements Schema.LogicalType<java.time.Instant,​Row>
    A timestamp represented as microseconds since the epoch.

    WARNING: This logical type exists solely for interoperability with other type systems such as SQL and other Beam SDKs. It should never be used in a native Java context where the java.time.Instant instances it describes may have higher than microsecond precision. Ignoring this will likely result in an AssertionError at pipeline execution time.

    For a more faithful logical type to use with java.time.Instant, see NanosInstant.

    See Also:
    Serialized Form