OmniSciDB  85c2d10cdc
 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 578 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 579 of file MapDSqlOperatorTable.java.

579  {
580  super("CHAR_LENGTH",
581  SqlKind.OTHER_FUNCTION,
582  null,
583  null,
584  OperandTypes.STRING,
585  SqlFunctionCategory.SYSTEM);
586  }

Member Function Documentation

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

Definition at line 589 of file MapDSqlOperatorTable.java.

References INTEGER.

589  {
590  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
591  return typeFactory.createSqlType(SqlTypeName.INTEGER);
592  }
#define INTEGER

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