public class DateOperators
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static BeamSqlOperator |
DATETIME_CEIL
Implementation of CEIL(date or time TO unit).
|
static BeamSqlOperator |
DATETIME_FLOOR
Implementation of FLOOR(date or time TO unit).
|
static BeamSqlOperator |
EXTRACT
BeamSqlOperator for EXTRACT. |
| Constructor and Description |
|---|
DateOperators() |
public static final BeamSqlOperator DATETIME_CEIL
Only supports months and years.
public static final BeamSqlOperator DATETIME_FLOOR
Only supports months and years.
public static final BeamSqlOperator EXTRACT
BeamSqlOperator for EXTRACT.
The following date functions also implicitly converted to EXTRACT: