OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.SqlArrayValueConstructorAllowingEmpty Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.SqlArrayValueConstructorAllowingEmpty:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 278 of file MapDSqlOperatorTable.java.

Member Function Documentation

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

Definition at line 290 of file MapDSqlOperatorTable.java.

290  {
291  if (callBinding.operands().isEmpty()) {
292  return true;
293  }
294  return super.checkOperandTypes(callBinding, throwOnFailure);
295  }
RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.SqlArrayValueConstructorAllowingEmpty.getComponentType ( RelDataTypeFactory  typeFactory,
List< RelDataType >  argTypes 
)
inlineprotected

Definition at line 281 of file MapDSqlOperatorTable.java.

282  {
283  if (argTypes.isEmpty()) {
284  return typeFactory.createSqlType(SqlTypeName.NULL);
285  }
286  return super.getComponentType(typeFactory, argTypes);
287  }

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