com.hp.hpl.jena.sparql.core
Class DynamicDatasets

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.DynamicDatasets

public class DynamicDatasets
extends Object


Nested Class Summary
static class DynamicDatasets.DynamicDatasetGraph
           
 
Constructor Summary
DynamicDatasets()
           
 
Method Summary
static DatasetGraph 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 Dataset dynamicDataset(DatasetDescription description, Dataset ds, boolean defaultUnionGraph)
          Given a Dataset and a query, form a Dataset that is the dynamic dataset from the query.
static DatasetGraph dynamicDataset(DatasetDescription description, DatasetGraph dsg, boolean defaultUnionGraph)
          Given a DatasetGraph and a query, form a DatasetGraph that is the dynamic dataset from the query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicDatasets

public DynamicDatasets()
Method Detail

dynamicDataset

public static Dataset dynamicDataset(DatasetDescription description,
                                     Dataset ds,
                                     boolean defaultUnionGraph)
Given a Dataset and a query, form a Dataset that is the dynamic dataset from the query.


dynamicDataset

public static DatasetGraph dynamicDataset(DatasetDescription description,
                                          DatasetGraph dsg,
                                          boolean defaultUnionGraph)
Given a DatasetGraph and a query, form a DatasetGraph that is the dynamic dataset from the query. Returns the original DatasetGraph if the dataset description is null.


dynamicDataset

public static DatasetGraph 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.



Licenced under the Apache License, Version 2.0