Package com.stardog.stark.query
Class Datasets.DatasetImpl
java.lang.Object
com.stardog.stark.query.Datasets.DatasetImpl
- All Implemented Interfaces:
Dataset
- Enclosing class:
Datasets
Default implementation of a Dataset.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Datasets.DatasetImpl.Builderbuilder()Create aDatasets.DatasetImpl.Builderfor aDatasetcom.google.common.collect.ImmutableSet<Resource> The set of graphs, the union of which, makes up the default component of the active graphOptionally, the graph where write queries should insert data.com.google.common.collect.ImmutableSet<Resource> The set of graphs write queries can remove data from.com.google.common.collect.ImmutableSet<Resource> The set of graphs to be excluded from the query dataset.com.google.common.collect.ImmutableSet<Resource> The set of named graphs that are a part of the active graph of the dataset.
-
Method Details
-
defaultRemoveGraphs
The set of graphs write queries can remove data from.- Specified by:
defaultRemoveGraphsin interfaceDataset- Returns:
- the graphs
-
defaultInsertGraph
Optionally, the graph where write queries should insert data.- Specified by:
defaultInsertGraphin interfaceDataset- Returns:
- the graph to insert into
-
defaultGraphs
The set of graphs, the union of which, makes up the default component of the active graph- Specified by:
defaultGraphsin interfaceDataset- Returns:
- the default graphs; when empty, the default graph of the database is used
-
namedGraphs
The set of named graphs that are a part of the active graph of the dataset.- Specified by:
namedGraphsin interfaceDataset- Returns:
- the named graphs
-
excludedGraphs
Description copied from interface:DatasetThe set of graphs to be excluded from the query dataset. Returns the set of graphs, possibly including wildcards, excluded from both the default and named scope of the dataset.- Specified by:
excludedGraphsin interfaceDataset
-
builder
Create aDatasets.DatasetImpl.Builderfor aDataset- Returns:
- a new `Builder`
-