Class OpRewriter

  • All Implemented Interfaces:
    OpVisitor

    public class OpRewriter
    extends java.lang.Object
    implements OpVisitor
    This class rewrites the query by examining each operation in the algebra returned by the Jena SPARQL parser.

    This implementation inserts security evaluator checks where necessary.

    • Constructor Detail

      • OpRewriter

        public OpRewriter​(SecurityEvaluator securityEvaluator,
                          Node graphIRI)
        Constructor
        Parameters:
        securityEvaluator - The security evaluator to use
        graphIRI - The IRI for the default graph.
      • OpRewriter

        public OpRewriter​(SecurityEvaluator securityEvaluator,
                          java.lang.String graphIRI)
        Constructor
        Parameters:
        securityEvaluator - The security evaluator to use
        graphIRI - The IRI for the default graph.