OmniSciDB  1dac507f6e
 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 310 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 311 of file MapDSqlOperatorTable.java.

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

311  {
312  super("ROW_COPIER",
313  SqlKind.OTHER_FUNCTION,
314  null,
315  null,
316  OperandTypes.family(signature()),
317  SqlFunctionCategory.USER_DEFINED_TABLE_FUNCTION);
318  }
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 321 of file MapDSqlOperatorTable.java.

References assert().

321  {
322  assert opBinding.getOperandCount() == 2;
323  return opBinding.getCursorOperand(0);
324  }
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 326 of file MapDSqlOperatorTable.java.

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

326  {
327  java.util.List<SqlTypeFamily> sig_family = new java.util.ArrayList<SqlTypeFamily>();
328  sig_family.add(SqlTypeFamily.CURSOR);
329  sig_family.add(SqlTypeFamily.ANY);
330  return sig_family;
331  }

+ Here is the caller graph for this function:


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