OmniSciDB  085a039ca4
 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 697 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 698 of file HeavyDBSqlOperatorTable.java.

698  {
699  super("ARRAY_LENGTH",
700  SqlKind.OTHER_FUNCTION,
701  null,
702  null,
703  OperandTypes.ARRAY,
704  SqlFunctionCategory.SYSTEM);
705  }

Member Function Documentation

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

Definition at line 708 of file HeavyDBSqlOperatorTable.java.

708  {
709  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
710  return typeFactory.createSqlType(SqlTypeName.INTEGER);
711  }

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