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

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.DatasetGraphBase
      extended by com.hp.hpl.jena.sparql.core.DatasetGraphBaseFind
All Implemented Interfaces:
DatasetGraph, Closeable
Direct Known Subclasses:
DatasetGraphCollection, DatasetGraphOne, DatasetGraphTriplesQuads

public abstract class DatasetGraphBaseFind
extends DatasetGraphBase

DatasetGraph framework. This class contains a convenience implementation of find that maps to a split between defaultGraph/named graphs.

See Also:
DatasetGraphTriplesQuads, DatasetGraphCollection, DatasetGraphOne

Method Summary
 Iterator<Quad> find(com.hp.hpl.jena.graph.Node g, com.hp.hpl.jena.graph.Node s, com.hp.hpl.jena.graph.Node p, com.hp.hpl.jena.graph.Node o)
          Implementation of find based on splitting into triples (default graph) and quads (named graph)
 Iterator<Quad> findNG(com.hp.hpl.jena.graph.Node g, com.hp.hpl.jena.graph.Node s, com.hp.hpl.jena.graph.Node p, com.hp.hpl.jena.graph.Node o)
          Find matching quads in the dataset in named graphs only - may include wildcards, Node.ANY or null
 
Methods inherited from class com.hp.hpl.jena.sparql.core.DatasetGraphBase
add, add, addGraph, close, contains, contains, containsGraph, delete, delete, deleteAny, find, find, getContext, getDefaultGraph, getGraph, getLock, isEmpty, removeGraph, setDefaultGraph, size, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sparql.core.DatasetGraph
listGraphNodes
 

Method Detail

find

public Iterator<Quad> find(com.hp.hpl.jena.graph.Node g,
                           com.hp.hpl.jena.graph.Node s,
                           com.hp.hpl.jena.graph.Node p,
                           com.hp.hpl.jena.graph.Node o)
Implementation of find based on splitting into triples (default graph) and quads (named graph)

See Also:
Graph.find(Node,Node,Node)

findNG

public Iterator<Quad> findNG(com.hp.hpl.jena.graph.Node g,
                             com.hp.hpl.jena.graph.Node s,
                             com.hp.hpl.jena.graph.Node p,
                             com.hp.hpl.jena.graph.Node o)
Description copied from interface: DatasetGraph
Find matching quads in the dataset in named graphs only - may include wildcards, Node.ANY or null

See Also:
Graph.find(Node,Node,Node)


Licenced under the Apache License, Version 2.0