Class OpQuadPattern

  • All Implemented Interfaces:
    org.apache.jena.atlas.io.Printable, 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 Detail

    • Method Detail

      • isQuadPattern

        public static boolean isQuadPattern​(Op op)
      • getGraphNode

        public Node getGraphNode()
      • 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 java.lang.String getName()
      • 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