OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 584 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 585 of file MapDSqlOperatorTable.java.

585  {
586  super("CHAR_LENGTH",
587  SqlKind.OTHER_FUNCTION,
588  null,
589  null,
590  OperandTypes.STRING,
591  SqlFunctionCategory.SYSTEM);
592  }

Member Function Documentation

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

Definition at line 595 of file MapDSqlOperatorTable.java.

References INTEGER.

595  {
596  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
597  return typeFactory.createSqlType(SqlTypeName.INTEGER);
598  }
#define INTEGER

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