Class ElementGenerateTriplesBlock

java.lang.Object
org.apache.jena.sparql.syntax.Element
fr.mines_stetienne.ci.sparql_generate.syntax.ElementGenerateTriplesBlock
All Implemented Interfaces:
org.apache.jena.sparql.syntax.TripleCollector, org.apache.jena.sparql.syntax.TripleCollectorMark

public class ElementGenerateTriplesBlock extends org.apache.jena.sparql.syntax.Element implements org.apache.jena.sparql.syntax.TripleCollectorMark
The syntax element for a SPARQL Generate Basic Graph Pattern
Author:
Maxime Lefrançois
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ElementGenerateTriplesBlock(org.apache.jena.sparql.core.BasicPattern bgp)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTriple(int index, org.apache.jena.graph.Triple t)
     
    void
    addTriple(org.apache.jena.graph.Triple t)
     
    void
    addTriplePath(int index, org.apache.jena.sparql.core.TriplePath path)
     
    void
    addTriplePath(org.apache.jena.sparql.core.TriplePath path)
     
    boolean
    equalTo(org.apache.jena.sparql.syntax.Element el2, org.apache.jena.sparql.util.NodeIsomorphismMap isoMap)
     
    org.apache.jena.sparql.core.BasicPattern
     
    int
     
    boolean
     
    int
     
    Iterator<org.apache.jena.graph.Triple>
     
    void
    visit(org.apache.jena.sparql.syntax.ElementVisitor v)
     

    Methods inherited from class org.apache.jena.sparql.syntax.Element

    equals, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ElementGenerateTriplesBlock

      public ElementGenerateTriplesBlock()
    • ElementGenerateTriplesBlock

      public ElementGenerateTriplesBlock(org.apache.jena.sparql.core.BasicPattern bgp)
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • addTriple

      public void addTriple(org.apache.jena.graph.Triple t)
      Specified by:
      addTriple in interface org.apache.jena.sparql.syntax.TripleCollector
    • mark

      public int mark()
      Specified by:
      mark in interface org.apache.jena.sparql.syntax.TripleCollector
    • addTriple

      public void addTriple(int index, org.apache.jena.graph.Triple t)
      Specified by:
      addTriple in interface org.apache.jena.sparql.syntax.TripleCollector
    • addTriplePath

      public void addTriplePath(org.apache.jena.sparql.core.TriplePath path)
      Specified by:
      addTriplePath in interface org.apache.jena.sparql.syntax.TripleCollector
    • addTriplePath

      public void addTriplePath(int index, org.apache.jena.sparql.core.TriplePath path)
      Specified by:
      addTriplePath in interface org.apache.jena.sparql.syntax.TripleCollector
    • getPattern

      public org.apache.jena.sparql.core.BasicPattern getPattern()
    • patternElts

      public Iterator<org.apache.jena.graph.Triple> patternElts()
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.apache.jena.sparql.syntax.Element
    • equalTo

      public boolean equalTo(org.apache.jena.sparql.syntax.Element el2, org.apache.jena.sparql.util.NodeIsomorphismMap isoMap)
      Specified by:
      equalTo in class org.apache.jena.sparql.syntax.Element
    • visit

      public void visit(org.apache.jena.sparql.syntax.ElementVisitor v)
      Specified by:
      visit in class org.apache.jena.sparql.syntax.Element