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

Public Member Functions

 KeyForString ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 830 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 831 of file MapDSqlOperatorTable.java.

831  {
832  super("KEY_FOR_STRING",
833  SqlKind.OTHER_FUNCTION,
834  null,
835  null,
836  OperandTypes.STRING,
837  SqlFunctionCategory.SYSTEM);
838  }

Member Function Documentation

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

Definition at line 841 of file MapDSqlOperatorTable.java.

841  {
842  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
843  return typeFactory.createTypeWithNullability(
844  typeFactory.createSqlType(SqlTypeName.INTEGER),
845  opBinding.getOperandType(0).isNullable());
846  }

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