public class AZBlobFetcher extends AbstractFetcher implements Initializable
Constructor and Description |
---|
AZBlobFetcher() |
Modifier and Type | Method and Description |
---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
InputStream |
fetch(String fetchKey,
Metadata metadata) |
void |
initialize(Map<String,Param> params)
This initializes the az blob container client
|
void |
setContainer(String container) |
void |
setEndpoint(String endpoint) |
void |
setExtractUserMetadata(boolean extractUserMetadata)
Whether or not to extract user metadata from the blob object
|
void |
setSasToken(String sasToken) |
void |
setSpoolToTemp(boolean spoolToTemp) |
getName, setName
public InputStream fetch(String fetchKey, Metadata metadata) throws TikaException, IOException
fetch
in interface Fetcher
TikaException
IOException
@Field public void setSpoolToTemp(boolean spoolToTemp)
@Field public void setExtractUserMetadata(boolean extractUserMetadata)
extractUserMetadata
- public void initialize(Map<String,Param> params) throws TikaConfigException
initialize
in interface Initializable
params
- params to use for initializationTikaConfigException
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization
in interface Initializable
problemHandler
- if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.