OmniSciDB  4201147b46
 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 606 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 607 of file HeavyDBSqlOperatorTable.java.

607  {
608  super("CHAR_LENGTH",
609  SqlKind.OTHER_FUNCTION,
610  null,
611  null,
612  OperandTypes.STRING,
613  SqlFunctionCategory.SYSTEM);
614  }

Member Function Documentation

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

Definition at line 617 of file HeavyDBSqlOperatorTable.java.

617  {
618  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
619  return typeFactory.createSqlType(SqlTypeName.INTEGER);
620  }

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