public class SchemaConverterIterator extends InputProcessingIterator
column names that are missing in input iterator are filled with NaN-values.
input_iteratorschema| Constructor and Description |
|---|
SchemaConverterIterator(TsIterator input_iterator,
java.lang.String[] outputSchema,
boolean fillWithNaN)
Creates converter iterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected TsEntry |
getNext()
Request next element.
|
getProcessingChainclose, hasNext, nextgetNames, getSchema, isLive, isNotLive, toSchemas, toString, toTimeSeries, toTimestampSeries, writeConsole, writeConsole, writeCSVclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProcessingTitlecreateUnknown, ofcreateUnknownpublic SchemaConverterIterator(TsIterator input_iterator, java.lang.String[] outputSchema, boolean fillWithNaN)
input_iterator - outputSchema - fillWithNaN - If false and column name is missing in input then log a warning message.protected TsEntry getNext()
MoveIterator
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.
getNext in class MoveIterator