OmniSciDB  a5dc49c757
 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 666 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 667 of file HeavyDBSqlOperatorTable.java.

667  {
668  super("CHAR_LENGTH",
669  SqlKind.OTHER_FUNCTION,
670  null,
671  null,
672  OperandTypes.STRING,
673  SqlFunctionCategory.SYSTEM);
674  }

Member Function Documentation

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

Definition at line 677 of file HeavyDBSqlOperatorTable.java.

677  {
678  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
679  return typeFactory.createSqlType(SqlTypeName.INTEGER);
680  }

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