OmniSciDB  04ee39c94c
com.mapd.calcite.parser.MapDSqlOperatorTable.Length Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Length:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Length:

Public Member Functions

 Length ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 505 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ Length()

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

Definition at line 506 of file MapDSqlOperatorTable.java.

506  {
507  super("LENGTH",
508  SqlKind.OTHER_FUNCTION,
509  null,
510  null,
511  OperandTypes.STRING,
512  SqlFunctionCategory.SYSTEM);
513  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 516 of file MapDSqlOperatorTable.java.

516  {
517  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
518  return typeFactory.createSqlType(SqlTypeName.INTEGER);
519  }

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