Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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).

Author:
  Andy Seaborne

Method Summary
`com.hp.hpl.jena.sparql.core.DatasetGraph` | `asDatasetGraph()` Get the daatset in graph form
`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

### asDatasetGraph

    com.hp.hpl.jena.sparql.core.DatasetGraph asDatasetGraph()

  Get the daatset in graph form

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP