Class TriplePatternImpl
java.lang.Object
se.liu.ida.hefquin.base.query.impl.TriplePatternImpl
- All Implemented Interfaces:
Query,SPARQLGraphPattern,TriplePattern
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTriplePatternImpl(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) TriplePatternImpl(org.apache.jena.graph.Triple jenaObject) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.TripleReturns a representation of this triple pattern as an object of the classTripleof the Jena API.booleaninthashCode()intReturns the number of distinct variables in this triple pattern.toString()Returns a string representation of the triple
-
Field Details
-
jenaObj
protected final org.apache.jena.graph.Triple jenaObj
-
-
Constructor Details
-
TriplePatternImpl
public TriplePatternImpl(org.apache.jena.graph.Triple jenaObject) -
TriplePatternImpl
public TriplePatternImpl(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
-
-
Method Details
-
asJenaTriple
public org.apache.jena.graph.Triple asJenaTriple()Description copied from interface:TriplePatternReturns a representation of this triple pattern as an object of the classTripleof the Jena API.- Specified by:
asJenaTriplein interfaceTriplePattern
-
numberOfVars
public int numberOfVars()Description copied from interface:TriplePatternReturns the number of distinct variables in this triple pattern.- Specified by:
numberOfVarsin interfaceTriplePattern
-
toString
Description copied from interface:TriplePatternReturns a string representation of the triple- Specified by:
toStringin interfaceTriplePattern- Overrides:
toStringin classObject
-
equals
-
hashCode
public int hashCode()
-