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

Public Member Functions

 OffsetInFragment ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 2179 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2180 of file HeavyDBSqlOperatorTable.java.

2180  {
2181  super("OFFSET_IN_FRAGMENT",
2182  SqlKind.OTHER_FUNCTION,
2183  null,
2184  null,
2185  OperandTypes.NILADIC,
2186  SqlFunctionCategory.SYSTEM);
2187  }

Member Function Documentation

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

Definition at line 2190 of file HeavyDBSqlOperatorTable.java.

2190  {
2191  assert opBinding.getOperandCount() == 0;
2192  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2193  return typeFactory.createSqlType(SqlTypeName.BIGINT);
2194  }

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