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) |
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–2015. All rights reserved.