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