Class OpQuadPattern

All Implemented Interfaces:, Op, Named, PrintSerializable

public class OpQuadPattern extends Op0
The main Op used in converting SPARQL algebra to quad form. OpQuadPattern reflects the fact that quads come in per-GRAPH units. OpQuadBlock is for a general containers of quads without any contract on the quads sharing the same graph node.
  • Constructor Details

    • OpQuadPattern

      public OpQuadPattern(org.apache.jena.graph.Node quadNode, BasicPattern triples)
  • Method Details

    • isQuadPattern

      public static boolean isQuadPattern(Op op)
    • getPattern

      public QuadPattern getPattern()
    • getGraphNode

      public org.apache.jena.graph.Node getGraphNode()
    • getBasicPattern

      public BasicPattern getBasicPattern()
    • isEmpty

      public boolean isEmpty()
    • isDefaultGraph

      public boolean isDefaultGraph()
      Is this quad pattern referring to the default graph by quad transformation or explicit naming?
    • isUnionGraph

      public boolean isUnionGraph()
      Is this quad pattern explicitly naming the union graph?
    • getName

      public String getName()
    • apply

      public Op apply(Transform transform)
      Specified by:
      apply in class Op0
    • visit

      public void visit(OpVisitor opVisitor)
    • copy

      public Op0 copy()
      Specified by:
      copy in class Op0
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class OpBase
    • equalTo

      public boolean equalTo(Op other, NodeIsomorphismMap labelMap)
      Specified by:
      equalTo in interface Op
      Specified by:
      equalTo in class OpBase