com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Datediff.Datediff |
( |
| ) |
|
|
inline |
Definition at line 588 of file HeavyDBSqlOperatorTable.java.
590 SqlKind.OTHER_FUNCTION,
593 OperandTypes.family(SqlTypeFamily.STRING,
594 SqlTypeFamily.DATETIME,
595 SqlTypeFamily.DATETIME),
596 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Datediff.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 600 of file HeavyDBSqlOperatorTable.java.
601 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
602 return typeFactory.createTypeWithNullability(
603 typeFactory.createSqlType(SqlTypeName.BIGINT),
604 opBinding.getOperandType(1).isNullable()
605 || opBinding.getOperandType(2).isNullable());
The documentation for this class was generated from the following file: