OmniSciDB  16c4e035a1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1748 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1749 of file MapDSqlOperatorTable.java.

1749  {
1750  super("OFFSET_IN_FRAGMENT",
1751  SqlKind.OTHER_FUNCTION,
1752  null,
1753  null,
1754  OperandTypes.NILADIC,
1755  SqlFunctionCategory.SYSTEM);
1756  }

Member Function Documentation

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

Definition at line 1759 of file MapDSqlOperatorTable.java.

References BIGINT.

1759  {
1760  assert opBinding.getOperandCount() == 0;
1761  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1762  return typeFactory.createSqlType(SqlTypeName.BIGINT);
1763  }
#define BIGINT

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