OmniSciDB  29e35f4d58
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 583 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ CharLength()

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

Definition at line 584 of file MapDSqlOperatorTable.java.

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

Member Function Documentation

◆ inferReturnType()

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

Definition at line 594 of file MapDSqlOperatorTable.java.

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

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