public class SliceServiceFactory extends AbstractServiceFactory
service bd:slice {
?s rdf:type ex:Foo .
# required service params for the sample
# either offset+limit
bd:serviceParam bd:slice.offset 0 .
bd:serviceParam bd:slice.limit 2000 .
# or range
bd:serviceParam bd:slice.range ?range
}
The service params are required and set the slicing parameters. You can
either request a slice or request a range count depending on the params.
The range count is useful when dealing with a "rangeSafe" predicate with
a range filter.RangeBOp| Modifier and Type | Class and Description |
|---|---|
static interface |
SliceServiceFactory.SliceParams
The service params for this service.
|
| Modifier and Type | Field and Description |
|---|---|
static org.openrdf.model.URI |
SERVICE_KEY
The URI service key.
|
| Constructor and Description |
|---|
SliceServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
BigdataServiceCall |
create(ServiceCallCreateParams params,
ServiceParams serviceParams)
Implemented by subclasses - verify the group and create the service call.
|
BigdataNativeServiceOptions |
getServiceOptions()
Return options for the service end point.
|
creategetDesiredBound, getRequiredBoundpublic BigdataNativeServiceOptions getServiceOptions()
ServiceFactorypublic BigdataServiceCall create(ServiceCallCreateParams params, ServiceParams serviceParams)
AbstractServiceFactorycreate in class AbstractServiceFactoryCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.