OmniSciDB  04ee39c94c
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 1316 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ OffsetInFragment()

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

Definition at line 1317 of file MapDSqlOperatorTable.java.

1317  {
1318  super("OFFSET_IN_FRAGMENT",
1319  SqlKind.OTHER_FUNCTION,
1320  null,
1321  null,
1322  OperandTypes.NILADIC,
1323  SqlFunctionCategory.SYSTEM);
1324  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1327 of file MapDSqlOperatorTable.java.

1327  {
1328  assert opBinding.getOperandCount() == 0;
1329  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1330  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1331  }

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