public class IndexDataSource extends Object implements DataSource
DataSource that provides access to an index of the resources
in one or more other data sources.MAX_INDEX_SIZE| Constructor and Description |
|---|
IndexDataSource(String indexURL,
Collection<Dataset> datasets,
Configuration config) |
| 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.
|
org.apache.jena.rdf.model.Model |
getResourceDescription(String resourceURI) |
public IndexDataSource(String indexURL, Collection<Dataset> datasets, Configuration config)
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 DataSourceCopyright © 2016. All rights reserved.