OmniSciDB  c07336695a
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 323 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ Any()

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

Definition at line 324 of file MapDSqlOperatorTable.java.

324  {
325  super("PG_ANY",
326  SqlKind.OTHER_FUNCTION,
327  null,
328  null,
329  OperandTypes.ARRAY,
330  SqlFunctionCategory.SYSTEM);
331  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 334 of file MapDSqlOperatorTable.java.

334  {
335  assert opBinding.getOperandCount() == 1;
336  RelDataType elem_type = opBinding.getOperandType(0).getComponentType();
337  assert elem_type != null;
338  return elem_type;
339  }

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