public class ProcessorStatusEnumerator extends Object implements org.apache.calcite.linq4j.Enumerator<Object>
| Modifier and Type | Field and Description |
|---|---|
private ReportingContext |
context |
private Object |
currentRow |
private int[] |
fields |
private Deque<Iterator<ProcessGroupStatus>> |
iteratorBreadcrumb |
private ComponentLog |
logger |
private Iterator<ProcessorStatus> |
processorStatusIterator |
private int |
recordsRead |
| Constructor and Description |
|---|
ProcessorStatusEnumerator(ReportingContext context,
ComponentLog logger,
int[] fields) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
current() |
private Object |
filterColumns(ProcessorStatus status) |
private ProcessorStatus |
getNextProcessorStatus() |
protected int |
getRecordsRead() |
boolean |
moveNext() |
protected void |
onFinish() |
void |
reset() |
private final ReportingContext context
private final ComponentLog logger
private final int[] fields
private Deque<Iterator<ProcessGroupStatus>> iteratorBreadcrumb
private Iterator<ProcessorStatus> processorStatusIterator
private Object currentRow
private int recordsRead
public ProcessorStatusEnumerator(ReportingContext context, ComponentLog logger, int[] fields)
public Object current()
current in interface org.apache.calcite.linq4j.Enumerator<Object>public boolean moveNext()
moveNext in interface org.apache.calcite.linq4j.Enumerator<Object>protected int getRecordsRead()
protected void onFinish()
private Object filterColumns(ProcessorStatus status)
public void reset()
reset in interface org.apache.calcite.linq4j.Enumerator<Object>public void close()
close in interface AutoCloseableclose in interface org.apache.calcite.linq4j.Enumerator<Object>private ProcessorStatus getNextProcessorStatus()
Copyright © 2022 Apache NiFi Project. All rights reserved.