public class MWApiServiceFactory
extends com.bigdata.rdf.sparql.ast.eval.AbstractServiceFactory
| Modifier and Type | Field and Description |
|---|---|
static org.openrdf.model.URI |
API_KEY
API type parameter name.
|
static String |
CONFIG_DEFAULT
Default service config filename.
|
static String |
CONFIG_FILE
Filename of the config.
|
static String |
CONFIG_MAX_CONTINUATIONS
Config variable for changing maximum number of continuations.
|
static String |
CONFIG_MAX_EMPTY_CONTINUATIONS
Config variable for changing maximum number of empty continuations.
|
static String |
CONFIG_MAX_RESULTS
Config variable for changing maximum number of results.
|
static String |
CONFIG_NAME
Config file parameter.
|
static org.openrdf.model.URI |
ENDPOINT_KEY
Endpoint hostname parameter name.
|
static org.openrdf.model.URI |
LIMIT_CONTINUATIONS_KEY
Parameter setting limit on continuations.
|
static org.openrdf.model.URI |
LIMIT_EMPTY_CONTINUATIONS_KEY
Parameter setting limit on continuations with empty results.
|
static org.openrdf.model.URI |
LIMIT_RESULTS_KEY
Parameter setting global limit on results across continuations.
|
static String |
MWAPI_NAMESPACE
Namespace for MWAPI parameters.
|
static org.openrdf.model.URI |
SERVICE_KEY
The URI service key.
|
static com.bigdata.rdf.sparql.ast.service.BigdataNativeServiceOptions |
SERVICE_OPTIONS
Options configuring this service as a native Blazegraph service.
|
| Constructor and Description |
|---|
MWApiServiceFactory(ServiceConfig config,
com.codahale.metrics.Timer requestTimer) |
| Modifier and Type | Method and Description |
|---|---|
com.bigdata.rdf.sparql.ast.service.BigdataServiceCall |
create(com.bigdata.rdf.sparql.ast.service.ServiceCallCreateParams params,
com.bigdata.rdf.sparql.ast.eval.ServiceParams serviceParams) |
Set<com.bigdata.bop.IVariable<?>> |
getRequiredBound(com.bigdata.rdf.sparql.ast.service.ServiceNode serviceNode) |
com.bigdata.rdf.sparql.ast.service.IServiceOptions |
getServiceOptions() |
static org.openrdf.model.URI |
paramNameToURI(String name)
Create predicate parameter URI from name.
|
static void |
register(com.codahale.metrics.Timer requestTimer)
Register the service so it is recognized by Blazegraph.
|
public static final com.bigdata.rdf.sparql.ast.service.BigdataNativeServiceOptions SERVICE_OPTIONS
public static final org.openrdf.model.URI SERVICE_KEY
public static final org.openrdf.model.URI API_KEY
public static final org.openrdf.model.URI ENDPOINT_KEY
public static final org.openrdf.model.URI LIMIT_RESULTS_KEY
public static final org.openrdf.model.URI LIMIT_CONTINUATIONS_KEY
public static final org.openrdf.model.URI LIMIT_EMPTY_CONTINUATIONS_KEY
public static final String MWAPI_NAMESPACE
public static final String CONFIG_DEFAULT
public static final String CONFIG_NAME
public static final String CONFIG_FILE
public static final String CONFIG_MAX_RESULTS
public static final String CONFIG_MAX_CONTINUATIONS
public static final String CONFIG_MAX_EMPTY_CONTINUATIONS
public MWApiServiceFactory(ServiceConfig config, com.codahale.metrics.Timer requestTimer)
public com.bigdata.rdf.sparql.ast.service.IServiceOptions getServiceOptions()
public static void register(com.codahale.metrics.Timer requestTimer)
public com.bigdata.rdf.sparql.ast.service.BigdataServiceCall create(com.bigdata.rdf.sparql.ast.service.ServiceCallCreateParams params,
com.bigdata.rdf.sparql.ast.eval.ServiceParams serviceParams)
create in class com.bigdata.rdf.sparql.ast.eval.AbstractServiceFactorypublic Set<com.bigdata.bop.IVariable<?>> getRequiredBound(com.bigdata.rdf.sparql.ast.service.ServiceNode serviceNode)
getRequiredBound in interface com.bigdata.rdf.sparql.ast.service.ServiceFactorygetRequiredBound in class com.bigdata.rdf.sparql.ast.eval.AbstractServiceFactoryBasepublic static org.openrdf.model.URI paramNameToURI(String name)
Copyright © 2019. All rights reserved.