OmniSciDB  a5dc49c757
 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 2849 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2850 of file HeavyDBSqlOperatorTable.java.

2850  {
2851  super("OFFSET_IN_FRAGMENT",
2852  SqlKind.OTHER_FUNCTION,
2853  null,
2854  null,
2855  OperandTypes.NILADIC,
2856  SqlFunctionCategory.SYSTEM);
2857  }

Member Function Documentation

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

Definition at line 2860 of file HeavyDBSqlOperatorTable.java.

2860  {
2861  assert opBinding.getOperandCount() == 0;
2862  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2863  return typeFactory.createSqlType(SqlTypeName.BIGINT);
2864  }

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