com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Dateadd.Dateadd |
( |
| ) |
|
|
inline |
Definition at line 566 of file HeavyDBSqlOperatorTable.java.
568 SqlKind.OTHER_FUNCTION,
571 OperandTypes.family(SqlTypeFamily.STRING,
572 SqlTypeFamily.INTEGER,
573 SqlTypeFamily.DATETIME),
574 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Dateadd.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 578 of file HeavyDBSqlOperatorTable.java.
579 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
580 return typeFactory.createTypeWithNullability(
581 typeFactory.createSqlType(
582 SqlTypeName.TIMESTAMP, opBinding.getOperandType(2).getPrecision()),
583 opBinding.getOperandType(2).isNullable());
The documentation for this class was generated from the following file: