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.Firehose
public io.druid.data.input.InputRow nextRow()
nextRow
in interface io.druid.data.input.Firehose
public Runnable commit()
commit
in interface io.druid.data.input.Firehose
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2015. All rights reserved.