OmniSciDB  dfae7c3b14
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 695 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ CharLength()

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

Definition at line 696 of file MapDSqlOperatorTable.java.

696  {
697  super("CHAR_LENGTH",
698  SqlKind.OTHER_FUNCTION,
699  null,
700  null,
701  OperandTypes.STRING,
702  SqlFunctionCategory.SYSTEM);
703  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 706 of file MapDSqlOperatorTable.java.

706  {
707  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
708  return typeFactory.createSqlType(SqlTypeName.INTEGER);
709  }

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