public static final class Datasets.DatasetImpl.Builder extends Object
A builder for a Dataset.
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
build()
Build the dataset.
|
Datasets.DatasetImpl.Builder |
defaultGraphs(Iterable<? extends Resource> theGraphs)
Specify the default graphs which are a part of the dataset
|
Datasets.DatasetImpl.Builder |
defaultGraphs(Resource theGraph,
Resource... theOtherGraphs)
Specify the default graphs which are a part of the dataset
|
Datasets.DatasetImpl.Builder |
defaultRemoveGraphs(Iterable<? extends Resource> theRemoveGraphs)
Specify the graphs data is to be removed from
|
Datasets.DatasetImpl.Builder |
defaultRemoveGraphs(Resource theRemoveGraph,
Resource... theOtherGraphs)
Specify the graphs data is to be removed from.
|
Datasets.DatasetImpl.Builder |
insertGraph(Resource theGraph)
Specify the insert graph.
|
Datasets.DatasetImpl.Builder |
namedGraphs(Iterable<? extends Resource> theGraphs)
Sepcify the named graphs which are a part of the dataset
|
Datasets.DatasetImpl.Builder |
namedGraphs(Resource theGraph,
Resource... theOtherGraphs)
Specify the named graphs which are a part of the dataset.
|
@Nonnull public Datasets.DatasetImpl.Builder defaultRemoveGraphs(@Nonnull Resource theRemoveGraph, @Nonnull Resource... theOtherGraphs)
theRemoveGraph - the graph to remove fromtheOtherGraphs - additional graphs@Nonnull public Datasets.DatasetImpl.Builder defaultRemoveGraphs(@Nonnull Iterable<? extends Resource> theRemoveGraphs)
theRemoveGraphs - the graphs to remove data from@Nonnull public Datasets.DatasetImpl.Builder insertGraph(@Nonnull Resource theGraph)
theGraph - the graph data will be inserted into@Nonnull public Datasets.DatasetImpl.Builder defaultGraphs(@Nonnull Resource theGraph, @Nonnull Resource... theOtherGraphs)
theGraph - the graphtheOtherGraphs - the addtional graphs@Nonnull public Datasets.DatasetImpl.Builder defaultGraphs(@Nonnull Iterable<? extends Resource> theGraphs)
theGraphs - the graphs@Nonnull public Datasets.DatasetImpl.Builder namedGraphs(@Nonnull Resource theGraph, @Nonnull Resource... theOtherGraphs)
theGraph - the graphtheOtherGraphs - additional graphs@Nonnull public Datasets.DatasetImpl.Builder namedGraphs(@Nonnull Iterable<? extends Resource> theGraphs)
theGraphs - the graphsCopyright © 2010-2016 Stardog Union. All Rights Reserved.