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

public class DateTime extends Object implements Schema.LogicalType<LocalDateTime,Row>
A datetime without a time-zone.

It cannot represent an instant on the time-line without additional information such as an offset or time-zone.

Its input type is a LocalDateTime, and base type is a Row containing Date field and Time field. Date field is the same as the base type of Date, which is a Long that represents incrementing count of days where day 0 is 1970-01-01 (ISO). Time field is the same as the base type of Time, which is a Long that represents a count of time in nanoseconds.

See Also: