public class HttpFirehoseFactory extends PrefetchableTextFilesFirehoseFactory<URI>
| Constructor and Description |
|---|
HttpFirehoseFactory(List<URI> uris,
Long maxCacheCapacityBytes,
Long maxFetchCapacityBytes,
Long prefetchTriggerBytes,
Long fetchTimeout,
Integer maxFetchRetry,
String httpAuthenticationUsername,
PasswordProvider httpAuthenticationPasswordProvider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PasswordProvider |
getHttpAuthenticationPasswordProvider() |
String |
getHttpAuthenticationUsername() |
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) |
FiniteFirehoseFactory<StringInputRowParser,URI> |
withSplit(InputSplit<URI> split) |
protected InputStream |
wrapObjectStream(URI object,
InputStream stream) |
connect, connectForSampler, getFetchTimeout, getMaxCacheCapacityBytes, getMaxFetchCapacityBytes, getMaxFetchRetry, getPrefetchTriggerBytesgetNumSplits, getObjects, getSplits, initializeObjectsIfNeededclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisSplittableconnect@Nullable public PasswordProvider getHttpAuthenticationPasswordProvider()
protected Collection<URI> initObjects()
initObjects in class AbstractTextFilesFirehoseFactory<URI>protected InputStream openObjectStream(URI object) throws IOException
openObjectStream in class AbstractTextFilesFirehoseFactory<URI>IOExceptionprotected InputStream openObjectStream(URI object, long start) throws IOException
openObjectStream in class PrefetchableTextFilesFirehoseFactory<URI>IOExceptionprotected InputStream wrapObjectStream(URI object, InputStream stream) throws IOException
wrapObjectStream in class AbstractTextFilesFirehoseFactory<URI>IOExceptionprotected com.google.common.base.Predicate<Throwable> getRetryCondition()
getRetryCondition in class PrefetchableTextFilesFirehoseFactory<URI>public FiniteFirehoseFactory<StringInputRowParser,URI> withSplit(InputSplit<URI> split)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.