com.hp.hpl.jena.graph.query
Class NamedTripleBunches

java.lang.Object
  extended by com.hp.hpl.jena.graph.query.NamedTripleBunches

public class NamedTripleBunches
extends Object

A NamedTripleBunches maps a [graph] name to a bunch of triples associated with that name.

Author:
hedgehog

Field Summary
static String anon
          A more-or-less internal object for referring to the "default" graph in a query.
 
Constructor Summary
NamedTripleBunches()
          Initialise an empty set of named bunches.
 
Method Summary
 void add(String name, Triple pattern)
          Associate another triple with the given name.
 Iterator<Map.Entry<String,SimpleQueryEngine.Cons>> entrySetIterator()
          Answer an iterator over the entry set of the associated map: this will be cleaned up as we refactor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

anon

public static final String anon
A more-or-less internal object for referring to the "default" graph in a query.

See Also:
Constant Field Values
Constructor Detail

NamedTripleBunches

public NamedTripleBunches()
Initialise an empty set of named bunches.

Method Detail

add

public void add(String name,
                Triple pattern)
Associate another triple with the given name.

Parameters:
name - the [graph] name for the buinch to add this triple to
pattern - the triple to add to the bunch

entrySetIterator

public Iterator<Map.Entry<String,SimpleQueryEngine.Cons>> entrySetIterator()
Answer an iterator over the entry set of the associated map: this will be cleaned up as we refactor.



Licenced under the Apache License, Version 2.0