public class SqlFirehose extends Object implements Firehose
| Constructor and Description |
|---|
SqlFirehose(Iterator<JsonIterator<Map<String,Object>>> lineIterators,
InputRowParser<?> parser,
Closeable closer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasMore() |
InputRow |
nextRow() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextRowWithRawpublic SqlFirehose(Iterator<JsonIterator<Map<String,Object>>> lineIterators, InputRowParser<?> parser, Closeable closer)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface FirehoseIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.