public abstract class ASesameRecordPipelet extends java.lang.Object implements Pipelet
| Modifier and Type | Field and Description |
|---|---|
protected AnyMap |
_configuration
my config.
|
protected SesameValueHelper |
_valueHelper
value creation helper.
|
static java.lang.String |
PARAM_RECORDFILTER
parameter/config property to specify a record filter.
|
static java.lang.String |
PARAM_REPOSITORY
parameter/config property to specify a non-default repository to use for IO.
|
| Constructor and Description |
|---|
ASesameRecordPipelet() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AnyMap configuration)
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow.
|
protected URI |
createUri(RepositoryConnection connection,
java.lang.String uriString)
resolve namespace prefixes in URI string.
|
protected ParameterAccessor |
getParameters(Blackboard blackboard)
create parameter accessor to use.
|
protected RepositoryConnection |
getRepositoryConnection(ParameterAccessor parameters)
get repository connection as described by parameters, pipelet config or default.
|
protected SesameOntologyManager |
getSesameOntologyManager() |
public static final java.lang.String PARAM_RECORDFILTER
public static final java.lang.String PARAM_REPOSITORY
protected AnyMap _configuration
protected SesameValueHelper _valueHelper
public void configure(AnyMap configuration) throws ProcessingException
configure in interface Pipeletconfiguration - configuration of pipelet.ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)#configure(org.eclipse.smila.processing.configuration.PipeletConfiguration)protected SesameOntologyManager getSesameOntologyManager() throws ProcessingException
SesameOntologyManager service.ProcessingException - no instance could be found.protected ParameterAccessor getParameters(Blackboard blackboard)
blackboard - request blackboard.protected RepositoryConnection getRepositoryConnection(ParameterAccessor parameters) throws ProcessingException
parameters - parameter accessorProcessingException - error accessing SesameOntologyManager service or the named repository.protected URI createUri(RepositoryConnection connection,
java.lang.String uriString)
connection - connection to ask for namespace resolving and use as value factory.uriString - an uri string that possibly contains a namespace prefix.