public class PostBatchUpdateFileTask extends ExportBatchToFileTask
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DESCENDING |
protected static java.lang.String |
DISTINCT |
static java.lang.String |
DISTINCT_FILE_SUFFIX |
protected static java.lang.String |
SORT_DIRECTION |
adhocQuery, cs, DEFAULT_CONNECTION_RETRY_INTERVAL, DEFAULT_CONNECTION_RETRY_LIMIT, DEFAULT_QUERY_RETRY_INTERVAL, DEFAULT_QUERY_RETRY_LIMIT, exportDir, failOnError, FALSE, inputUris, language, MODULE_PROPS, moduleType, moduleUri, NEWLINE, properties, retryCount, TRUE
Constructor and Description |
---|
PostBatchUpdateFileTask() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
call() |
protected void |
compressFile() |
protected void |
copyHeaderIntoFile(java.io.File inputFile,
int headerLineCount,
java.io.File outputFile) |
protected java.lang.String |
getBottomContent() |
protected java.lang.Class<? extends java.util.Comparator<java.lang.String>> |
getComparatorCls(java.lang.String className) |
protected java.lang.String |
getPartExt() |
protected void |
moveFile() |
protected void |
moveFile(java.lang.String srcFilename,
java.lang.String destFilename) |
protected void |
sortAndRemoveDuplicates() |
protected void |
writeBottomContent() |
getFileName, getPartFileName, writeToFile
processResult
asString, cleanup, getExportDir, getIntProperty, getProperty, getValueAsBytes, handleRequestException, hasRetryableMessage, invokeModule, newSession, setAdhocQuery, setContentSource, setExportDir, setFailOnError, setInputURI, setModuleType, setModuleURI, setProperties, setQueryLanguage, shouldRetry, shouldRetry, shouldRetry
public static final java.lang.String DISTINCT_FILE_SUFFIX
protected static final java.lang.String SORT_DIRECTION
protected static final java.lang.String DESCENDING
protected static final java.lang.String DISTINCT
protected void sortAndRemoveDuplicates()
protected java.lang.Class<? extends java.util.Comparator<java.lang.String>> getComparatorCls(java.lang.String className) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
protected void copyHeaderIntoFile(java.io.File inputFile, int headerLineCount, java.io.File outputFile) throws java.io.IOException
java.io.IOException
protected java.lang.String getBottomContent()
protected void writeBottomContent() throws java.io.IOException
java.io.IOException
protected void moveFile(java.lang.String srcFilename, java.lang.String destFilename) throws java.io.IOException
java.io.IOException
protected void moveFile() throws java.io.IOException
java.io.IOException
protected java.lang.String getPartExt()
protected void compressFile() throws java.io.IOException
java.io.IOException
public java.lang.String[] call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<java.lang.String[]>
call
in class AbstractTask
java.lang.Exception