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

Public Member Functions

 CharLength ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 640 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 641 of file HeavyDBSqlOperatorTable.java.

641  {
642  super("CHAR_LENGTH",
643  SqlKind.OTHER_FUNCTION,
644  null,
645  null,
646  OperandTypes.STRING,
647  SqlFunctionCategory.SYSTEM);
648  }

Member Function Documentation

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

Definition at line 651 of file HeavyDBSqlOperatorTable.java.

651  {
652  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
653  return typeFactory.createSqlType(SqlTypeName.INTEGER);
654  }

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