Definition at line 731 of file MapDSqlOperatorTable.java.
com.mapd.calcite.parser.MapDSqlOperatorTable.Dateadd.Dateadd |
( |
| ) |
|
|
inline |
Definition at line 732 of file MapDSqlOperatorTable.java.
734 SqlKind.OTHER_FUNCTION,
737 OperandTypes.family(SqlTypeFamily.STRING,
738 SqlTypeFamily.INTEGER,
739 SqlTypeFamily.DATETIME),
740 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.Dateadd.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 744 of file MapDSqlOperatorTable.java.
745 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
746 return typeFactory.createTypeWithNullability(
747 typeFactory.createSqlType(
748 SqlTypeName.TIMESTAMP, opBinding.getOperandType(2).getPrecision()),
749 opBinding.getOperandType(2).isNullable());
The documentation for this class was generated from the following file: