OmniSciDB  dfae7c3b14
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 496 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ Any()

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

Definition at line 497 of file MapDSqlOperatorTable.java.

497  {
498  super("PG_ANY",
499  SqlKind.OTHER_FUNCTION,
500  null,
501  null,
502  OperandTypes.ARRAY,
503  SqlFunctionCategory.SYSTEM);
504  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 507 of file MapDSqlOperatorTable.java.

507  {
508  assert opBinding.getOperandCount() == 1;
509  RelDataType elem_type = opBinding.getOperandType(0).getComponentType();
510  assert elem_type != null;
511  return elem_type;
512  }

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