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