OmniSciDB  6686921089
 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 1747 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1748 of file MapDSqlOperatorTable.java.

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

Member Function Documentation

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

Definition at line 1758 of file MapDSqlOperatorTable.java.

References BIGINT.

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

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