Class OpTriple

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

      • OpTriple

        public OpTriple​(Triple triple)
    • Method Detail

      • getTriple

        public final Triple getTriple()
      • asBGP

        public final OpBGP asBGP()
      • copy

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

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

        public void visit​(OpVisitor opVisitor)
      • getName

        public java.lang.String getName()
      • equivalent

        public boolean equivalent​(OpBGP opBGP)