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

Public Member Functions

 DeviceSelectionUdtfBoth ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 565 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 566 of file MapDSqlOperatorTable.java.

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

566  {
567  super("CT_DEVICE_SELECTION_UDTF_BOTH",
568  SqlKind.OTHER_FUNCTION,
569  null,
570  null,
571  OperandTypes.family(signature()),
572  SqlFunctionCategory.USER_DEFINED_TABLE_FUNCTION);
573  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 576 of file MapDSqlOperatorTable.java.

576  {
577  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
578  java.util.List<RelDataType> typeList = new java.util.ArrayList<RelDataType>();
579  java.util.List<java.lang.String> fieldNameList =
580  new java.util.ArrayList<java.lang.String>();
581  fieldNameList.add("out0");
582  typeList.add(typeFactory.createSqlType(SqlTypeName.INTEGER));
583  return typeFactory.createStructType(typeList, fieldNameList);
584  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.DeviceSelectionUdtfBoth.signature ( )
inlinestaticprivate

Definition at line 586 of file MapDSqlOperatorTable.java.

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

586  {
587  java.util.List<SqlTypeFamily> sig_family = new java.util.ArrayList<SqlTypeFamily>();
588  sig_family.add(SqlTypeFamily.CURSOR);
589  return sig_family;
590  }

+ Here is the caller graph for this function:


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