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

Constructor & Destructor Documentation

◆ Length()

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

Definition at line 567 of file MapDSqlOperatorTable.java.

567  {
568  super("LENGTH",
569  SqlKind.OTHER_FUNCTION,
570  null,
571  null,
572  OperandTypes.STRING,
573  SqlFunctionCategory.SYSTEM);
574  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 577 of file MapDSqlOperatorTable.java.

577  {
578  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
579  return typeFactory.createSqlType(SqlTypeName.INTEGER);
580  }

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