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

Public Member Functions

boolean checkOperandTypes (SqlCallBinding callBinding, boolean throwOnFailure)
 

Protected Member Functions

RelDataType getComponentType (RelDataTypeFactory typeFactory, List< RelDataType > argTypes)
 

Detailed Description

Definition at line 360 of file HeavyDBSqlOperatorTable.java.

Member Function Documentation

boolean com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SqlArrayValueConstructorAllowingEmpty.checkOperandTypes ( SqlCallBinding  callBinding,
boolean  throwOnFailure 
)
inline

Definition at line 372 of file HeavyDBSqlOperatorTable.java.

372  {
373  if (callBinding.operands().isEmpty()) {
374  return true;
375  }
376  return super.checkOperandTypes(callBinding, throwOnFailure);
377  }
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SqlArrayValueConstructorAllowingEmpty.getComponentType ( RelDataTypeFactory  typeFactory,
List< RelDataType >  argTypes 
)
inlineprotected

Definition at line 363 of file HeavyDBSqlOperatorTable.java.

364  {
365  if (argTypes.isEmpty()) {
366  return typeFactory.createSqlType(SqlTypeName.NULL);
367  }
368  return super.getComponentType(typeFactory, argTypes);
369  }

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