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_NAME
Config file parameter.
|
static org.openrdf.model.URI |
ENDPOINT_KEY
Endpoint hostname parameter name.
|
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() |
| 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()
Register the service so it is recognized by Blazegraph.
|
com.bigdata.rdf.sparql.ast.eval.ServiceParams |
serviceParamsFromNode(com.bigdata.rdf.sparql.ast.service.ServiceNode serviceNode)
Get service params from Service Node.
|
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 String MWAPI_NAMESPACE
public static final String CONFIG_DEFAULT
public static final String CONFIG_NAME
public static final String CONFIG_FILE
public MWApiServiceFactory()
throws IOException
IOExceptionpublic com.bigdata.rdf.sparql.ast.service.IServiceOptions getServiceOptions()
public static void register()
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 com.bigdata.rdf.sparql.ast.eval.ServiceParams serviceParamsFromNode(com.bigdata.rdf.sparql.ast.service.ServiceNode serviceNode)
serviceNode - public static org.openrdf.model.URI paramNameToURI(String name)
name - Copyright © 2017. All rights reserved.