OmniSciDB  a987f07e93
 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 657 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 658 of file HeavyDBSqlOperatorTable.java.

658  {
659  super("KEY_FOR_STRING",
660  SqlKind.OTHER_FUNCTION,
661  null,
662  null,
663  OperandTypes.STRING,
664  SqlFunctionCategory.SYSTEM);
665  }

Member Function Documentation

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

Definition at line 668 of file HeavyDBSqlOperatorTable.java.

668  {
669  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
670  return typeFactory.createTypeWithNullability(
671  typeFactory.createSqlType(SqlTypeName.INTEGER),
672  opBinding.getOperandType(0).isNullable());
673  }

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