Class StatisticsVisitor

  • All Implemented Interfaces:
    org.apache.jena.sparql.syntax.ElementVisitor

    public class StatisticsVisitor
    extends org.apache.jena.sparql.syntax.RecursiveElementVisitor
    Simple visitor to check if simple statistics of a SPARQL Query appeared.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void endElement​(org.apache.jena.sparql.syntax.ElementPathBlock el)  
      void setElementWhere​(org.apache.jena.sparql.syntax.Element el)  
      void startElement​(org.apache.jena.sparql.syntax.ElementFilter el)  
      void startElement​(org.apache.jena.sparql.syntax.ElementGroup el)  
      void startElement​(org.apache.jena.sparql.syntax.ElementOptional el)  
      void startElement​(org.apache.jena.sparql.syntax.ElementUnion el)  
      • Methods inherited from class org.apache.jena.sparql.syntax.RecursiveElementVisitor

        endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endElement, endSubElement, endSubElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startSubElement, startSubElement, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • filter

        public boolean filter
      • regexFilter

        public boolean regexFilter
      • cmpFilter

        public boolean cmpFilter
      • union

        public boolean union
      • optional

        public boolean optional
      • bgps

        public int bgps
    • Constructor Detail

      • StatisticsVisitor

        public StatisticsVisitor()
    • Method Detail

      • startElement

        public void startElement​(org.apache.jena.sparql.syntax.ElementGroup el)
        Overrides:
        startElement in class org.apache.jena.sparql.syntax.RecursiveElementVisitor
      • setElementWhere

        public void setElementWhere​(org.apache.jena.sparql.syntax.Element el)
      • endElement

        public void endElement​(org.apache.jena.sparql.syntax.ElementPathBlock el)
        Overrides:
        endElement in class org.apache.jena.sparql.syntax.RecursiveElementVisitor
      • startElement

        public void startElement​(org.apache.jena.sparql.syntax.ElementFilter el)
        Overrides:
        startElement in class org.apache.jena.sparql.syntax.RecursiveElementVisitor
      • startElement

        public void startElement​(org.apache.jena.sparql.syntax.ElementUnion el)
        Overrides:
        startElement in class org.apache.jena.sparql.syntax.RecursiveElementVisitor
      • startElement

        public void startElement​(org.apache.jena.sparql.syntax.ElementOptional el)
        Overrides:
        startElement in class org.apache.jena.sparql.syntax.RecursiveElementVisitor