public abstract class MoveIterator extends TsIterator
This iterator my simplify processing iterators.
Extending classes need to implement getNext() only.
schema
Constructor and Description |
---|
MoveIterator(TsSchema schema) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Signals that iterator does not contain a next element.
|
protected abstract TsEntry |
getNext()
Request next element.
|
boolean |
hasNext()
redirects processing to getNext()
|
TsEntry |
next()
redirects processing to getNext()
|
getNames, getSchema, isLive, isNotLive, toSchemas, toString, toTimeSeries, toTimestampSeries, writeConsole, writeConsole, writeCSV
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProcessingChain, getProcessingTitle
createUnknown, of
createUnknown
public MoveIterator(TsSchema schema)
public final boolean hasNext()
public final TsEntry next()
protected abstract TsEntry getNext()
It's guaranteed to not be called again when it first returns null (no next element).
This method should be called by MoveIterator internal only.
public void close()