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