public final class MergeProcessor extends Processor implements IAppErrorCodes
m_appName, m_log, m_propertyOverridesARGS_IO_FAILURE, CLASS_STAMP_MISMATCH, INSTR_IO_FAILURE, INVALID_COLUMN_NAME, INVALID_COMMAND_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| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
_run(IProperties toolProperties)
This method is implemented by each concrete Processor class to perform
tool-specific processing.
|
static MergeProcessor |
create()
Factory method for this processor.
|
void |
setDataPath(String[] path) |
void |
setSessionOutFile(String fileName)
NOTE: there is no setter for merge attribute because this processor
always overwrites the out file [to ensure compaction]
|
protected void |
validateState()
Validates attribute settings before each
Processor._run(IProperties). |
run, setAppName, setPropertyOverrides, setPropertyOverridespublic static MergeProcessor create()
public final void setDataPath(String[] path)
path - [null is equivalent to an empty array]public final void setSessionOutFile(String fileName)
fileName - [null unsets the previous override setting]protected void validateState()
ProcessorProcessor._run(IProperties).
Overridden implementations should chain to super.validateState().
validateState 在类中 Processorprotected void _run(IProperties toolProperties)
Processor_run 在类中 ProcessortoolProperties - properties incorporating app-global setting and
overrides set optionally via Processor.setPropertyOverrides(Properties) or
Processor.setPropertyOverrides(IProperties) [never null]Copyright © 2018. All rights reserved.