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

Public Member Functions

 DeviceSelectionUdtfAny ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 481 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 482 of file MapDSqlOperatorTable.java.

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

482  {
483  super("CT_DEVICE_SELECTION_UDTF_ANY",
484  SqlKind.OTHER_FUNCTION,
485  null,
486  null,
487  OperandTypes.family(signature()),
488  SqlFunctionCategory.USER_DEFINED_TABLE_FUNCTION);
489  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 492 of file MapDSqlOperatorTable.java.

492  {
493  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
494  java.util.List<RelDataType> typeList = new java.util.ArrayList<RelDataType>();
495  java.util.List<java.lang.String> fieldNameList =
496  new java.util.ArrayList<java.lang.String>();
497  fieldNameList.add("out0");
498  typeList.add(typeFactory.createSqlType(SqlTypeName.INTEGER));
499  return typeFactory.createStructType(typeList, fieldNameList);
500  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.DeviceSelectionUdtfAny.signature ( )
inlinestaticprivate

Definition at line 502 of file MapDSqlOperatorTable.java.

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

502  {
503  java.util.List<SqlTypeFamily> sig_family = new java.util.ArrayList<SqlTypeFamily>();
504  sig_family.add(SqlTypeFamily.CURSOR);
505  return sig_family;
506  }

+ Here is the caller graph for this function:


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