OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 672 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 673 of file MapDSqlOperatorTable.java.

673  {
674  super("ARRAY_LENGTH",
675  SqlKind.OTHER_FUNCTION,
676  null,
677  null,
678  OperandTypes.ARRAY,
679  SqlFunctionCategory.SYSTEM);
680  }

Member Function Documentation

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

Definition at line 683 of file MapDSqlOperatorTable.java.

References INTEGER.

683  {
684  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
685  return typeFactory.createSqlType(SqlTypeName.INTEGER);
686  }
#define INTEGER

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