public class RowLimitProcessor extends Object
Constructor and Description |
---|
RowLimitProcessor(VariableReader numRowsVariableReader,
VariableReader offsetVariableReader,
int currentRowLimit,
int currentOffset) |
Modifier and Type | Method and Description |
---|---|
protected EventBean[] |
applyLimit(EventBean[] outgoingEvents) |
protected void |
determineCurrentLimit() |
protected EventBean[] |
determineLimitAndApply(EventBean[] outgoingEvents)
Determine the current limit and applies the limiting function to outgoing events.
|
int |
getCurrentOffset() |
int |
getCurrentRowLimit() |
public RowLimitProcessor(VariableReader numRowsVariableReader, VariableReader offsetVariableReader, int currentRowLimit, int currentOffset)
public int getCurrentRowLimit()
public int getCurrentOffset()
protected EventBean[] determineLimitAndApply(EventBean[] outgoingEvents)
outgoingEvents
- unlimitedprotected void determineCurrentLimit()