OmniSciDB  8fa3bf436f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1687 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1688 of file MapDSqlOperatorTable.java.

1688  {
1689  super("OFFSET_IN_FRAGMENT",
1690  SqlKind.OTHER_FUNCTION,
1691  null,
1692  null,
1693  OperandTypes.NILADIC,
1694  SqlFunctionCategory.SYSTEM);
1695  }

Member Function Documentation

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

Definition at line 1698 of file MapDSqlOperatorTable.java.

References BIGINT.

1698  {
1699  assert opBinding.getOperandCount() == 0;
1700  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1701  return typeFactory.createSqlType(SqlTypeName.BIGINT);
1702  }
#define BIGINT

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