OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 283 of file MapDSqlOperatorTable.java.

Member Function Documentation

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

Definition at line 295 of file MapDSqlOperatorTable.java.

295  {
296  if (callBinding.operands().isEmpty()) {
297  return true;
298  }
299  return super.checkOperandTypes(callBinding, throwOnFailure);
300  }
RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.SqlArrayValueConstructorAllowingEmpty.getComponentType ( RelDataTypeFactory  typeFactory,
List< RelDataType >  argTypes 
)
inlineprotected

Definition at line 286 of file MapDSqlOperatorTable.java.

287  {
288  if (argTypes.isEmpty()) {
289  return typeFactory.createSqlType(SqlTypeName.NULL);
290  }
291  return super.getComponentType(typeFactory, argTypes);
292  }

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