OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ArrayLength Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ArrayLength:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ArrayLength:

Public Member Functions

 ArrayLength ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 740 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 741 of file HeavyDBSqlOperatorTable.java.

741  {
742  super("ARRAY_LENGTH",
743  SqlKind.OTHER_FUNCTION,
744  null,
745  null,
746  OperandTypes.ARRAY,
747  SqlFunctionCategory.SYSTEM);
748  }

Member Function Documentation

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

Definition at line 751 of file HeavyDBSqlOperatorTable.java.

751  {
752  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
753  return typeFactory.createSqlType(SqlTypeName.INTEGER);
754  }

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