|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.processing.pipelets.SubAttributeExtractorPipelet
public class SubAttributeExtractorPipelet
Extracts Literal values from an attribute that has a nested MObject. The attributes in the nested MObject can have nested MOBjects themselves. To address a attribute in the nested structure a path needs to be specified. The pipelet supports different execution modes:
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
SubAttributeExtractorPipelet()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public SubAttributeExtractorPipelet()
| Method Detail |
|---|
public void configure(AnyMap configuration)
throws ProcessingException
configure in interface Pipeletconfiguration - 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 Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.
ProcessingException - error during processing.
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||