org.jrdf.query.relation
Interface GraphRelation

All Superinterfaces:
Relation
All Known Implementing Classes:
GraphRelationImpl

public interface GraphRelation
extends Relation

A marker interface that indicates that the relation is of three columns - subject, predicate and object.

Version:
$Revision: 533 $
Author:
Andrew Newman

Method Summary
 Set<Tuple> getTuples(List<AttributeValuePair> nameValues)
          Returns the set of tuples based on the constraints given 3 attribute/value pairs.
 
Methods inherited from interface org.jrdf.query.relation.Relation
getHeading, getSortedHeading, getSortedTuples, getTuples
 

Method Detail

getTuples

Set<Tuple> getTuples(List<AttributeValuePair> nameValues)
Returns the set of tuples based on the constraints given 3 attribute/value pairs. Either of variable, type and ANY_NODE or position name, type and node value.

Parameters:
nameValues - an ordered list of 3 attribute value pairs in the subject, predicate and object position.
Returns:
a set of tuples.