com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Dateadd.Dateadd |
( |
| ) |
|
|
inline |
Definition at line 528 of file HeavyDBSqlOperatorTable.java.
530 SqlKind.OTHER_FUNCTION,
533 OperandTypes.family(SqlTypeFamily.STRING,
534 SqlTypeFamily.INTEGER,
535 SqlTypeFamily.DATETIME),
536 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Dateadd.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 540 of file HeavyDBSqlOperatorTable.java.
541 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
542 return typeFactory.createTypeWithNullability(
543 typeFactory.createSqlType(
544 SqlTypeName.TIMESTAMP, opBinding.getOperandType(2).getPrecision()),
545 opBinding.getOperandType(2).isNullable());
The documentation for this class was generated from the following file: