public class RemoteServiceFactoryImpl extends AbstractServiceFactoryBase
RemoteServiceOptions
; and (3) add it to this
ServiceRegistry
. You can also subclass this class if you want to
support configuration options which are not already supported by
RemoteServiceOptions
and RemoteServiceCallImpl
.Constructor and Description |
---|
RemoteServiceFactoryImpl(RemoteServiceOptions serviceOptions)
Create a
ServiceFactory for remote SPARQL end points. |
RemoteServiceFactoryImpl(SPARQLVersion sparqlVersion)
Create a
ServiceFactory for remote SPARQL end points. |
Modifier and Type | Method and Description |
---|---|
RemoteServiceCall |
create(ServiceCallCreateParams params)
Create a service invocation object.
|
Set<IVariable<?>> |
getDesiredBound(ServiceNode serviceNode)
Default implementation for method
ServiceFactory.getDesiredBound(ServiceNode) , allowing for
simple services where all variables used inside the service are
considered "outgoing". |
Set<IVariable<?>> |
getRequiredBound(ServiceNode serviceNode)
In order to be able to evaluate the SPARQL 1.1 remote service, the
endpoint URIs must be known.
|
RemoteServiceOptions |
getServiceOptions()
Return options for the service end point.
|
public RemoteServiceFactoryImpl(SPARQLVersion sparqlVersion)
ServiceFactory
for remote SPARQL end points.isSparql11
- true
if the end points support SPARQL 1.1.public RemoteServiceFactoryImpl(RemoteServiceOptions serviceOptions)
ServiceFactory
for remote SPARQL end points.serviceOptions
- The configuration options for the end points.public RemoteServiceCall create(ServiceCallCreateParams params)
ServiceFactory
params
- The pararameters, which are encapsulated by this interface.public RemoteServiceOptions getServiceOptions()
ServiceFactory
public Set<IVariable<?>> getRequiredBound(ServiceNode serviceNode)
getRequiredBound
in interface ServiceFactory
getRequiredBound
in class AbstractServiceFactoryBase
public Set<IVariable<?>> getDesiredBound(ServiceNode serviceNode)
AbstractServiceFactoryBase
ServiceFactory.getDesiredBound(ServiceNode)
, allowing for
simple services where all variables used inside the service are
considered "outgoing". As a consequence, when building upon this
default implementation, the Service will be executed *before* the
variables used inside the Service body are bound.getDesiredBound
in interface ServiceFactory
getDesiredBound
in class AbstractServiceFactoryBase
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.