public abstract class IoProcessorCallable
extends Object
implements Callable<Boolean>
CommonEtlUtils#processFiles(Alias, IoProcessorCallable, boolean).| Modifier and Type | Class and Description |
|---|---|
static class |
IoProcessorCallable.DefaultIoProcessorCallable |
| Constructor and Description |
|---|
IoProcessorCallable() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Alias alias,
TypedKeyValue<String,String> urlPath,
IoProcessor ioProcessor)
Configure callable.
|
Alias |
getAlias()
Gets the alias.
|
Object |
getData()
Get any data.
|
String |
getFileName(String fileName,
String actualFileName,
ReadTracker tracker)
Gets the file name based on the wildcard file name passed as a parameter
and wildCardAlgorithms and
IoProcessor.getWildcardAlgorithm(). |
IoProcessor |
getIoProcessor()
Gets the io processor.
|
TypedKeyValue<String,String> |
getUrlPath()
Gets the url and path.
|
public void configure(Alias alias, TypedKeyValue<String,String> urlPath, IoProcessor ioProcessor)
alias - the aliasurlPath - the url and pathioProcessor - the io processorpublic Alias getAlias()
public Object getData()
public IoProcessor getIoProcessor()
public TypedKeyValue<String,String> getUrlPath()
public String getFileName(String fileName,
String actualFileName,
ReadTracker tracker)
throws Exception
IoProcessor.getWildcardAlgorithm().fileName - the wildcard file nameactualFileName - the actual file nametracker - the trackerException - the exceptionCopyright © 2010-2020 Toolsverse. All Rights Reserved.