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