Definition at line 712 of file MapDSqlOperatorTable.java.
com.mapd.calcite.parser.MapDSqlOperatorTable.Datepart.Datepart |
( |
| ) |
|
|
inline |
Definition at line 713 of file MapDSqlOperatorTable.java.
715 SqlKind.OTHER_FUNCTION,
718 OperandTypes.family(SqlTypeFamily.STRING, SqlTypeFamily.DATETIME),
719 SqlFunctionCategory.TIMEDATE);
RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.Datepart.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 723 of file MapDSqlOperatorTable.java.
724 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
725 return typeFactory.createTypeWithNullability(
726 typeFactory.createSqlType(SqlTypeName.BIGINT),
727 opBinding.getOperandType(1).isNullable());
The documentation for this class was generated from the following file: