OmniSciDB  29e35f4d58
com.mapd.calcite.parser.MapDSqlOperatorTable.Any Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Any:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Any:

Public Member Functions

 Any ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 384 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ Any()

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

Definition at line 385 of file MapDSqlOperatorTable.java.

385  {
386  super("PG_ANY",
387  SqlKind.OTHER_FUNCTION,
388  null,
389  null,
390  OperandTypes.ARRAY,
391  SqlFunctionCategory.SYSTEM);
392  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 395 of file MapDSqlOperatorTable.java.

395  {
396  assert opBinding.getOperandCount() == 1;
397  RelDataType elem_type = opBinding.getOperandType(0).getComponentType();
398  assert elem_type != null;
399  return elem_type;
400  }

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