public class IngestSegmentFirehose extends Object implements io.druid.data.input.Firehose
Constructor and Description |
---|
IngestSegmentFirehose(List<WindowedStorageAdapter> adapters,
List<String> dims,
List<String> metrics,
DimFilter dimFilter,
QueryGranularity granularity) |
public IngestSegmentFirehose(List<WindowedStorageAdapter> adapters, List<String> dims, List<String> metrics, DimFilter dimFilter, QueryGranularity granularity)
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.