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

Public Member Functions

 OffsetInFragment ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 1348 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1349 of file MapDSqlOperatorTable.java.

1349  {
1350  super("OFFSET_IN_FRAGMENT",
1351  SqlKind.OTHER_FUNCTION,
1352  null,
1353  null,
1354  OperandTypes.NILADIC,
1355  SqlFunctionCategory.SYSTEM);
1356  }

Member Function Documentation

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

Definition at line 1359 of file MapDSqlOperatorTable.java.

References assert().

1359  {
1360  assert opBinding.getOperandCount() == 0;
1361  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1362  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1363  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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