Class MicrosInstant

java.lang.Object
org.apache.beam.sdk.schemas.logicaltypes.MicrosInstant
All Implemented Interfaces:
Serializable, Schema.LogicalType<Instant,Row>

public class MicrosInstant extends Object implements Schema.LogicalType<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: