OmniSciDB  85c2d10cdc
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 638 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 639 of file MapDSqlOperatorTable.java.

639  {
640  super("ARRAY_LENGTH",
641  SqlKind.OTHER_FUNCTION,
642  null,
643  null,
644  OperandTypes.ARRAY,
645  SqlFunctionCategory.SYSTEM);
646  }

Member Function Documentation

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

Definition at line 649 of file MapDSqlOperatorTable.java.

References INTEGER.

649  {
650  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
651  return typeFactory.createSqlType(SqlTypeName.INTEGER);
652  }
#define INTEGER

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