com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Datepart.Datepart |
( |
| ) |
|
|
inline |
Definition at line 566 of file HeavyDBSqlOperatorTable.java.
568 SqlKind.OTHER_FUNCTION,
571 OperandTypes.family(SqlTypeFamily.STRING, SqlTypeFamily.DATETIME),
572 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Datepart.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 576 of file HeavyDBSqlOperatorTable.java.
577 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
578 return typeFactory.createTypeWithNullability(
579 typeFactory.createSqlType(SqlTypeName.BIGINT),
580 opBinding.getOperandType(1).isNullable());
The documentation for this class was generated from the following file: