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

Public Member Functions

 ArrayLength ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 558 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ArrayLength()

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

Definition at line 559 of file MapDSqlOperatorTable.java.

559  {
560  super("ARRAY_LENGTH",
561  SqlKind.OTHER_FUNCTION,
562  null,
563  null,
564  OperandTypes.ARRAY,
565  SqlFunctionCategory.SYSTEM);
566  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 569 of file MapDSqlOperatorTable.java.

569  {
570  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
571  return typeFactory.createSqlType(SqlTypeName.INTEGER);
572  }

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