public class RemoteSPARQLDataSource extends Object implements DataSource
MAX_INDEX_SIZE| Constructor and Description |
|---|
RemoteSPARQLDataSource(String endpointURL,
String graphName) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.rdf.model.Model |
getAnonymousPropertyValues(String resourceURI,
org.apache.jena.rdf.model.Property property,
boolean isInverse) |
String |
getEndpointURL() |
List<org.apache.jena.rdf.model.Resource> |
getIndex()
A list of resources to be displayed as the contents of this data source.
|
String |
getPreviousDescribeQuery() |
org.apache.jena.rdf.model.Model |
getResourceDescription(String resourceURI) |
void |
setContentType(String mediaType)
Sets the content type to ask for in the request to the remote
SPARQL endpoint.
|
public void setContentType(String mediaType)
public String getEndpointURL()
getEndpointURL in interface DataSourcepublic org.apache.jena.rdf.model.Model getResourceDescription(String resourceURI)
getResourceDescription in interface DataSourcepublic org.apache.jena.rdf.model.Model getAnonymousPropertyValues(String resourceURI, org.apache.jena.rdf.model.Property property, boolean isInverse)
getAnonymousPropertyValues in interface DataSourcepublic List<org.apache.jena.rdf.model.Resource> getIndex()
DataSourcegetIndex in interface DataSourcepublic String getPreviousDescribeQuery()
Copyright © 2016. All rights reserved.