OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.KeyForString Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.KeyForString:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.KeyForString:

Public Member Functions

 KeyForString ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 683 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.KeyForString.KeyForString ( )
inline

Definition at line 684 of file HeavyDBSqlOperatorTable.java.

684  {
685  super("KEY_FOR_STRING",
686  SqlKind.OTHER_FUNCTION,
687  null,
688  null,
689  OperandTypes.STRING,
690  SqlFunctionCategory.SYSTEM);
691  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.KeyForString.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 694 of file HeavyDBSqlOperatorTable.java.

694  {
695  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
696  return typeFactory.createTypeWithNullability(
697  typeFactory.createSqlType(SqlTypeName.INTEGER),
698  opBinding.getOperandType(0).isNullable());
699  }

The documentation for this class was generated from the following file: