Interface TriplePattern

All Superinterfaces:
Query, SPARQLGraphPattern
All Known Implementing Classes:
TriplePatternImpl

public interface TriplePattern extends SPARQLGraphPattern
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.graph.Triple
    Returns a representation of this triple pattern as an object of the class Triple of the Jena API.
    int
    Returns the number of distinct variables in this triple pattern.
    Returns a string representation of the triple
  • Method Details

    • asJenaTriple

      org.apache.jena.graph.Triple asJenaTriple()
      Returns a representation of this triple pattern as an object of the class Triple of the Jena API.
    • numberOfVars

      int numberOfVars()
      Returns the number of distinct variables in this triple pattern.
    • toString

      String toString()
      Returns a string representation of the triple
      Overrides:
      toString in class Object