OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 348 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 349 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.RowCopier.signature().

349  {
350  super("ROW_COPIER",
351  SqlKind.OTHER_FUNCTION,
352  null,
353  null,
354  OperandTypes.family(signature()),
355  SqlFunctionCategory.USER_DEFINED_TABLE_FUNCTION);
356  }
static java.util.List< SqlTypeFamily > signature()

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 359 of file MapDSqlOperatorTable.java.

References assert().

359  {
360  assert opBinding.getOperandCount() == 2;
361  return opBinding.getCursorOperand(0);
362  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:

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

Definition at line 364 of file MapDSqlOperatorTable.java.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.RowCopier.RowCopier().

364  {
365  java.util.List<SqlTypeFamily> sig_family = new java.util.ArrayList<SqlTypeFamily>();
366  sig_family.add(SqlTypeFamily.CURSOR);
367  sig_family.add(SqlTypeFamily.ANY);
368  return sig_family;
369  }

+ Here is the caller graph for this function:


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