Uses of Interface
org.apache.jena.sparql.core.DatasetGraph
Packages that use DatasetGraph
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
In-memory, transactional dataset
-
Uses of DatasetGraph in org.apache.jena.http
Methods in org.apache.jena.http that return types with arguments of type DatasetGraphModifier and TypeMethodDescriptionstatic CompletableFuture<DatasetGraph>
AsyncHttpRDF.asyncGetDatasetGraph
(String url) Get a dataset, asynchronouslystatic CompletableFuture<DatasetGraph>
AsyncHttpRDF.asyncGetDatasetGraph
(HttpClient httpClient, String url) Get a dataset, asynchronouslyMethods in org.apache.jena.http with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic CompletableFuture<Void>
AsyncHttpRDF.asyncLoadDatasetGraph
(String url, DatasetGraph dsg) Load a DatasetGraph asynchronously.static CompletableFuture<Void>
AsyncHttpRDF.asyncLoadDatasetGraph
(HttpClient httpClient, String url, Map<String, String> headers, DatasetGraph dsg) Load a DatasetGraph asynchronously.static CompletableFuture<Void>
AsyncHttpRDF.asyncLoadDatasetGraph
(HttpClient httpClient, String url, DatasetGraph dsg) Load a DatasetGraph asynchronously.static void
HttpRDF.httpPostDataset
(HttpClient httpClient, String url, DatasetGraph dataset, RDFFormat format) static void
HttpRDF.httpPostDataset
(HttpClient httpClient, String url, DatasetGraph dataset, RDFFormat format, Map<String, String> httpHeaders) static void
HttpRDF.httpPutDataset
(HttpClient httpClient, String url, DatasetGraph dataset, RDFFormat format) static void
HttpRDF.httpPutDataset
(HttpClient httpClient, String url, DatasetGraph dataset, RDFFormat format, Map<String, String> httpHeaders) -
Uses of DatasetGraph in org.apache.jena.query
Methods in org.apache.jena.query that return DatasetGraphMethods in org.apache.jena.query with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic QueryExecution
QueryExecutionFactory.create
(Query query, DatasetGraph datasetGraph) Create a QueryExecution to execute over theDatasetGraph
.static Dataset
DatasetFactory.wrap
(DatasetGraph dataset) Wrap aDatasetGraph
to make a dataset -
Uses of DatasetGraph in org.apache.jena.rdfs
Classes in org.apache.jena.rdfs that implement DatasetGraphMethods in org.apache.jena.rdfs that return DatasetGraphModifier and TypeMethodDescriptionstatic DatasetGraph
RDFSFactory.datasetRDFS
(DatasetGraph data, org.apache.jena.graph.Graph vocab) Create an RDFS inference dataset.static DatasetGraph
RDFSFactory.datasetRDFS
(DatasetGraph data, SetupRDFS setup) Create an RDFS inference dataset.Methods in org.apache.jena.rdfs with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic DatasetGraph
RDFSFactory.datasetRDFS
(DatasetGraph data, org.apache.jena.graph.Graph vocab) Create an RDFS inference dataset.static DatasetGraph
RDFSFactory.datasetRDFS
(DatasetGraph data, SetupRDFS setup) Create an RDFS inference dataset.Constructors in org.apache.jena.rdfs with parameters of type DatasetGraphModifierConstructorDescriptionDatasetGraphRDFS
(DatasetGraph dsg, SetupRDFS setup) DatasetGraphRDFS
(DatasetGraph dsg, SetupRDFS setup, Context cxt) -
Uses of DatasetGraph in org.apache.jena.rdfs.assembler
Methods in org.apache.jena.rdfs.assembler that return DatasetGraphModifier and TypeMethodDescriptionDatasetRDFSAssembler.createDataset
(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root) <#rdfsDS> rdf:type ja:DatasetRDFS ; ja:rdfs "vocab.ttl"; ja:dataset <#baseDS> ; .Methods in org.apache.jena.rdfs.assembler that return types with arguments of type DatasetGraph -
Uses of DatasetGraph in org.apache.jena.riot
Methods in org.apache.jena.riot that return DatasetGraphModifier and TypeMethodDescriptionstatic DatasetGraph
RDFDataMgr.loadDatasetGraph
(String uri) Create a memory DatasetGraph and read in some datastatic DatasetGraph
RDFDataMgr.loadDatasetGraph
(String uri, Lang lang) Create a memory DatasetGraph and read in some dataRDFParser.toDatasetGraph()
Parse the source in to a freshDatasetGraph
and return the DatasetGraph.RDFParserBuilder.toDatasetGraph()
Parse the source in to a freshDatasetGraph
and return the DatasetGraph.Methods in org.apache.jena.riot with parameters of type DatasetGraphModifier and TypeMethodDescriptionvoid
RDFParser.parse
(DatasetGraph dataset) Parse the source, sending the results to aDatasetGraph
.void
RDFParserBuilder.parse
(DatasetGraph dataset) Parse the source, sending the results to aDatasetGraph
.static void
RDFDataMgr.read
(DatasetGraph dataset, InputStream in, String base, Lang lang) Read quads or triples into a dataset with bytes from an input stream.static void
RDFDataMgr.read
(DatasetGraph dataset, InputStream in, Lang lang) Read quads or triples into a dataset with bytes from an input stream.static void
RDFDataMgr.read
(DatasetGraph dataset, StringReader in, String base, Lang lang) Read quads into a dataset with chars from a StringReader.static void
RDFDataMgr.read
(DatasetGraph dataset, String uri) Read quads or triples into a Dataset from the given location, with a hint of the language.static void
RDFDataMgr.read
(DatasetGraph dataset, String uri, String base, Lang hintLang) Read quads or triples into a Dataset from the given location, with a hint of the language.static void
RDFDataMgr.read
(DatasetGraph dataset, String uri, Lang hintLang) Read quads or triples into a Dataset from the given location, with a hint of the language.static RDFWriterBuilder
RDFWriter.source
(DatasetGraph dataset) Create anRDFWriterBuilder
and set the source of writing to the graph argument.RDFWriterBuilder.source
(DatasetGraph dataset) Set the source of writing to theDatasetGraph
argument.static void
RDFDataMgr.write
(OutputStream out, DatasetGraph dataset, Lang lang) Write the DatasetGraph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(OutputStream out, DatasetGraph dataset, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(StringWriter out, DatasetGraph dataset, Lang lang) Write the DatasetGraph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(StringWriter out, DatasetGraph dataset, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language.void
WriterDatasetRIOT.write
(OutputStream out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
WriterDatasetRIOT.write
(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) Use of Writer is discouraged - let the serializer manage character sets in accordance with the format -
Uses of DatasetGraph in org.apache.jena.riot.lang
Constructors in org.apache.jena.riot.lang with parameters of type DatasetGraph -
Uses of DatasetGraph in org.apache.jena.riot.protobuf
Methods in org.apache.jena.riot.protobuf with parameters of type DatasetGraphModifier and TypeMethodDescriptionvoid
WriterDatasetProtobuf.write
(OutputStream out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
WriterDatasetProtobuf.write
(Writer out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) -
Uses of DatasetGraph in org.apache.jena.riot.system
Methods in org.apache.jena.riot.system that return DatasetGraphModifier and TypeMethodDescriptionstatic DatasetGraph
JenaTitanium.convert
(com.apicatalog.rdf.RdfDataset dataset, ParserProfile parserProfile) Translate a Titanium JSON-LD dataset to aDatasetGraph
Methods in org.apache.jena.riot.system with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic com.apicatalog.rdf.RdfDataset
JenaTitanium.convert
(DatasetGraph dataset) Translate a JenaDatasetGraph
to a Titanium JSON-LD datasetstatic long
RiotLib.countTriples
(DatasetGraph dsg, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) static StreamRDF
StreamRDFLib.dataset
(DatasetGraph dataset) static void
StreamRDFOps.datasetToStream
(DatasetGraph datasetGraph, StreamRDF stream) Send a dataset to a StreamRDF as prefixes, triples and quads, enclosed in stream.start()/stream.finish()static void
StreamRDFOps.sendDatasetToStream
(DatasetGraph datasetGraph, StreamRDF stream) Send a dataset to a StreamRDF as prefixes, triples and quadsstatic void
StreamRDFOps.sendDatasetToStream
(DatasetGraph datasetGraph, StreamRDF stream, String baseURI, PrefixMap prefixMap) Send a dataset to a StreamRDF as triples and quads, using the explicitly given prefix mapstatic void
StreamRDFOps.sendQuadsToStream
(DatasetGraph datasetGraph, StreamRDF stream) Send quads of a dataset (including default graph as quads) to a StreamRDF, without prefixesstatic void
StreamRDFOps.sendTriplesQuadsToStream
(DatasetGraph datasetGraph, StreamRDF stream) Send a dataset graph to a stream with triples for the default graph and quads for the named graphs without prefixesstatic void
StreamRDFWriter.write
(OutputStream output, DatasetGraph datasetGraph, Lang lang) Write a DatasetGraph in streaming fashionstatic void
StreamRDFWriter.write
(OutputStream output, DatasetGraph datasetGraph, Lang lang, Context context) Write a DatasetGraph in streaming fashionstatic void
StreamRDFWriter.write
(OutputStream output, DatasetGraph datasetGraph, RDFFormat format, Context context) Write a DatasetGraph in streaming fashionConstructor parameters in org.apache.jena.riot.system with type arguments of type DatasetGraph -
Uses of DatasetGraph in org.apache.jena.riot.thrift
Methods in org.apache.jena.riot.thrift with parameters of type DatasetGraphModifier and TypeMethodDescriptionvoid
WriterDatasetThrift.write
(OutputStream out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
WriterDatasetThrift.write
(Writer out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) -
Uses of DatasetGraph in org.apache.jena.riot.writer
Methods in org.apache.jena.riot.writer with parameters of type DatasetGraphModifier and TypeMethodDescriptionvoid
JsonLD11Writer.write
(OutputStream outputStream, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
JsonLD11Writer.write
(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
NQuadsWriter.write
(OutputStream out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context) void
NQuadsWriter.write
(Writer out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context) void
NullWriter.write
(OutputStream out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
NullWriter.write
(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
TriGWriterBase.write
(OutputStream out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) void
TriGWriterBase.write
(Writer out, DatasetGraph dsg, PrefixMap prefixMap, String baseURI, Context context) abstract void
WriterDatasetRIOTBase.write
(OutputStream out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context) abstract void
WriterDatasetRIOTBase.write
(Writer out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context) void
WriterTriX.write
(OutputStream out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) void
WriterTriX.write
(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context) -
Uses of DatasetGraph in org.apache.jena.sparql
Methods in org.apache.jena.sparql with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic void
SystemARQ.sync
(DatasetGraph dataset) Sync carefully for compound objects -
Uses of DatasetGraph in org.apache.jena.sparql.algebra
Methods in org.apache.jena.sparql.algebra with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic QueryIterator
Algebra.exec
(Op op, DatasetGraph ds) static QueryIterator
Algebra.execRef
(Op op, DatasetGraph dsg) -
Uses of DatasetGraph in org.apache.jena.sparql.core
Subinterfaces of DatasetGraph in org.apache.jena.sparql.coreModifier and TypeInterfaceDescriptioninterface
Marker interface that indicates a DatasetGraphWrapper is one that defines a different view on the base dataset data.Classes in org.apache.jena.sparql.core that implement DatasetGraphModifier and TypeClassDescriptionclass
DatasetGraph framework : readonly dataset need only provide find(g,s,p,o), getGraph() and getDefaultGraph() although it may wish to override other operations and do better.class
DatasetGraph framework.class
Base class for implementations of a DatasetGraph as a set of graphs.class
A read-onlyDatasetGraph
that applies a filter testing all triples and quads returned by accessing the data.class
Implementation of aDatasetGraph
as an extensible set of graphs.class
Implementation of a DatasetGraph as an extensible set of graphs where graphs are held by reference.class
ADatasetGraph
class for support ofDatasetGraphs
that do nothing.class
DatasetGraph of a single graph as default graph.class
A DatasetGraph base class for pure quad-centric storage.class
Read-only view of a DatasetGraph.class
An always emptyDatasetGraph
that accepts changes but ignores them.class
A DatasetGraph base class for triples+quads storage.class
class
An always emptyDatasetGraph
.static class
Methods in org.apache.jena.sparql.core that return DatasetGraphModifier and TypeMethodDescriptionDatasetImpl.asDatasetGraph()
static DatasetGraph
DatasetGraphFactory.cloneStructure
(DatasetGraph dsg) Clone the structure of aDatasetGraph
.static DatasetGraph
DatasetGraphMapLink.cloneStructure
(DatasetGraph dsg) Create a newDatasetGraph
that copies the dataset structure of default graph and named graph and links to the graphs of the originalDatasetGraph
.static DatasetGraph
DatasetGraphMapLink.cloneStructure
(DatasetGraph srcDsg, DatasetGraphFactory.GraphMaker graphMaker) Create a newDatasetGraph
that copies the dataset structure of default graph and named graph and links to the graphs of the originalDatasetGraph
Any new graphs needed are separate from the original dataset and created according to theDatasetGraphFactory.GraphMaker
.static DatasetGraph
DatasetGraphFactory.create()
Create an in-memoryDataset
.static DatasetGraph
DatasetGraphFactory.create
(org.apache.jena.graph.Graph dftGraph) Create a DatasetGraph starting with a single graph.static DatasetGraph
DatasetGraphOne.create
(org.apache.jena.graph.Graph graph) static DatasetGraph
DatasetGraphSink.create()
static DatasetGraph
DatasetGraphZero.create()
InvariantDatasetGraph
; it does have transaction state so create new object here.DatasetDescription.createDatasetGraph()
Create a DatasetGraph from the description - reads URLs into an in-memory DatasetGraphstatic DatasetGraph
DatasetGraphFactory.createGeneral()
Create a general-purposeDatasetGraph
.
Any graphs needed are in-memory unless explicitly added withaddGraph(Node, Graph)
.static DatasetGraph
DatasetGraphFactory.createGeneral
(org.apache.jena.graph.Graph dftGraph) Create a general-purposeDatasetGraph
.
Any graphs needed are in-memory unless explicitly added withaddGraph(Node, Graph)
.static DatasetGraph
DatasetGraphOne.createRaw
(org.apache.jena.graph.Graph graph) static DatasetGraph
DatasetGraphFactory.createTxnMem()
Create an in-memory, transactionalDataset
.static DatasetGraph
DynamicDatasets.dynamicDataset
(Collection<org.apache.jena.graph.Node> defaultGraphs, Collection<org.apache.jena.graph.Node> namedGraphs, DatasetGraph dsg, boolean defaultUnionGraph) Form aDatasetGraph
that is the dynamic dataset from the collections of graphs from the dataset that go to make up the default graph and named graphs.static DatasetGraph
DynamicDatasets.dynamicDataset
(DatasetDescription description, DatasetGraph dsg, boolean defaultUnionGraph) Given a DatasetDescription, form a Dataset that is the dynamic dataset over the base dataset.static DatasetGraph
DatasetGraphFactory.empty()
An always emptyDatasetGraph
.final DatasetGraph
DatasetGraphWrapper.getBase()
Recursively unwrap aDatasetGraphWrapper
.final DatasetGraph
DatasetGraphWrapper.getBaseForQuery()
Recursively unwrap aDatasetGraphWrapper
, stopping at aDatasetGraphWrapper
that indicate it is "view changing", ie shows quads to the base dataset graph.GraphView.getDataset()
Return theDatasetGraph
we are viewing.DynamicDatasets.DynamicDatasetGraph.getOriginal()
Returns the original dataset graph this DynamicDatasetGraph is based on.final DatasetGraph
DatasetGraphWrapper.getWrapped()
Return the DatasetGraph being wrapped.static DatasetGraph
DatasetGraphWrapper.unwrap
(DatasetGraph dsg) Unwrap aDatasetGraph
to find the baseDatasetGraph
.static DatasetGraph
DatasetGraphFactory.wrap
(org.apache.jena.graph.Graph graph) Create a DatasetGraph which only ever has a single default graph.Methods in org.apache.jena.sparql.core with parameters of type DatasetGraphModifier and TypeMethodDescriptiondefault void
DatasetGraph.addAll
(DatasetGraph src) Add thesrc
DatasetGraph to this one.static DatasetGraph
DatasetGraphFactory.cloneStructure
(DatasetGraph dsg) Clone the structure of aDatasetGraph
.static DatasetGraph
DatasetGraphMapLink.cloneStructure
(DatasetGraph dsg) Create a newDatasetGraph
that copies the dataset structure of default graph and named graph and links to the graphs of the originalDatasetGraph
.static DatasetGraph
DatasetGraphMapLink.cloneStructure
(DatasetGraph srcDsg, DatasetGraphFactory.GraphMaker graphMaker) Create a newDatasetGraph
that copies the dataset structure of default graph and named graph and links to the graphs of the originalDatasetGraph
Any new graphs needed are separate from the original dataset and created according to theDatasetGraphFactory.GraphMaker
.static GraphView
GraphView.createDefaultGraph
(DatasetGraph dsg) static GraphView
GraphView.createNamedGraph
(DatasetGraph dsg, org.apache.jena.graph.Node graphIRI) static GraphView
GraphView.createUnionGraph
(DatasetGraph dsg) static void
DatasetGraphBase.deleteAny
(DatasetGraph dsg, org.apache.jena.graph.Node g, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) static DatasetGraph
DynamicDatasets.dynamicDataset
(Collection<org.apache.jena.graph.Node> defaultGraphs, Collection<org.apache.jena.graph.Node> namedGraphs, DatasetGraph dsg, boolean defaultUnionGraph) Form aDatasetGraph
that is the dynamic dataset from the collections of graphs from the dataset that go to make up the default graph and named graphs.static DatasetGraph
DynamicDatasets.dynamicDataset
(DatasetDescription description, DatasetGraph dsg, boolean defaultUnionGraph) Given a DatasetDescription, form a Dataset that is the dynamic dataset over the base dataset.static DatasetGraph
DatasetGraphWrapper.unwrap
(DatasetGraph dsg) Unwrap aDatasetGraph
to find the baseDatasetGraph
.static Dataset
DatasetImpl.wrap
(DatasetGraph datasetGraph) Wrap an existing DatasetGraphConstructors in org.apache.jena.sparql.core with parameters of type DatasetGraphModifierConstructorDescriptionDatasetGraphFilteredView
(DatasetGraph dsg, Predicate<Quad> filter, Collection<org.apache.jena.graph.Node> visibleGraphs) DatasetGraphReadOnly
(DatasetGraph dsg, Context cxt) Create a operations wrapper arounddsg
.DatasetGraphWrapper
(DatasetGraph dsg, Context context) Create a operations wrapper arounddsg
withcontext
.DynamicDatasetGraph
(DatasetGraph viewDSG, DatasetGraph originalDSG) -
Uses of DatasetGraph in org.apache.jena.sparql.core.assembler
Fields in org.apache.jena.sparql.core.assembler with type parameters of type DatasetGraphModifier and TypeFieldDescriptionstatic final Map<String,
DatasetGraph> NamedDatasetAssembler.sharedDatasetPool
Methods in org.apache.jena.sparql.core.assembler that return DatasetGraphModifier and TypeMethodDescriptionDatasetAssemblerGeneral.createDataset
(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root) DatasetNullAssembler.createDataset
(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root) DatasetOneAssembler.createDataset
(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root) InMemDatasetAssembler.createDataset
(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root) ViewDatasetAssembler.createDataset
(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root) final DatasetGraph
NamedDatasetAssembler.createNamedDataset
(org.apache.jena.assembler.Assembler a, org.apache.jena.rdf.model.Resource root) Methods in org.apache.jena.sparql.core.assembler that return types with arguments of type DatasetGraphModifier and TypeMethodDescriptionDatasetAssemblerGeneral.pool()
DatasetNullAssembler.pool()
DatasetOneAssembler.pool()
InMemDatasetAssembler.pool()
abstract Map<String,
DatasetGraph> NamedDatasetAssembler.pool()
SharedDatasetGraph
objectsViewDatasetAssembler.pool()
Methods in org.apache.jena.sparql.core.assembler with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic void
AssemblerUtils.loadData
(DatasetGraph dataset, org.apache.jena.rdf.model.Resource root) Processja:data
. -
Uses of DatasetGraph in org.apache.jena.sparql.core.mem
Classes in org.apache.jena.sparql.core.mem that implement DatasetGraph -
Uses of DatasetGraph in org.apache.jena.sparql.engine
Methods in org.apache.jena.sparql.engine that return DatasetGraphMethods in org.apache.jena.sparql.engine with parameters of type DatasetGraphModifier and TypeMethodDescriptionboolean
QueryEngineFactory.accept
(Query query, DatasetGraph dataset, Context context) Detect appropriate requests for a particular query engine for a particular graph type.boolean
QueryEngineFactory.accept
(Op op, DatasetGraph dataset, Context context) Detect appropriate requests for a particular query engine for a particular graph type.boolean
QueryEngineFactoryWrapper.accept
(Query query, DatasetGraph dsg, Context context) boolean
QueryEngineFactoryWrapper.accept
(Op op, DatasetGraph dsg, Context context) QueryEngineFactory.create
(Query query, DatasetGraph dataset, Binding inputBinding, Context context) Call to create aPlan
: the companionQueryEngineFactory.accept(org.apache.jena.query.Query, org.apache.jena.sparql.core.DatasetGraph, org.apache.jena.sparql.util.Context)
will have returnedtrue
.QueryEngineFactory.create
(Op op, DatasetGraph dataset, Binding inputBinding, Context context) Call to create aPlan
: the companionQueryEngineFactory.accept(org.apache.jena.query.Query, org.apache.jena.sparql.core.DatasetGraph, org.apache.jena.sparql.util.Context)
will have returnedtrue
.QueryEngineFactoryWrapper.create
(Query query, DatasetGraph dsg, Binding inputBinding, Context context) QueryEngineFactoryWrapper.create
(Op op, DatasetGraph dsg, Binding inputBinding, Context context) OpEval.evaluate
(Op op, DatasetGraph dsg, Binding binding, Context context) final QueryIterator
QueryEngineBase.evaluate
(Op op, DatasetGraph dsg, Binding binding, Context context) QueryEngineRegistry.find
(Query query, DatasetGraph dataset) Locate a suitable factory for this query and datasetQueryEngineRegistry.find
(Query query, DatasetGraph dataset, Context context) Locate a suitable factory for this query and datasetQueryEngineRegistry.find
(Op op, DatasetGraph dataset, Context context) Locate a suitable factory for this algebra expression and datasetstatic QueryEngineFactory
QueryEngineRegistry.findFactory
(Query query, DatasetGraph dataset, Context context) Locate a suitable factory for this query and dataset from the default registrystatic QueryEngineFactory
QueryEngineRegistry.findFactory
(Op op, DatasetGraph dataset, Context context) Locate a suitable factory for this algebra expression and dataset from the default registryConstructors in org.apache.jena.sparql.engine with parameters of type DatasetGraphModifierConstructorDescriptionExecutionContext
(DatasetGraph dataset) Setup with defaults of global settingsExecutionContext
(DatasetGraph dataset, OpExecutorFactory factory) Setup with defaults of global settings but explicitOpExecutor
factory.ExecutionContext
(Context params, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset, OpExecutorFactory factory) -
Uses of DatasetGraph in org.apache.jena.sparql.engine.main
Methods in org.apache.jena.sparql.engine.main with parameters of type DatasetGraphModifier and TypeMethodDescriptionQueryEngineMain.eval
(Op op, DatasetGraph dsg, Binding input, Context context) Constructors in org.apache.jena.sparql.engine.main with parameters of type DatasetGraphModifierConstructorDescriptionQueryEngineMain
(Query query, DatasetGraph dataset, Binding input, Context context) QueryEngineMain
(Op op, DatasetGraph dataset, Binding input, Context context) QueryEngineMainQuad
(Query query, DatasetGraph dataset, Binding input, Context context) QueryEngineMainQuad
(Op op, DatasetGraph dataset, Binding input, Context context) -
Uses of DatasetGraph in org.apache.jena.sparql.engine.main.solver
Methods in org.apache.jena.sparql.engine.main.solver with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic QueryIterator
PatternMatchData.execute
(DatasetGraph dsg, org.apache.jena.graph.Node graphNode, BasicPattern pattern, QueryIterator input, Predicate<Quad> filter, ExecutionContext execCxt) Non-reordering execution of a quad pattern, a graph name and a basic graph pattern, given an iterator of bindings as input. -
Uses of DatasetGraph in org.apache.jena.sparql.engine.ref
Methods in org.apache.jena.sparql.engine.ref with parameters of type DatasetGraphModifier and TypeMethodDescriptionQueryEngineRef.eval
(Op op, DatasetGraph dsg, Binding binding, Context context) Constructors in org.apache.jena.sparql.engine.ref with parameters of type DatasetGraphModifierConstructorDescriptionQueryEngineRef
(Op op, DatasetGraph dataset, Binding input, Context context) QueryEngineRef
(Op op, DatasetGraph dataset, Context context) QueryEngineRefQuad
(Op op, DatasetGraph dataset, Binding input, Context context) QueryEngineRefQuad
(Op op, DatasetGraph dataset, Context context) -
Uses of DatasetGraph in org.apache.jena.sparql.exec
Methods in org.apache.jena.sparql.exec that return DatasetGraphModifier and TypeMethodDescriptiondefault DatasetGraph
QueryExec.constructDataset()
Execute a CONSTRUCT query, putting the statements into 'dataset'.QueryExec.constructDataset
(DatasetGraph dataset) Execute a CONSTRUCT query, putting the statements into 'dataset'.QueryExecAdapter.constructDataset
(DatasetGraph dataset) QueryExecApp.constructDataset
(DatasetGraph dataset) QueryExecDataset.constructDataset
(DatasetGraph dataset) QueryExecResult.dataset()
QueryExec.getDataset()
The dataset against which the query will execute.QueryExecAdapter.getDataset()
QueryExecApp.getDataset()
QueryExecDataset.getDataset()
Methods in org.apache.jena.sparql.exec with parameters of type DatasetGraphModifier and TypeMethodDescriptionQueryExec.constructDataset
(DatasetGraph dataset) Execute a CONSTRUCT query, putting the statements into 'dataset'.QueryExecAdapter.constructDataset
(DatasetGraph dataset) QueryExecApp.constructDataset
(DatasetGraph dataset) QueryExecDataset.constructDataset
(DatasetGraph dataset) static QueryExec
QueryExecApp.create
(QueryExecMod qExec, DatasetGraph dataset, Query query, String queryString) static QueryExecBuilder
QueryExec.dataset
(DatasetGraph dataset) Create aQueryExecBuilder
for a dataset.QueryExecDatasetBuilder.dataset
(DatasetGraph dsg) static UpdateExecBuilder
UpdateExec.dataset
(DatasetGraph dataset) Create aUpdateExecBuilder
for a dataset.UpdateExecDatasetBuilder.dataset
(DatasetGraph dsg) void
UpdateExecDatasetBuilder.execute
(DatasetGraph dsg) Constructors in org.apache.jena.sparql.exec with parameters of type DatasetGraph -
Uses of DatasetGraph in org.apache.jena.sparql.exec.http
Methods in org.apache.jena.sparql.exec.http that return DatasetGraphModifier and TypeMethodDescriptionQueryExecHTTP.constructDataset()
QueryExecHTTP.constructDataset
(DatasetGraph dataset) DSP.GET()
GET dataset.QueryExecHTTP.getDataset()
Methods in org.apache.jena.sparql.exec.http with parameters of type DatasetGraphModifier and TypeMethodDescriptionQueryExecHTTP.constructDataset
(DatasetGraph dataset) void
DSP.POST
(DatasetGraph dataset) POST a datasetvoid
DSP.PUT
(DatasetGraph dataset) PUT a dataset -
Uses of DatasetGraph in org.apache.jena.sparql.function
Methods in org.apache.jena.sparql.function that return DatasetGraphModifier and TypeMethodDescriptionFunctionEnv.getDataset()
Return the dataset for the queryFunctionEnvBase.getDataset()
Constructors in org.apache.jena.sparql.function with parameters of type DatasetGraphModifierConstructorDescriptionFunctionEnvBase
(Context context, org.apache.jena.graph.Graph activeGraph, DatasetGraph dataset) -
Uses of DatasetGraph in org.apache.jena.sparql.graph
Methods in org.apache.jena.sparql.graph with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic boolean
GraphOps.containsGraph
(DatasetGraph dsg, org.apache.jena.graph.Node gn) Check whether a dataset contains a named graph of the given name.static org.apache.jena.graph.Graph
GraphOps.getGraph
(DatasetGraph dsg, org.apache.jena.graph.Node gn) Get a graph from the dataset - the graph name may be special - the union graph (which is immutable) or a special name for the default graph.static org.apache.jena.graph.Graph
GraphOps.unionGraph
(DatasetGraph dsg) Create an immutable union graph of all the named graphs in the dataset.static org.apache.jena.graph.Graph
GraphOps.unionGraph
(DatasetGraph dsg, Set<org.apache.jena.graph.Node> graphNames) Create an immutable union graph comprised of a set of named graphs.Constructors in org.apache.jena.sparql.graph with parameters of type DatasetGraphModifierConstructorDescriptionRead-only graph view of all named graphs in the dataset.GraphUnionRead
(DatasetGraph dsg, Collection<org.apache.jena.graph.Node> graphs) Read-only graph view of a set of graphs from the dataset -
Uses of DatasetGraph in org.apache.jena.sparql.modify
Methods in org.apache.jena.sparql.modify that return DatasetGraphMethods in org.apache.jena.sparql.modify with parameters of type DatasetGraphModifier and TypeMethodDescriptionboolean
UpdateEngineFactory.accept
(DatasetGraph datasetGraph, Context context) Answer whether this factory can produce an UpdateEngine for the specified GraphStoreUpdateEngineFactory.create
(DatasetGraph datasetGraph, Binding inputBinding, Context context) Create the update engine - having returned true to accept, should not failUpdateEngineRegistry.find
(DatasetGraph graphStore, Context context) Locate a suitable factory for this datasetstatic UpdateEngineFactory
UpdateEngineRegistry.findFactory
(DatasetGraph graphStore, Context context) Locate a suitable factory for this dataset from the default registryConstructors in org.apache.jena.sparql.modify with parameters of type DatasetGraphModifierConstructorDescriptionUpdateEngineBase
(DatasetGraph datasetGraph, Binding inputBinding, Context context) UpdateEngineMain
(DatasetGraph datasetGraph, Binding inputBinding, Context context) Creates a new Update EngineUpdateEngineNonStreaming
(DatasetGraph datasetGraph, Binding inputBinding, Context context) Creates a new Update EngineUpdateEngineWorker
(DatasetGraph datasetGraph, Binding inputBinding, Context context) UpdateProcessorBase
(UpdateRequest request, DatasetGraph datasetGraph, Binding inputBinding, Context context, UpdateEngineFactory factory) UpdateProcessorStreamingBase
(DatasetGraph datasetGraph, Binding inputBinding, Prologue prologue, Context context, UpdateEngineFactory factory) -
Uses of DatasetGraph in org.apache.jena.sparql.sse
Methods in org.apache.jena.sparql.sse that return DatasetGraphModifier and TypeMethodDescriptionstatic DatasetGraph
SSE.parseDatasetGraph
(String string) Parse a string, and obtain a DatasetGraphstatic DatasetGraph
SSE.parseDatasetGraph
(String string, org.apache.jena.shared.PrefixMapping pmap) Parse a string, and obtain a graphstatic DatasetGraph
SSE.readDatasetGraph
(String filename) Read in a file, parse, and obtain a graphstatic DatasetGraph
SSE.readDatasetGraph
(String filename, org.apache.jena.shared.PrefixMapping pmap) Read in a file, parse, and obtain a DatasetGraphMethods in org.apache.jena.sparql.sse with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic void
WriterSSE.out
(org.apache.jena.atlas.io.IndentedWriter out, DatasetGraph dsg, Prologue prologue) static void
SSE.readDatasetGraph
(DatasetGraph dsg, String filename) Read in a file, parse, load a DatasetGraphstatic void
SSE.readDatasetGraph
(DatasetGraph dsg, String filename, org.apache.jena.shared.PrefixMapping pmap) Read in a file, parse, load a DatasetGraphstatic String
SSE.str
(DatasetGraph dsg) static String
SSE.str
(DatasetGraph dsg, org.apache.jena.shared.PrefixMapping pmap) static void
SSE.write
(OutputStream out, DatasetGraph dataset) static void
SSE.write
(org.apache.jena.atlas.io.IndentedWriter out, DatasetGraph dataset) static void
SSE.write
(DatasetGraph dataset) -
Uses of DatasetGraph in org.apache.jena.sparql.sse.builders
Methods in org.apache.jena.sparql.sse.builders that return DatasetGraphModifier and TypeMethodDescriptionstatic DatasetGraph
BuilderGraph.buildDataset
(DatasetGraph dsg, Item item) static DatasetGraph
BuilderGraph.buildDataset
(DatasetGraph dsg, ItemList list) static DatasetGraph
BuilderGraph.buildDataset
(Item item) Format: (dataset (graph ...))static DatasetGraph
BuilderGraph.buildDataset
(ItemList list) Methods in org.apache.jena.sparql.sse.builders with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic DatasetGraph
BuilderGraph.buildDataset
(DatasetGraph dsg, Item item) static DatasetGraph
BuilderGraph.buildDataset
(DatasetGraph dsg, ItemList list) -
Uses of DatasetGraph in org.apache.jena.sparql.sse.writers
Methods in org.apache.jena.sparql.sse.writers with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic void
WriterGraph.output
(org.apache.jena.atlas.io.IndentedWriter out, DatasetGraph dataset, SerializationContext naming) -
Uses of DatasetGraph in org.apache.jena.sparql.syntax
Methods in org.apache.jena.sparql.syntax that return DatasetGraphConstructors in org.apache.jena.sparql.syntax with parameters of type DatasetGraph -
Uses of DatasetGraph in org.apache.jena.sparql.util
Classes in org.apache.jena.sparql.util that implement DatasetGraphModifier and TypeClassDescriptionclass
class
class
class
Methods in org.apache.jena.sparql.util that return DatasetGraphModifier and TypeMethodDescriptionstatic DatasetGraph
DatasetUtils.createDatasetGraph
(String uri, List<String> namedSourceList, String baseURI) static DatasetGraph
static DatasetGraph
DatasetUtils.createDatasetGraph
(DatasetDescription datasetDesc) Create a general purpose, in-memory dataset, and load data.static DatasetGraph
DatasetUtils.createDatasetGraph
(DatasetDescription datasetDesc, String baseURI) Create a general purpose, in-memory dataset, and load data.DyadicDatasetGraph.setContext
(Context c) Methods in org.apache.jena.sparql.util with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic void
DatasetUtils.addInGraphs
(DatasetGraph dsg, List<String> uriList, List<String> namedSourceList) Add graphs into a DatasetGraphstatic void
DatasetUtils.addInGraphs
(DatasetGraph dsg, List<String> uriList, List<String> namedSourceList, String baseURI) Add graphs into a DatasetGraphstatic void
QueryExecUtils.exec
(Query query, DatasetGraph dsg) static void
QueryExecUtils.execute
(Op op, DatasetGraph dsg) static void
QueryExecUtils.execute
(Op op, DatasetGraph dsg, ResultsFormat outputFormat) static void
QueryExecUtils.execute
(Op op, DatasetGraph dsg, ResultsFormat outputFormat, PrintStream output) static Context
Context.fromDataset
(DatasetGraph dataset) Return the context of the dataset (not copied); if the dataset is null, return nullstatic boolean
IsoMatcher.isomorphic
(DatasetGraph dsg1, DatasetGraph dsg2) Dataset isomorphismstatic Context
Context.setupContextForDataset
(Context globalContext, DatasetGraph dataset) Setup a context using another context and a dataset.Constructors in org.apache.jena.sparql.util with parameters of type DatasetGraphModifierConstructorDescriptionDifferenceDatasetGraph
(DatasetGraph left, DatasetGraph right, Context c) IntersectionDatasetGraph
(DatasetGraph left, DatasetGraph right, Context c) UnionDatasetGraph
(DatasetGraph left, DatasetGraph right, Context c) -
Uses of DatasetGraph in org.apache.jena.system
Methods in org.apache.jena.system with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic Quad
G.getOne
(DatasetGraph dsg, org.apache.jena.graph.Node graph, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object) Get quad if there is exactly one to match the s/p/o, else throw RDFDataException.static Quad
G.getOneOrNull
(DatasetGraph dsg, org.apache.jena.graph.Node graph, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object) Get triple if there is exactly one to match the s/p/o; else return null if none or more than one.static Quad
G.getZeroOrOne
(DatasetGraph dsg, org.apache.jena.graph.Node graph, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object) Get triple if there is exactly one to match the s/p/o; return null if none; throw RDFDataException if more than one.static boolean
SpotTDB.isTDB
(DatasetGraph dsg) static boolean
SpotTDB.isTDB1
(DatasetGraph dsg) static boolean
SpotTDB.isTDB2
(DatasetGraph dsg) -
Uses of DatasetGraph in org.apache.jena.system.buffering
Subinterfaces of DatasetGraph in org.apache.jena.system.bufferingModifier and TypeInterfaceDescriptioninterface
BufferingDatasetGraph interfaceClasses in org.apache.jena.system.buffering that implement DatasetGraphModifier and TypeClassDescriptionclass
BufferingDatasetGraph - stores operations as adds/deletes of "triples" (default graph) and "quads" (named graphs)Methods in org.apache.jena.system.buffering that return DatasetGraphConstructors in org.apache.jena.system.buffering with parameters of type DatasetGraphModifierConstructorDescriptionCreate a BufferingDatasetGraph which buffers 1 transaction.BufferingDatasetGraph
(DatasetGraph dsg, int txnBuffering) Create a BufferingDatasetGraph which buffers uptotxnBuffering
transactions. -
Uses of DatasetGraph in org.apache.jena.update
Methods in org.apache.jena.update that return DatasetGraphModifier and TypeMethodDescriptionUpdateProcessorStreaming.getDatasetGraph()
The dataset against which the query will execute.Methods in org.apache.jena.update with parameters of type DatasetGraphModifier and TypeMethodDescriptionstatic UpdateProcessorStreaming
UpdateStreaming.createStreaming
(DatasetGraph datasetGraph) Deprecated, for removal: This API element is subject to removal in a future version.static UpdateProcessorStreaming
UpdateStreaming.createStreaming
(DatasetGraph datasetGraph, Binding inputBinding) Deprecated, for removal: This API element is subject to removal in a future version.static UpdateProcessorStreaming
UpdateStreaming.createStreaming
(DatasetGraph datasetGraph, Context context) Deprecated, for removal: This API element is subject to removal in a future version.static void
UpdateAction.execute
(UpdateRequest request, DatasetGraph dataset) Execute SPARQL Update operations.static void
UpdateAction.execute
(UpdateRequest request, DatasetGraph datasetGraph, Binding inputBinding) Execute SPARQL Update operations.static void
UpdateAction.execute
(Update update, DatasetGraph dataset) Execute a single SPARQL Update operation.static void
UpdateAction.execute
(Update update, DatasetGraph datasetGraph, Binding inputBinding) Execute a single SPARQL Update operation.static void
UpdateAction.parseExecute
(String updateString, DatasetGraph dataset) Parse a string containing SPARQL Update operations, and execute the operations.static void
UpdateAction.parseExecute
(String updateString, DatasetGraph dataset, Binding inputBinding) Parse a string containing SPARQL Update operations, and execute the operations.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, QuerySolution inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, Binding inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName) Parse update operations into a DatasetGraph by reading it from a filestatic void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, QuerySolution inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, Binding inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
UpdateAction.readExecute
(String filename, DatasetGraph dataset) Read a file containing SPARQL Update operations, and execute the operations.static void
UpdateAction.readExecute
(String filename, DatasetGraph datasetGraph, Binding inputBinding) Read a file containing SPARQL Update operations, and execute the operations.
UpdateExecution.dataset(dataset)... build()