Package org.apache.jena.rdfconnection
Class RDFConnectionRemoteBuilder
java.lang.Object
org.apache.jena.rdfconnection.RDFConnectionRemoteBuilder
- Direct Known Subclasses:
RDFConnectionFuseki.RDFConnectionFusekiBuilder
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionacceptHeaderAskQuery
(String acceptAskHeader) Set the HTTPAccept:
header used to when making a SPARQL Protocol ASK query.acceptHeaderDataset
(String acceptDataset) Set the HTTPAccept:
header used to fetch RDF datasets using HTTP GET operations.acceptHeaderGraph
(String acceptGraph) Set the HTTPAccept:
header used to fetch RDF graph using the SPARQL Graph Store Protocol.acceptHeaderQuery
(String acceptHeader) Set the HTTPAccept:
header used to when making a SPARQL Protocol query if no query type specific setting available.acceptHeaderSelectQuery
(String acceptSelectHeader) Set the HTTPAccept:
header used to when making a SPARQL Protocol SELECT query.final RDFConnection
build()
Build anRDFConnection
.destination
(String destination) URL of the remote SPARQL endpoint.gspEndpoint
(String sGSP) Name of the SPARQL GraphStore Protocol endpoint.httpClient
(HttpClient httpClient) Set theHttpClient
for the connection to be builtparseCheckSPARQL
(boolean parseCheck) Set the flag for whether to check SPARQL queries and SPARQL updates provided as a string.quadsFormat
(String langQuads) Set the output format for sending RDF Datasets to the remote server.quadsFormat
(org.apache.jena.riot.Lang langQuads) Set the output format for sending RDF Datasets to the remote server.quadsFormat
(org.apache.jena.riot.RDFFormat fmtQuads) Set the output format for sending RDF Datasets to the remote server.queryEndpoint
(String sQuery) Name of the SPARQL query service.Query-only settings.querySendMode
(org.apache.jena.sparql.exec.http.QuerySendMode sendMode) Set the strategy that determines how to send a query over HTTP.triplesFormat
(String langTriples) Set the output format for sending RDF graphs to the remote server.triplesFormat
(org.apache.jena.riot.Lang langTriples) Set the output format for sending RDF graphs to the remote server.triplesFormat
(org.apache.jena.riot.RDFFormat fmtTriples) Set the output format for sending RDF graphs to the remote server.updateEndpoint
(String sUpdate) Name of the SPARQL update service.updateSendMode
(org.apache.jena.sparql.exec.http.UpdateSendMode sendMode) Set the strategy that determines how to send an update request over HTTP.
-
Method Details
-
destination
URL of the remote SPARQL endpoint. For Fuseki, this is the URL of the dataset e.g. http://localhost:3030/dataset -
queryOnly
Query-only settings. -
queryEndpoint
Name of the SPARQL query service.This can be a short name, relative to the destination URL, or a full URL (with "http:" or "https:")
Use
""
for "same as destination".
Use null for "none". -
updateEndpoint
Name of the SPARQL update service.This can be a short name, relative to the destination URL, or a full URL (with "http:" or "https:")
Use
""
for "same as destination".
Use null for "none". -
gspEndpoint
Name of the SPARQL GraphStore Protocol endpoint.This can be a short name, relative to the destination URL, or a full URL (with "http:" or "https:")
Use
""
for "same as destination".
Use null for "none". -
httpClient
Set theHttpClient
for the connection to be built -
quadsFormat
Set the output format for sending RDF Datasets to the remote server. This is used for HTTP PUT and POST to a dataset. This must be a quads format. -
quadsFormat
Set the output format for sending RDF Datasets to the remote server. This is used for HTTP PUT and POST to a dataset. This must be a quads format. -
quadsFormat
Set the output format for sending RDF Datasets to the remote server. This is used for HTTP PUT and POST to a dataset. This must be a quads format. -
triplesFormat
Set the output format for sending RDF graphs to the remote server. This is used for the SPARQ Graph Store Protocol. -
triplesFormat
Set the output format for sending RDF graphs to the remote server. This is used for the SPARQ Graph Store Protocol. -
triplesFormat
Set the output format for sending RDF graphs to the remote server. This is used for the SPARQ Graph Store Protocol. -
acceptHeaderGraph
Set the HTTPAccept:
header used to fetch RDF graph using the SPARQL Graph Store Protocol. -
acceptHeaderDataset
Set the HTTPAccept:
header used to fetch RDF datasets using HTTP GET operations. -
acceptHeaderSelectQuery
Set the HTTPAccept:
header used to when making a SPARQL Protocol SELECT query. -
acceptHeaderAskQuery
Set the HTTPAccept:
header used to when making a SPARQL Protocol ASK query. -
acceptHeaderQuery
Set the HTTPAccept:
header used to when making a SPARQL Protocol query if no query type specific setting available. -
parseCheckSPARQL
Set the flag for whether to check SPARQL queries and SPARQL updates provided as a string. -
querySendMode
public RDFConnectionRemoteBuilder querySendMode(org.apache.jena.sparql.exec.http.QuerySendMode sendMode) Set the strategy that determines how to send a query over HTTP. SeeQuerySendMode
. -
updateSendMode
public RDFConnectionRemoteBuilder updateSendMode(org.apache.jena.sparql.exec.http.UpdateSendMode sendMode) Set the strategy that determines how to send an update request over HTTP. SeeUpdateSendMode
. -
build
Build anRDFConnection
.- Implementation Note:
- This operation is fixed as:
public final RDFConnection build() { RDFLink rdfLink = buildLink(); return adaptLink(rdfLink); }
Subclasses ofRDFConnectionRemote
may build and overridebuildLink
and/oradaptLink
-