public class S3PipesIterator extends PipesIterator implements Initializable
COMPLETED_SEMAPHORE, DEFAULT_MAX_WAIT_MS, DEFAULT_QUEUE_SIZE| Constructor and Description |
|---|
S3PipesIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
protected void |
enqueue() |
void |
initialize(Map<String,Param> params)
This initializes the s3 client.
|
void |
setBucket(String bucket) |
void |
setCredentialsProvider(String credentialsProvider) |
void |
setPrefix(String prefix) |
void |
setProfile(String profile) |
void |
setRegion(String region) |
build, call, getEmitterName, getFetcherName, getHandlerConfig, getOnParseException, iterator, setEmitterName, setFetcherName, setHandlerType, setMaxEmbeddedResources, setMaxWaitMs, setOnParseException, setOnParseException, setParseMode, setParseMode, setQueueSize, setWriteLimit, tryToAddbuildComposite, buildComposite, buildSingle, configure, handleSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void initialize(Map<String,Param> params) throws TikaConfigException
initialize in interface Initializableinitialize in class PipesIteratorparams - params to use for initializationTikaConfigExceptionpublic void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization in interface InitializablecheckInitialization in class PipesIteratorproblemHandler - if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigExceptionprotected void enqueue()
throws InterruptedException,
IOException,
TimeoutException
enqueue in class PipesIteratorInterruptedExceptionIOExceptionTimeoutExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.