public class PredicateFirehose extends Object implements io.druid.data.input.Firehose
| Constructor and Description |
|---|
PredicateFirehose(io.druid.data.input.Firehose firehose,
com.google.common.base.Predicate<io.druid.data.input.InputRow> predicate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Runnable |
commit() |
boolean |
hasMore() |
io.druid.data.input.InputRow |
nextRow() |
public PredicateFirehose(io.druid.data.input.Firehose firehose,
com.google.common.base.Predicate<io.druid.data.input.InputRow> predicate)
public boolean hasMore()
hasMore in interface io.druid.data.input.Firehosepublic io.druid.data.input.InputRow nextRow()
nextRow in interface io.druid.data.input.Firehosepublic Runnable commit()
commit in interface io.druid.data.input.Firehosepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2016. All rights reserved.