com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Datediff.Datediff |
( |
| ) |
|
|
inline |
Definition at line 602 of file HeavyDBSqlOperatorTable.java.
604 SqlKind.OTHER_FUNCTION,
607 OperandTypes.family(SqlTypeFamily.STRING,
608 SqlTypeFamily.DATETIME,
609 SqlTypeFamily.DATETIME),
610 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Datediff.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 614 of file HeavyDBSqlOperatorTable.java.
615 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
616 return typeFactory.createTypeWithNullability(
617 typeFactory.createSqlType(SqlTypeName.BIGINT),
618 opBinding.getOperandType(1).isNullable()
619 || opBinding.getOperandType(2).isNullable());
The documentation for this class was generated from the following file: