com.hp.hpl.jena.query
Interface Dataset

All Known Subinterfaces:
DataSource

public interface Dataset

Query is over a Dataset, a collection of named graphs and a background graph (also called the default graph or unnamed graph).

Version:
$Id: Dataset.java,v 1.5 2005/09/29 14:29:48 andy_seaborne Exp $
Author:
Andy Seaborne

Method Summary
 boolean containsNamedModel(java.lang.String uri)
          Does the dataset contain a model with the name supplied?
 com.hp.hpl.jena.rdf.model.Model getDefaultModel()
          Get the default graph as a Jena Model
 com.hp.hpl.jena.shared.Lock getLock()
          Get the lock for this dataset
 com.hp.hpl.jena.rdf.model.Model getNamedModel(java.lang.String uri)
          Get a graph by name as a Jena Model
 java.util.Iterator listNames()
          List the names
 

Method Detail

getDefaultModel

com.hp.hpl.jena.rdf.model.Model getDefaultModel()
Get the default graph as a Jena Model


getNamedModel

com.hp.hpl.jena.rdf.model.Model getNamedModel(java.lang.String uri)
Get a graph by name as a Jena Model


containsNamedModel

boolean containsNamedModel(java.lang.String uri)
Does the dataset contain a model with the name supplied?


listNames

java.util.Iterator listNames()
List the names


getLock

com.hp.hpl.jena.shared.Lock getLock()
Get the lock for this dataset



Copyright © 2004, 2005 Hewlett-Packard Development Company, LP