Package com.stardog.stark.query
Class Datasets
java.lang.Object
com.stardog.stark.query.Datasets
Utilities for working with Dataset
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DatasetThe query dataset where the default graph is the union of all local (non-virtual) graphs.static final DatasetThe default query datasetstatic final DatasetA Dataset which is empty, that is, it's comprised of zero graphs.static final DatasetConstant for specifying that there is no specific dataset; aQueryshould use whatever information is in its from/from named clauses. -
Method Summary
Modifier and TypeMethodDescriptionstatic Datasets.DatasetImpl.Builderbuilder()Return a newDatasets.DatasetImpl.Builderbuilder for aDatasetstatic DatasetCreate aDatasetwhich consists of the specified default graphsstatic DatasetCreate aDatasetwhich consists of the specified default graphsstatic DatasetCreate aDatasetwhich consists of the specified named graphsstatic DatasetCreate aDatasetwhich consists of the specified named graphs
-
Field Details
-
NO_DATASET
Constant for specifying that there is no specific dataset; aQueryshould use whatever information is in its from/from named clauses. -
EMPTY
A Dataset which is empty, that is, it's comprised of zero graphs. -
DEFAULT
The default query dataset -
ALL_LOCAL
The query dataset where the default graph is the union of all local (non-virtual) graphs.
-
-
Method Details
-
of
Create aDatasetwhich consists of the specified default graphs- Parameters:
theIRI- the default graphtheRest- more default graphs- Returns:
- the `Dataset`
-
of
Create aDatasetwhich consists of the specified default graphs- Parameters:
theGraphs- the default graphs- Returns:
- the `Dataset`
-
ofNamed
Create aDatasetwhich consists of the specified named graphs- Parameters:
theIRI- the named graphtheRest- more named graphs- Returns:
- the `Dataset`
-
ofNamed
Create aDatasetwhich consists of the specified named graphs- Parameters:
theGraphs- the named graphs- Returns:
- the `Dataset`
-
builder
Return a newDatasets.DatasetImpl.Builderbuilder for aDataset- Returns:
- the builder
-