OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.DeviceSelectionUdtfCpu Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.DeviceSelectionUdtfCpu:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.DeviceSelectionUdtfCpu:

Public Member Functions

 DeviceSelectionUdtfCpu ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 509 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 510 of file MapDSqlOperatorTable.java.

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

510  {
511  super("CT_DEVICE_SELECTION_UDTF_CPU",
512  SqlKind.OTHER_FUNCTION,
513  null,
514  null,
515  OperandTypes.family(signature()),
516  SqlFunctionCategory.USER_DEFINED_TABLE_FUNCTION);
517  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 520 of file MapDSqlOperatorTable.java.

520  {
521  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
522  java.util.List<RelDataType> typeList = new java.util.ArrayList<RelDataType>();
523  java.util.List<java.lang.String> fieldNameList =
524  new java.util.ArrayList<java.lang.String>();
525  fieldNameList.add("out0");
526  typeList.add(typeFactory.createSqlType(SqlTypeName.INTEGER));
527  return typeFactory.createStructType(typeList, fieldNameList);
528  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.DeviceSelectionUdtfCpu.signature ( )
inlinestaticprivate

Definition at line 530 of file MapDSqlOperatorTable.java.

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

530  {
531  java.util.List<SqlTypeFamily> sig_family = new java.util.ArrayList<SqlTypeFamily>();
532  sig_family.add(SqlTypeFamily.CURSOR);
533  return sig_family;
534  }

+ Here is the caller graph for this function:


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