org.nsdl.mptstore.query.component
Interface TriplePattern

All Known Implementing Classes:
BasicTriplePattern, MappableTriplePattern

public interface TriplePattern

Represents a pattern that defines matching triples.

A triple pattern contains three NodePatterns representing the subject, predicate, and object of a triple.

Author:
birkland

Method Summary
 NodePattern<ObjectNode> getObject()
          Get the object pattern of this triple pattern.
 NodePattern<PredicateNode> getPredicate()
          Get the predicate pattern of this triple pattern.
 NodePattern<SubjectNode> getSubject()
          Get the subject pattern of this triple pattern.
 

Method Detail

getSubject

NodePattern<SubjectNode> getSubject()
Get the subject pattern of this triple pattern.

Returns:
the subject pattern.

getPredicate

NodePattern<PredicateNode> getPredicate()
Get the predicate pattern of this triple pattern.

Returns:
the predicate pattern.

getObject

NodePattern<ObjectNode> getObject()
Get the object pattern of this triple pattern.

Returns:
the object pattern.