Class OpTriple

All Implemented Interfaces:, Op, Named, PrintSerializable

public class OpTriple extends Op0
Algebra operation for a single triple. Not normally used - triples are contained in basic graph patterns (which is the unit of extension in SPARQL, and also the unit for adapting to other data store in ARQ). But for experimentation, it can be useful to have a convenience direct triple access.
See Also:
  • Constructor Details

    • OpTriple

      public OpTriple(org.apache.jena.graph.Triple triple)
  • Method Details

    • getTriple

      public final org.apache.jena.graph.Triple getTriple()
    • asBGP

      public final OpBGP asBGP()
    • apply

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

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

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

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

      public void visit(OpVisitor opVisitor)
    • getName

      public String getName()
    • equivalent

      public boolean equivalent(OpBGP opBGP)