public class SubAttributeExtractorPipelet extends java.lang.Object implements Pipelet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PATH_SEPARATOR
The default path separator.
|
static java.lang.String |
DEFAULT_SEPARATOR
The default separator.
|
static java.lang.String |
PROPERTY_INPUT_PATH
Name of the property: "inputPath".
|
static java.lang.String |
PROPERTY_MODE
Name of the property: "mode".
|
static java.lang.String |
PROPERTY_OUTPUT_PATH
Name of the property: "outputPath".
|
static java.lang.String |
PROPERTY_SEPARATOR
Name of the property: "separator".
|
Constructor and Description |
---|
SubAttributeExtractorPipelet() |
Modifier and Type | Method and Description |
---|---|
void |
configure(AnyMap configuration)
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow.
|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records.
|
public static final java.lang.String PROPERTY_INPUT_PATH
public static final java.lang.String PROPERTY_OUTPUT_PATH
public static final java.lang.String PROPERTY_MODE
public static final java.lang.String PROPERTY_SEPARATOR
public static final java.lang.String DEFAULT_SEPARATOR
public static final java.lang.String DEFAULT_PATH_SEPARATOR
public void configure(AnyMap configuration) throws ProcessingException
configure
in interface Pipelet
configuration
- configuration of pipelet.ProcessingException
- configuration is not applicable for pipelet (missing properties, wrong datatypes)public java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
process
in interface Pipelet
blackboard
- Blackboard holding and managing the records.recordIds
- Ids of records to process.ProcessingException
- error during processing.