OmniSciDB  95562058bd
 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 652 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 653 of file MapDSqlOperatorTable.java.

653  {
654  super("ARRAY_LENGTH",
655  SqlKind.OTHER_FUNCTION,
656  null,
657  null,
658  OperandTypes.ARRAY,
659  SqlFunctionCategory.SYSTEM);
660  }

Member Function Documentation

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

Definition at line 663 of file MapDSqlOperatorTable.java.

663  {
664  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
665  return typeFactory.createSqlType(SqlTypeName.INTEGER);
666  }

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