public class SchemaConverterIterator extends InputProcessingIterator
column names that are missing in input iterator are filled with NaN-values.
input_iterator
schema
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.
|
getProcessingChain
close, hasNext, next
getNames, getSchema, isLive, isNotLive, toSchemas, toString, toTimeSeries, toTimestampSeries, writeConsole, writeConsole, writeCSV
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProcessingTitle
createUnknown, of
createUnknown
public 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