OmniSciDB  06b3bd477c
 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 591 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 592 of file MapDSqlOperatorTable.java.

592  {
593  super("CHAR_LENGTH",
594  SqlKind.OTHER_FUNCTION,
595  null,
596  null,
597  OperandTypes.STRING,
598  SqlFunctionCategory.SYSTEM);
599  }

Member Function Documentation

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

Definition at line 602 of file MapDSqlOperatorTable.java.

602  {
603  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
604  return typeFactory.createSqlType(SqlTypeName.INTEGER);
605  }

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