OmniSciDB  e465130ba1
 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 619 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 620 of file MapDSqlOperatorTable.java.

620  {
621  super("ARRAY_LENGTH",
622  SqlKind.OTHER_FUNCTION,
623  null,
624  null,
625  OperandTypes.ARRAY,
626  SqlFunctionCategory.SYSTEM);
627  }

Member Function Documentation

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

Definition at line 630 of file MapDSqlOperatorTable.java.

630  {
631  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
632  return typeFactory.createSqlType(SqlTypeName.INTEGER);
633  }

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