OmniSciDB  b24e664e58
 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 554 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 555 of file MapDSqlOperatorTable.java.

555  {
556  super("CHAR_LENGTH",
557  SqlKind.OTHER_FUNCTION,
558  null,
559  null,
560  OperandTypes.STRING,
561  SqlFunctionCategory.SYSTEM);
562  }

Member Function Documentation

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

Definition at line 565 of file MapDSqlOperatorTable.java.

565  {
566  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
567  return typeFactory.createSqlType(SqlTypeName.INTEGER);
568  }

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