OmniSciDB  b24e664e58
 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 590 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 591 of file MapDSqlOperatorTable.java.

591  {
592  super("ARRAY_LENGTH",
593  SqlKind.OTHER_FUNCTION,
594  null,
595  null,
596  OperandTypes.ARRAY,
597  SqlFunctionCategory.SYSTEM);
598  }

Member Function Documentation

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

Definition at line 601 of file MapDSqlOperatorTable.java.

601  {
602  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
603  return typeFactory.createSqlType(SqlTypeName.INTEGER);
604  }

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