public final class MergeProcessor extends Processor implements IAppErrorCodes
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.Class[] |
EXPECTED_FAILURES |
private int |
m_dataFileCount |
private java.io.File[] |
m_dataPath |
private java.io.File |
m_sdataOutFile |
m_appName, m_log, m_propertyOverridesARGS_IO_FAILURE, CLASS_STAMP_MISMATCH, INSTR_IO_FAILURE, INVALID_COLUMN_NAME, INVALID_PARAMETER_VALUE, MAIN_CLASS_BAD_DELEGATION, MAIN_CLASS_LOAD_FAILURE, MAIN_CLASS_NOT_FOUND, MAIN_METHOD_FAILURE, MAIN_METHOD_NOT_FOUND, OUT_IO_FAILURE, OUT_MKDIR_FAILURE, REPORT_GEN_FAILURE, REPORT_IO_FAILURE, REQUIRED_PARAMETER_MISSING, SECURITY_RESTRICTION, UNEXPECTED_FAILURE| Modifier | Constructor and Description |
|---|---|
private |
MergeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_run(IProperties toolProperties) |
static MergeProcessor |
create() |
private void |
reset() |
void |
setDataPath(java.lang.String[] path) |
void |
setSessionOutFile(java.lang.String fileName)
NOTE: there is no setter for merge attribute because this processor
always overwrites the out file [to ensure compaction]
|
protected void |
validateState() |
run, setAppName, setPropertyOverrides, setPropertyOverridesprivate java.io.File[] m_dataPath
private java.io.File m_sdataOutFile
private int m_dataFileCount
private static final java.lang.Class[] EXPECTED_FAILURES
public static MergeProcessor create()
public final void setDataPath(java.lang.String[] path)
path - [null is equivalent to an empty array]public final void setSessionOutFile(java.lang.String fileName)
fileName - [null unsets the previous override setting]protected void validateState()
validateState in class Processorprotected void _run(IProperties toolProperties)
private void reset()