java.lang.Object
org.apache.jena.sparql.core.DatasetDescription
-
Constructor Summary
ConstructorDescriptionDatasetDescription
(List<String> defaultGraphURIs, List<String> namedGraphURIs) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addAllNamedGraphURIs
(Collection<String> uris) void
addDefaultGraphURI
(String uri) void
addNamedGraphURI
(String uri) static DatasetDescription
static DatasetDescription
Create a dataset description, given a query.static DatasetDescription
Create a dataset description, given a query and context.static DatasetDescription
Create a dataset description, given a context.Create a dataset from the description - reads URLs into an in-memory datasetCreate a DatasetGraph from the description - reads URLs into an in-memory DatasetGraphboolean
isEmpty()
toString()
-
Constructor Details
-
DatasetDescription
public DatasetDescription() -
DatasetDescription
-
-
Method Details
-
create
-
create
Create a dataset description, given a query. If the query does not have a dataset description, return null. -
create
Create a dataset description, given a context. If the context does not have a dataset description, return null. The context uses the keyARQConstants.sysDatasetDescription
. -
create
Create a dataset description, given a query and context. The context overrides the query FROM/FROM NAMED. If neither the context nor query has a dataset description, return null. The context uses the keyARQConstants.sysDatasetDescription
. -
isEmpty
public boolean isEmpty() -
addDefaultGraphURI
-
addAllDefaultGraphURIs
-
addNamedGraphURI
-
addAllNamedGraphURIs
-
getDefaultGraphURIs
-
getNamedGraphURIs
-
eachDefaultGraphURI
-
eachNamedGraphURI
-
createDataset
Create a dataset from the description - reads URLs into an in-memory dataset -
createDatasetGraph
Create a DatasetGraph from the description - reads URLs into an in-memory DatasetGraph -
toString
-