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

Public Member Functions

 GetMaxWithRowOffset ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 445 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 446 of file MapDSqlOperatorTable.java.

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

446  {
447  super("GET_MAX_WITH_ROW_OFFSET",
448  SqlKind.OTHER_FUNCTION,
449  null,
450  null,
451  OperandTypes.family(signature()),
452  SqlFunctionCategory.USER_DEFINED_TABLE_FUNCTION);
453  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 456 of file MapDSqlOperatorTable.java.

456  {
457  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
458  java.util.List<RelDataType> typeList = new java.util.ArrayList<RelDataType>();
459  java.util.List<java.lang.String> fieldNameList =
460  new java.util.ArrayList<java.lang.String>();
461  fieldNameList.add("out0");
462  fieldNameList.add("out1");
463  typeList.add(typeFactory.createSqlType(SqlTypeName.INTEGER));
464  typeList.add(typeFactory.createSqlType(SqlTypeName.INTEGER));
465  return typeFactory.createStructType(typeList, fieldNameList);
466  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.GetMaxWithRowOffset.signature ( )
inlinestaticprivate

Definition at line 468 of file MapDSqlOperatorTable.java.

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

468  {
469  java.util.List<SqlTypeFamily> sig_family = new java.util.ArrayList<SqlTypeFamily>();
470  sig_family.add(SqlTypeFamily.CURSOR);
471  return sig_family;
472  }

+ Here is the caller graph for this function:


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