com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Dateadd.Dateadd |
( |
| ) |
|
|
inline |
Definition at line 578 of file HeavyDBSqlOperatorTable.java.
580 SqlKind.OTHER_FUNCTION,
583 OperandTypes.family(SqlTypeFamily.STRING,
584 SqlTypeFamily.INTEGER,
585 SqlTypeFamily.DATETIME),
586 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Dateadd.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 590 of file HeavyDBSqlOperatorTable.java.
591 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
592 return typeFactory.createTypeWithNullability(
593 typeFactory.createSqlType(
594 SqlTypeName.TIMESTAMP, opBinding.getOperandType(2).getPrecision()),
595 opBinding.getOperandType(2).isNullable());
The documentation for this class was generated from the following file: