OmniSciDB  06b3bd477c
 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 347 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 348 of file MapDSqlOperatorTable.java.

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

348  {
349  super("ROW_COPIER",
350  SqlKind.OTHER_FUNCTION,
351  null,
352  null,
353  OperandTypes.family(signature()),
354  SqlFunctionCategory.USER_DEFINED_TABLE_FUNCTION);
355  }
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 358 of file MapDSqlOperatorTable.java.

References assert().

358  {
359  assert opBinding.getOperandCount() == 2;
360  return opBinding.getCursorOperand(0);
361  }
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 363 of file MapDSqlOperatorTable.java.

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

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

+ Here is the caller graph for this function:


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