OmniSciDB  3a86f6ec37
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 873 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ArrayLength()

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

Definition at line 874 of file MapDSqlOperatorTable.java.

874  {
875  super("ARRAY_LENGTH",
876  SqlKind.OTHER_FUNCTION,
877  null,
878  null,
879  OperandTypes.ARRAY,
880  SqlFunctionCategory.SYSTEM);
881  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 884 of file MapDSqlOperatorTable.java.

884  {
885  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
886  return typeFactory.createSqlType(SqlTypeName.INTEGER);
887  }

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