SMILA 1.0 API documentation

org.eclipse.smila.ontology.pipelets
Class SesameRecordWriterPipelet

java.lang.Object
  extended by org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
      extended by 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.
 
Fields inherited from class org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
_configuration, _valueHelper, PARAM_RECORDFILTER, PARAM_REPOSITORY
 
Constructor Summary
SesameRecordWriterPipelet()
           
 
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 org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
configure, createUri, getParameters, getRepositoryConnection, getSesameOntologyManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SesameRecordWriterPipelet

public SesameRecordWriterPipelet()
Method Detail

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 given records.

Parameters:
blackboard - Blackboard holding and managing the records.
recordIds - Ids of records to process.
Returns:
Ids of records to be passed into the next pipelet. By default this should be the same as the passed in recordIds unless there is a specific (businesslogic) reason not to do so.
Throws:
ProcessingException - error during processing.
See Also:
org.eclipse.smila.processing.Pipelet#process(org.eclipse.smila.blackboard.Blackboard, org.eclipse.smila.datamodel.id.Id[])

SMILA 1.0 API documentation