Modifier and Type | Method and Description |
---|---|
DatasetGraph |
Dataset.asDatasetGraph()
Get the dataset in graph form
|
Modifier and Type | Method and Description |
---|---|
static Dataset |
DatasetFactory.create(DatasetGraph dataset)
Wrap a datasetgraph to make a mutable dataset
|
static Plan |
QueryExecutionFactory.createPlan(Query query,
DatasetGraph dataset,
Binding input) |
static Plan |
QueryExecutionFactory.createPlan(Query query,
DatasetGraph dataset,
Binding input,
Context context) |
Modifier and Type | Method and Description |
---|---|
static void |
SystemARQ.sync(DatasetGraph dataset)
Sync carefully for compound objects
|
Modifier and Type | Method and Description |
---|---|
static QueryIterator |
Algebra.exec(Op op,
DatasetGraph ds) |
static QueryIterator |
Algebra.execRef(Op op,
DatasetGraph dsg) |
Modifier and Type | Class and Description |
---|---|
class |
DatasetGraphBase
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 |
DatasetGraphBaseFind
DatasetGraph framework.
|
class |
DatasetGraphCaching
DatasetGraph that caches calls to make graph implementations.
|
class |
DatasetGraphCollection
Base class for implementations of a DatasetGraph as a set of graphs.
|
class |
DatasetGraphMaker
Implementation of a DatasetGraph as an open set of graphs where all graphs "exist".
|
class |
DatasetGraphMap
Implementation of a DatasetGraph as an extensible set of graphs.
|
class |
DatasetGraphOne
DatasetGraph of a single graph as default graph.
|
class |
DatasetGraphQuad
A DatasetGraph base class for pure quad-centric storage.
|
class |
DatasetGraphReadOnly
Read-only view of a DatasetGraph.
|
class |
DatasetGraphSimpleMem
Very simple, non-scalable DatasetGraph implementation
of a triples+quads style for testing.
|
class |
DatasetGraphTrackActive |
class |
DatasetGraphTriplesQuads
A DatasetGraph base class for triples+quads storage.
|
class |
DatasetGraphWithLock
A DatasetGraph that uses the dataset lock to give weak transactional behaviour.
|
class |
DatasetGraphWrapper |
static class |
DynamicDatasets.DynamicDatasetGraph |
Modifier and Type | Method and Description |
---|---|
DatasetGraph |
DatasetImpl.asDatasetGraph() |
static DatasetGraph |
DatasetGraphFactory.create(DatasetGraph dsg)
Create a DatasetGraph based on an existing one;
this is a structure copy of the dataset struture
but graphs are shared
|
static DatasetGraph |
DatasetGraphFactory.create(Graph graph)
Create a DatasetGraph starting with a single graph.
|
DatasetGraph |
DatasetDescription.createDatasetGraph()
Create a DatasetGraph from the description - reads URLs into an in-memory DatasetGraph
|
static DatasetGraph |
DatasetGraphFactory.createMem()
Create a DatasetGraph which has all graphs in memory.
|
static DatasetGraph |
DatasetGraphFactory.createMemFixed() |
static DatasetGraph |
DatasetGraphFactory.createOneGraph(Graph graph)
Create a DatasetGraph which only ever has a single default graph.
|
static DatasetGraph |
DynamicDatasets.dynamicDataset(Collection<Node> defaultGraphs,
Collection<Node> namedGraphs,
DatasetGraph dsg,
boolean defaultUnionGraph)
Given a DatasetGraph and a query, form a DatasetGraph that
is the dynamic dataset from the collection of graphs from the dataset
that go to make up the default graph (union) and named graphs.
|
static DatasetGraph |
DynamicDatasets.dynamicDataset(DatasetDescription description,
DatasetGraph dsg,
boolean defaultUnionGraph)
Given a DatasetGraph and a query, form a DatasetGraph that
is the dynamic dataset from the query.
|
Modifier and Type | Method and Description |
---|---|
static Dataset |
DatasetImpl.cloneStructure(DatasetGraph datasetGraph)
Clone the structure of a DatasetGraph.
|
static DatasetGraph |
DatasetGraphFactory.create(DatasetGraph dsg)
Create a DatasetGraph based on an existing one;
this is a structure copy of the dataset struture
but graphs are shared
|
static DatasetGraph |
DynamicDatasets.dynamicDataset(Collection<Node> defaultGraphs,
Collection<Node> namedGraphs,
DatasetGraph dsg,
boolean defaultUnionGraph)
Given a DatasetGraph and a query, form a DatasetGraph that
is the dynamic dataset from the collection of graphs from the dataset
that go to make up the default graph (union) and named graphs.
|
static DatasetGraph |
DynamicDatasets.dynamicDataset(DatasetDescription description,
DatasetGraph dsg,
boolean defaultUnionGraph)
Given a DatasetGraph and a query, form a DatasetGraph that
is the dynamic dataset from the query.
|
static Dataset |
DatasetImpl.wrap(DatasetGraph datasetGraph)
Wrap an existing DatasetGraph
|
Constructor and Description |
---|
DatasetGraphMap(DatasetGraph dsg)
Create a new DatasetGraph that initially shares the graphs of the
givem DatasetGraph.
|
DatasetGraphReadOnly(DatasetGraph dsg) |
DatasetGraphWithLock(DatasetGraph dsg) |
DatasetGraphWrapper(DatasetGraph dsg) |
DynamicDatasets.DynamicDatasetGraph(DatasetGraph dsg) |
Modifier and Type | Method and Description |
---|---|
DatasetGraph |
ExecutionContext.getDataset() |
Modifier and Type | Method and Description |
---|---|
boolean |
QueryEngineFactory.accept(Op op,
DatasetGraph dataset,
Context context) |
boolean |
QueryEngineFactory.accept(Query query,
DatasetGraph dataset,
Context context) |
Plan |
QueryEngineFactory.create(Op op,
DatasetGraph dataset,
Binding inputBinding,
Context context) |
Plan |
QueryEngineFactory.create(Query query,
DatasetGraph dataset,
Binding inputBinding,
Context context) |
QueryIterator |
OpEval.evaluate(Op op,
DatasetGraph dsg,
Binding binding,
Context context) |
QueryIterator |
QueryEngineBase.evaluate(Op op,
DatasetGraph dsg,
Binding binding,
Context context) |
QueryEngineFactory |
QueryEngineRegistry.find(Op op,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this algebra expression and dataset
|
QueryEngineFactory |
QueryEngineRegistry.find(Query query,
DatasetGraph dataset)
Locate a suitable factory for this query and dataset
|
QueryEngineFactory |
QueryEngineRegistry.find(Query query,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this query and dataset
|
static QueryEngineFactory |
QueryEngineRegistry.findFactory(Op op,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this algebra expression
and dataset from the default registry
|
static QueryEngineFactory |
QueryEngineRegistry.findFactory(Query query,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this query and dataset from the default registry
|
static Context |
QueryExecutionBase.setupContext(Context context,
DatasetGraph dataset) |
Constructor and Description |
---|
ExecutionContext(Context params,
Graph activeGraph,
DatasetGraph dataset,
OpExecutorFactory factory) |
Modifier and Type | Method and Description |
---|---|
QueryIterator |
QueryEngineMain.eval(Op op,
DatasetGraph dsg,
Binding input,
Context context) |
Constructor and Description |
---|
QueryEngineMain(Op op,
DatasetGraph dataset,
Binding input,
Context context) |
QueryEngineMain(Query query,
DatasetGraph dataset,
Binding input,
Context context) |
QueryEngineMainQuad(Op op,
DatasetGraph dataset,
Binding input,
Context context) |
QueryEngineMainQuad(Query query,
DatasetGraph dataset,
Binding input,
Context context) |
Modifier and Type | Method and Description |
---|---|
QueryIterator |
QueryEngineRef.eval(Op op,
DatasetGraph dsg,
Binding binding,
Context context) |
Constructor and Description |
---|
QueryEngineRef(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) |
Modifier and Type | Method and Description |
---|---|
DatasetGraph |
FunctionEnv.getDataset()
Return the dataset for the query
|
DatasetGraph |
FunctionEnvBase.getDataset() |
Constructor and Description |
---|
FunctionEnvBase(Context context,
Graph activeGraph,
DatasetGraph dataset) |
Modifier and Type | Method and Description |
---|---|
DatasetGraph |
GraphSPARQL.getDataset() |
Modifier and Type | Method and Description |
---|---|
static boolean |
GraphOps.containsGraph(DatasetGraph dsg,
Node gn) |
static Graph |
GraphOps.getGraph(DatasetGraph dsg,
Node gn) |
static Graph |
GraphOps.unionGraph(DatasetGraph dsg) |
Constructor and Description |
---|
GraphSPARQL(DatasetGraph dsg,
Node gn) |
GraphSPARQL(DatasetGraph dataset,
QueryEngineFactory factory) |
GraphSPARQL(DatasetGraph dataset,
String uri) |
GraphUnionRead(DatasetGraph dsg,
Collection<Node> graphs) |
Modifier and Type | Method and Description |
---|---|
static DatasetGraph |
DatasetLib.createDatasetGraphMem() |
Modifier and Type | Method and Description |
---|---|
static void |
DatasetLib.dump(DatasetGraph dataset)
Write, in SSE format (a debugging format).
|
static boolean |
DatasetLib.isomorphic(DatasetGraph dataset1,
DatasetGraph dataset2)
Return true if the datasets are isomorphic - same names for graphs, graphs isomorphic.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphStoreBasic |
class |
GraphStoreNull
A black hole for Quads, add as many as you want and it will forget them all.
|
class |
GraphStoreWrapper |
Constructor and Description |
---|
GraphStoreBasic(DatasetGraph dsg) |
Modifier and Type | Method and Description |
---|---|
static void |
WriterSSE.out(IndentedWriter out,
DatasetGraph dsg,
Prologue prologue) |
static void |
SSE.write(DatasetGraph dataset) |
static void |
SSE.write(IndentedWriter out,
DatasetGraph dataset) |
static void |
SSE.write(OutputStream out,
DatasetGraph dataset) |
Modifier and Type | Method and Description |
---|---|
static DatasetGraph |
BuilderGraph.buildDataset(Item item)
Format:
(dataset
(graph ...))
(graph IRIa ...))
(graph IRIb ...))
)
(graph ...) is an abbrevaition for a dataset with a default graph and no named graphs.
|
static DatasetGraph |
BuilderGraph.buildDataset(ItemList list) |
Modifier and Type | Method and Description |
---|---|
static void |
WriterGraph.output(IndentedWriter out,
DatasetGraph dataset,
SerializationContext naming) |
Modifier and Type | Method and Description |
---|---|
DatasetGraph |
ElementDataset.getDataset() |
Modifier and Type | Method and Description |
---|---|
void |
ElementDataset.setDataset(DatasetGraph ds) |
Constructor and Description |
---|
ElementDataset(DatasetGraph data,
Element patternElement) |
Modifier and Type | Method and Description |
---|---|
static DatasetGraph |
DatasetUtils.createDatasetGraph(DatasetDescription datasetDesc) |
static DatasetGraph |
DatasetUtils.createDatasetGraph(DatasetDescription datasetDesc,
FileManager fileManager,
String baseURI) |
static DatasetGraph |
DatasetUtils.createDatasetGraph(List<String> uriList,
List<String> namedSourceList,
FileManager fileManager,
String baseURI) |
static DatasetGraph |
DatasetUtils.createDatasetGraph(String uri,
List<String> namedSourceList,
FileManager fileManager,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryExecUtils.execute(Op op,
DatasetGraph dsg) |
static void |
QueryExecUtils.execute(Op op,
DatasetGraph dsg,
ResultsFormat outputFormat) |
static Context |
Context.setupContext(Context context,
DatasetGraph dataset) |
Modifier and Type | Interface and Description |
---|---|
interface |
GraphStore
A collection of graphs that an update can be applied to.
|
Modifier and Type | Method and Description |
---|---|
static GraphStore |
GraphStoreFactory.create(DatasetGraph datasetGraph)
Create a GraphStore from a dataset (graph-level) so that updates apply to the graphs in the dataset.
|
static void |
UpdateAction.execute(Update update,
DatasetGraph dataset)
Execute a single SPARQL Update operation.
|
static void |
UpdateAction.execute(Update update,
DatasetGraph dataset,
Binding initialBinding)
Execute a single SPARQL Update operation.
|
static void |
UpdateAction.execute(UpdateRequest request,
DatasetGraph dataset)
Execute SPARQL Update operations.
|
static void |
UpdateAction.execute(UpdateRequest request,
DatasetGraph dataset,
Binding initialBinding)
Execute SPARQL Update operations.
|
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 initialBinding)
Parse a string containing SPARQL Update operations, and execute the operations.
|
static 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 dataset,
Binding initialBinding)
Read a file containing SPARQL Update operations, and execute the operations.
|
Modifier and Type | Method and Description |
---|---|
static DatasetGraph |
RiotLoader.datasetFromString(String string,
Lang language,
String baseURI)
Parse a string and return the quads in a dataset (in-memory) (convenience operation)
|
static DatasetGraph |
RiotLoader.load(String filename)
Parse a file and return the quads in a dataset (in-memory)
|
static DatasetGraph |
RiotLoader.load(String filename,
Lang lang)
Parse a file and return the quads in a dataset (in-memory)
|
static DatasetGraph |
RiotLoader.load(String filename,
Lang lang,
String baseURI)
Parse a file and return the quads in a dataset (in-memory)
|
Modifier and Type | Method and Description |
---|---|
static Sink<Quad> |
RiotLoader.datasetSink(DatasetGraph dataset) |
static void |
RiotLoader.read(InputStream input,
DatasetGraph dataset,
Lang language,
String baseURI)
Parse an input stream and send the quads to a dataset
|
static void |
RiotLoader.read(String filename,
DatasetGraph dataset)
Parse a file into a dataset graph
|
static void |
RiotLoader.read(String filename,
DatasetGraph dataset,
Lang lang)
Parse a file to a dataset
|
static void |
RiotLoader.read(String filename,
DatasetGraph dataset,
Lang lang,
String baseURI)
Parse a file to a dataset
|
static void |
WebReader.readDataset(DatasetGraph dataset,
String uri) |
static void |
WebReader.readDataset(DatasetGraph dataset,
String uri,
Lang lang) |
static void |
RiotWriter.writeNQuads(OutputStream out,
DatasetGraph dsg) |
Constructor and Description |
---|
SinkQuadsToDataset(DatasetGraph dataset) |
Modifier and Type | Method and Description |
---|---|
static void |
NQuadsWriter.write(OutputStream out,
DatasetGraph dsg) |
Licenced under the Apache License, Version 2.0