public class HttpFirehoseFactory extends org.apache.druid.data.input.impl.prefetch.PrefetchableTextFilesFirehoseFactory<URI>
| Constructor and Description |
|---|
HttpFirehoseFactory(List<URI> uris,
Long maxCacheCapacityBytes,
Long maxFetchCapacityBytes,
Long prefetchTriggerBytes,
Long fetchTimeout,
Integer maxFetchRetry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
protected com.google.common.base.Predicate<Throwable> |
getRetryCondition() |
List<URI> |
getUris() |
int |
hashCode() |
protected Collection<URI> |
initObjects() |
protected InputStream |
openObjectStream(URI object) |
protected InputStream |
openObjectStream(URI object,
long start) |
org.apache.druid.data.input.FiniteFirehoseFactory<org.apache.druid.data.input.impl.StringInputRowParser,URI> |
withSplit(org.apache.druid.data.input.InputSplit<URI> split) |
protected InputStream |
wrapObjectStream(URI object,
InputStream stream) |
connect, getFetchTimeout, getMaxCacheCapacityBytes, getMaxFetchCapacityBytes, getMaxFetchRetry, getPrefetchTriggerBytesgetNumSplits, getObjects, getSplits, initializeObjectsIfNeededpublic HttpFirehoseFactory(List<URI> uris, Long maxCacheCapacityBytes, Long maxFetchCapacityBytes, Long prefetchTriggerBytes, Long fetchTimeout, Integer maxFetchRetry) throws IOException
IOExceptionprotected Collection<URI> initObjects()
initObjects in class org.apache.druid.data.input.impl.AbstractTextFilesFirehoseFactory<URI>protected InputStream openObjectStream(URI object) throws IOException
openObjectStream in class org.apache.druid.data.input.impl.AbstractTextFilesFirehoseFactory<URI>IOExceptionprotected InputStream openObjectStream(URI object, long start) throws IOException
openObjectStream in class org.apache.druid.data.input.impl.prefetch.PrefetchableTextFilesFirehoseFactory<URI>IOExceptionprotected InputStream wrapObjectStream(URI object, InputStream stream) throws IOException
wrapObjectStream in class org.apache.druid.data.input.impl.AbstractTextFilesFirehoseFactory<URI>IOExceptionprotected com.google.common.base.Predicate<Throwable> getRetryCondition()
getRetryCondition in class org.apache.druid.data.input.impl.prefetch.PrefetchableTextFilesFirehoseFactory<URI>Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.