OmniSciDB  8a228a1076
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 373 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ PgUnnest()

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

Definition at line 374 of file MapDSqlOperatorTable.java.

374  {
375  super("PG_UNNEST",
376  SqlKind.OTHER_FUNCTION,
377  null,
378  null,
379  OperandTypes.ARRAY,
380  SqlFunctionCategory.SYSTEM);
381  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 384 of file MapDSqlOperatorTable.java.

384  {
385  assert opBinding.getOperandCount() == 1;
386  RelDataType elem_type = opBinding.getOperandType(0).getComponentType();
387  assert elem_type != null;
388  return elem_type;
389  }

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