OmniSciDB  a987f07e93
 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 2453 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2454 of file HeavyDBSqlOperatorTable.java.

2454  {
2455  super("OFFSET_IN_FRAGMENT",
2456  SqlKind.OTHER_FUNCTION,
2457  null,
2458  null,
2459  OperandTypes.NILADIC,
2460  SqlFunctionCategory.SYSTEM);
2461  }

Member Function Documentation

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

Definition at line 2464 of file HeavyDBSqlOperatorTable.java.

2464  {
2465  assert opBinding.getOperandCount() == 0;
2466  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2467  return typeFactory.createSqlType(SqlTypeName.BIGINT);
2468  }

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