OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSqlOperatorTable.PgUnnest Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.PgUnnest:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.PgUnnest:

Public Member Functions

 PgUnnest ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 303 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ PgUnnest()

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

Definition at line 304 of file MapDSqlOperatorTable.java.

304  {
305  super("PG_UNNEST",
306  SqlKind.OTHER_FUNCTION,
307  null,
308  null,
309  OperandTypes.ARRAY,
310  SqlFunctionCategory.SYSTEM);
311  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 314 of file MapDSqlOperatorTable.java.

314  {
315  assert opBinding.getOperandCount() == 1;
316  RelDataType elem_type = opBinding.getOperandType(0).getComponentType();
317  assert elem_type != null;
318  return elem_type;
319  }

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