SMILA (incubation) API documentation

org.eclipse.smila.ontology.pipelets
Class SesameRecordReaderPipelet

java.lang.Object
  extended by org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
      extended by org.eclipse.smila.ontology.pipelets.SesameRecordReaderPipelet
All Implemented Interfaces:
Pipelet

public class SesameRecordReaderPipelet
extends ASesameRecordPipelet

fill records from ontology.

Author:
jschumacher

Field Summary
static boolean DEFAULT_INCLUDEINFERRED
          default value for "includeInferred": false.
static java.lang.String PARAM_DEFAULT_URI_ATTRIBUTE
          default uri attribute.
static java.lang.String PARAM_INCLUDEINFERRED
          configuration property name for including inferred statements when reading the ontology.
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
SesameRecordReaderPipelet()
           
 
Method Summary
 java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds)
          read statements from the ontology into the given records.
 
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_INCLUDEINFERRED

public static final java.lang.String PARAM_INCLUDEINFERRED
configuration property name for including inferred statements when reading the ontology.

See Also:
Constant Field Values

DEFAULT_INCLUDEINFERRED

public static final boolean DEFAULT_INCLUDEINFERRED
default value for "includeInferred": false.

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

SesameRecordReaderPipelet

public SesameRecordReaderPipelet()
Method Detail

process

public java.lang.String[] process(Blackboard blackboard,
                                  java.lang.String[] recordIds)
                           throws ProcessingException
read statements from the ontology into the given records. 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[])

SMILA (incubation) API documentation