Package hydra.query
Class TriplePattern
java.lang.Object
hydra.query.TriplePattern
- All Implemented Interfaces:
Serializable,Comparable<TriplePattern>
A subject/predicate/object pattern
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(TriplePattern other) booleaninthashCode()withObject(Node object) withPredicate(Path predicate) withSubject(Node subject)
-
Field Details
-
TYPE_
-
SUBJECT
-
PREDICATE
-
OBJECT
-
subject
The subject of the pattern -
predicate
The predicate (property) of the pattern -
object
The object of the pattern
-
-
Constructor Details
-
TriplePattern
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TriplePattern>
-
withSubject
-
withPredicate
-
withObject
-