|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.query.relation.mem.GraphRelationImpl
public final class GraphRelationImpl
Implementation of relations containing 3 column heading (subject, predicate, object).
| Constructor Summary | |
|---|---|
GraphRelationImpl(Graph graph,
SortedAttributeFactory attributeFactory,
AttributeValuePairHelper avpHelper,
TupleComparator tupleComparator,
TupleFactory tupleFactory)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Set<Attribute> |
getHeading()
Returns the set of attributes or heading of the relation. |
SortedSet<Attribute> |
getSortedHeading()
|
SortedSet<Tuple> |
getSortedTuples()
|
Set<Tuple> |
getTuples()
Returns the set of tuples. |
Set<Tuple> |
getTuples(List<AttributeValuePair> nameValues)
Returns the set of tuples based on the constraints given 3 attribute/value pairs. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphRelationImpl(Graph graph,
SortedAttributeFactory attributeFactory,
AttributeValuePairHelper avpHelper,
TupleComparator tupleComparator,
TupleFactory tupleFactory)
| Method Detail |
|---|
public Set<Attribute> getHeading()
Relation
getHeading in interface Relationpublic Set<Tuple> getTuples()
Relation
getTuples in interface Relationpublic Set<Tuple> getTuples(List<AttributeValuePair> nameValues)
GraphRelation
getTuples in interface GraphRelationnameValues - an ordered list of 3 attribute value pairs in the subject, predicate and object position.
public SortedSet<Attribute> getSortedHeading()
getSortedHeading in interface Relationpublic SortedSet<Tuple> getSortedTuples()
getSortedTuples in interface Relationpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||