|
SMILA (incubation) 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_SEPARATOR
The default separator. |
static java.lang.String |
PROPPERTY_INPUT_PATH
Name of the property: "inputPath". |
static java.lang.String |
PROPPERTY_MODE
Name of the property: "mode". |
static java.lang.String |
PROPPERTY_OUTPUT_PATH
Name of the property: "outputPath". |
static java.lang.String |
PROPPERTY_SEPARATOR
Name of the property: "separator". |
| Constructor Summary | |
|---|---|
SubAttributeExtractorPipelet()
|
|
| Method Summary | |
|---|---|
void |
configure(PipeletConfiguration configuration)
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow. |
Path |
getInputPath()
Returns the input path. |
java.lang.String |
getMode()
Returns the name of the mode. |
Path |
getOutputPath()
Returns the output path. |
java.lang.String |
getSeparator()
Gets the separator. |
Id[] |
process(Blackboard blackboard,
Id[] recordIds)
process records on Blackboard service. |
| 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 PROPPERTY_INPUT_PATH
public static final java.lang.String PROPPERTY_OUTPUT_PATH
public static final java.lang.String PROPPERTY_MODE
public static final java.lang.String PROPPERTY_SEPARATOR
public static final java.lang.String DEFAULT_SEPARATOR
| Constructor Detail |
|---|
public SubAttributeExtractorPipelet()
| Method Detail |
|---|
public void configure(PipeletConfiguration configuration)
throws ProcessingException
configure in interface IPipeletconfiguration - configuration of pipelet.
ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)#configure(org.eclipse.smila.processing.configuration.PipeletConfiguration)
public Id[] process(Blackboard blackboard,
Id[] recordIds)
throws ProcessingException
process in interface SimplePipeletblackboard - Blackboard service managing the records.recordIds - Ids of records to process.
ProcessingException - error during processing.SimplePipelet.process(org.eclipse.smila.blackboard.Blackboard,
org.eclipse.smila.datamodel.id.Id[])public Path getInputPath()
public Path getOutputPath()
public java.lang.String getMode()
public java.lang.String getSeparator()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||