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