org.eclipse.smila.ontology.pipelets
Class SesameRecordWriterPipelet
java.lang.Object
org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
org.eclipse.smila.ontology.pipelets.SesameRecordWriterPipelet
- All Implemented Interfaces:
- Pipelet
public class SesameRecordWriterPipelet
- extends ASesameRecordPipelet
write records to ontology.
- Author:
- jschumacher
|
Field Summary |
static java.lang.String |
PARAM_DEFAULT_URI_ATTRIBUTE
default uri attribute. |
static java.lang.String |
PARAM_TYPEURI
configuration property name for default types of resources to create if not set in attribute "rdf:type". |
static java.lang.String |
PARAM_URI_ATTRIBUTE
configuration property name: which parameter contains the URI. |
|
Method Summary |
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
write the records from the blackboard to a Sesame ontology. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_TYPEURI
public static final java.lang.String PARAM_TYPEURI
- configuration property name for default types of resources to create if not set in attribute "rdf:type".
- See Also:
- Constant Field Values
PARAM_URI_ATTRIBUTE
public static final java.lang.String PARAM_URI_ATTRIBUTE
- configuration property name: which parameter contains the URI.
- See Also:
- Constant Field Values
PARAM_DEFAULT_URI_ATTRIBUTE
public static final java.lang.String PARAM_DEFAULT_URI_ATTRIBUTE
- default uri attribute.
- See Also:
- Constant Field Values
SesameRecordWriterPipelet
public SesameRecordWriterPipelet()
process
public java.lang.String[] process(Blackboard blackboard,
java.lang.String[] recordIds)
throws ProcessingException
- write the records from the blackboard to a Sesame ontology.
process records on Blackboard service.
- Parameters:
blackboard - Blackboard service managing the records.recordIds - Ids of records to process.
- Returns:
- Ids of result records. By default this should be the same as the passed in recordIds unless there is a
specific reason not to do so. This is especially true for SearchPiplets.
- Throws:
ProcessingException - error during processing.- See Also:
org.eclipse.smila.processing.Pipelet#process(org.eclipse.smila.blackboard.Blackboard,
org.eclipse.smila.datamodel.id.Id[])