Class OpQuadBlock

All Implemented Interfaces:
org.apache.jena.atlas.io.Printable, Op, Named, PrintSerializable

public class OpQuadBlock extends Op0
A list of quads. OpQuadBlock is any collection of quads, whereas OpQuadPattern is quads with the same graph node. The flip in naming is historical.
  • Constructor Details

    • OpQuadBlock

      public OpQuadBlock()
    • OpQuadBlock

      public OpQuadBlock(QuadPattern quads)
    • OpQuadBlock

      public OpQuadBlock(OpQuadPattern quadPattern)
  • Method Details

    • isQuadBlock

      public static boolean isQuadBlock(Op op)
    • create

      public static OpQuadBlock create(org.apache.jena.graph.Node quadNode, BasicPattern triples)
    • getPattern

      public QuadPattern getPattern()
    • isEmpty

      public boolean isEmpty()
    • 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
    • convert

      public List<OpQuadPattern> convert()
    • convertOp

      public Op convertOp()
      Convenience - convert to OpQuadPatterns which are more widely used (currently?)
    • 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