Package com.stardog.stark.query
Class Datasets.DatasetImpl
- java.lang.Object
-
- com.stardog.stark.query.Datasets.DatasetImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatasets.DatasetImpl.BuilderA builder for aDataset.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Datasets.DatasetImpl.Builderbuilder()Create aDatasets.DatasetImpl.Builderfor aDatasetcom.google.common.collect.ImmutableSet<Resource>defaultGraphs()The set of graphs, the union of which, makes up the default component of the active graphjava.util.Optional<Resource>defaultInsertGraph()Optionally, the graph where write queries should insert data.com.google.common.collect.ImmutableSet<Resource>defaultRemoveGraphs()The set of graphs write queries can remove data from.com.google.common.collect.ImmutableSet<Resource>excludedGraphs()The set of graphs to be excluded from the query dataset.com.google.common.collect.ImmutableSet<Resource>namedGraphs()The set of named graphs that are a part of the active graph of the dataset.
-
-
-
Method Detail
-
defaultRemoveGraphs
@Nonnull public com.google.common.collect.ImmutableSet<Resource> defaultRemoveGraphs()
The set of graphs write queries can remove data from.- Specified by:
defaultRemoveGraphsin interfaceDataset- Returns:
- the graphs
-
defaultInsertGraph
@Nonnull public java.util.Optional<Resource> defaultInsertGraph()
Optionally, the graph where write queries should insert data.- Specified by:
defaultInsertGraphin interfaceDataset- Returns:
- the graph to insert into
-
defaultGraphs
@Nonnull public com.google.common.collect.ImmutableSet<Resource> 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
@Nonnull public com.google.common.collect.ImmutableSet<Resource> 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
@Nonnull public com.google.common.collect.ImmutableSet<Resource> 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
public static Datasets.DatasetImpl.Builder builder()
Create aDatasets.DatasetImpl.Builderfor aDataset- Returns:
- a new `Builder`
-
-