OmniSciDB  085a039ca4
 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 626 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 627 of file HeavyDBSqlOperatorTable.java.

627  {
628  super("KEY_FOR_STRING",
629  SqlKind.OTHER_FUNCTION,
630  null,
631  null,
632  OperandTypes.STRING,
633  SqlFunctionCategory.SYSTEM);
634  }

Member Function Documentation

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

Definition at line 637 of file HeavyDBSqlOperatorTable.java.

637  {
638  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
639  return typeFactory.createTypeWithNullability(
640  typeFactory.createSqlType(SqlTypeName.INTEGER),
641  opBinding.getOperandType(0).isNullable());
642  }

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