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

Public Member Functions

 RowCopier ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

static java.util.List< SqlTypeFamily > signature ()
 

Detailed Description

Table-level functions

Definition at line 339 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ RowCopier()

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

Definition at line 340 of file MapDSqlOperatorTable.java.

340  {
341  super("ROW_COPIER",
342  SqlKind.OTHER_FUNCTION,
343  null,
344  null,
345  OperandTypes.family(signature()),
346  SqlFunctionCategory.USER_DEFINED_TABLE_FUNCTION);
347  }
static java.util.List< SqlTypeFamily > signature()

Member Function Documentation

◆ inferReturnType()

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

Definition at line 350 of file MapDSqlOperatorTable.java.

350  {
351  assert opBinding.getOperandCount() == 2;
352  return opBinding.getCursorOperand(0);
353  }

◆ signature()

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.RowCopier.signature ( )
inlinestaticprivate

Definition at line 355 of file MapDSqlOperatorTable.java.

355  {
356  java.util.List<SqlTypeFamily> sig_family = new java.util.ArrayList<SqlTypeFamily>();
357  sig_family.add(SqlTypeFamily.CURSOR);
358  sig_family.add(SqlTypeFamily.ANY);
359  return sig_family;
360  }

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