com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgDateTrunc.PgDateTrunc |
( |
| ) |
|
|
inline |
Definition at line 625 of file HeavyDBSqlOperatorTable.java.
626 super(
"PG_DATE_TRUNC",
627 SqlKind.OTHER_FUNCTION,
630 OperandTypes.family(SqlTypeFamily.STRING, SqlTypeFamily.DATETIME),
631 SqlFunctionCategory.SYSTEM);
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgDateTrunc.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 635 of file HeavyDBSqlOperatorTable.java.
636 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
637 return typeFactory.createTypeWithNullability(
638 typeFactory.createSqlType(
639 SqlTypeName.TIMESTAMP, opBinding.getOperandType(1).getPrecision()),
640 opBinding.getOperandType(1).isNullable());
The documentation for this class was generated from the following file: