|
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_PATH_SEPARATOR
The default path separator. |
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(AnyMap configuration)
set configuration of pipelet. |
java.lang.String |
getInputPath()
|
org.eclipse.smila.processing.pipelets.SubAttributeExtractorPipelet.Mode |
getMode()
|
java.lang.String |
getOutputPath()
|
java.lang.String |
getSeparator()
|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] 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
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 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 service managing the records.recordIds
- Ids of records to process.
ProcessingException
- error during processing.public java.lang.String getInputPath()
public java.lang.String getOutputPath()
public org.eclipse.smila.processing.pipelets.SubAttributeExtractorPipelet.Mode 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 |