Class SqlTypes
- java.lang.Object
-
- org.apache.beam.sdk.schemas.logicaltypes.SqlTypes
-
public class SqlTypes extends java.lang.Object
BeamSchema.LogicalType
s corresponding to SQL data types.
-
-
Field Summary
Fields Modifier and Type Field Description static Schema.LogicalType<java.time.LocalDate,java.lang.Long>
DATE
Beam LogicalType corresponding to ZetaSQL/CalciteSQL DATE type.static Schema.LogicalType<java.time.LocalDateTime,Row>
DATETIME
Beam LogicalType corresponding to ZetaSQL DATETIME type.static Schema.LogicalType<java.time.LocalTime,java.lang.Long>
TIME
Beam LogicalType corresponding to ZetaSQL/CalciteSQL TIME type.static Schema.LogicalType<java.time.Instant,Row>
TIMESTAMP
Beam LogicalType corresponding to ZetaSQL TIMESTAMP type.
-
-
-
Field Detail
-
DATE
public static final Schema.LogicalType<java.time.LocalDate,java.lang.Long> DATE
Beam LogicalType corresponding to ZetaSQL/CalciteSQL DATE type.
-
TIME
public static final Schema.LogicalType<java.time.LocalTime,java.lang.Long> TIME
Beam LogicalType corresponding to ZetaSQL/CalciteSQL TIME type.
-
DATETIME
public static final Schema.LogicalType<java.time.LocalDateTime,Row> DATETIME
Beam LogicalType corresponding to ZetaSQL DATETIME type.
-
TIMESTAMP
public static final Schema.LogicalType<java.time.Instant,Row> TIMESTAMP
Beam LogicalType corresponding to ZetaSQL TIMESTAMP type.
-
-