OmniSciDB  dfae7c3b14
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 1778 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ OffsetInFragment()

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

Definition at line 1779 of file MapDSqlOperatorTable.java.

1779  {
1780  super("OFFSET_IN_FRAGMENT",
1781  SqlKind.OTHER_FUNCTION,
1782  null,
1783  null,
1784  OperandTypes.NILADIC,
1785  SqlFunctionCategory.SYSTEM);
1786  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1789 of file MapDSqlOperatorTable.java.

1789  {
1790  assert opBinding.getOperandCount() == 0;
1791  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1792  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1793  }

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