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

Public Member Functions

 CharLength ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 522 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 523 of file MapDSqlOperatorTable.java.

523  {
524  super("CHAR_LENGTH",
525  SqlKind.OTHER_FUNCTION,
526  null,
527  null,
528  OperandTypes.STRING,
529  SqlFunctionCategory.SYSTEM);
530  }

Member Function Documentation

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

Definition at line 533 of file MapDSqlOperatorTable.java.

533  {
534  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
535  return typeFactory.createSqlType(SqlTypeName.INTEGER);
536  }

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