com.hp.hpl.jena.sparql.algebra.op
Class OpTriple

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.PrintSerializableBase
      extended by com.hp.hpl.jena.sparql.algebra.op.OpBase
          extended by com.hp.hpl.jena.sparql.algebra.op.Op0
              extended by com.hp.hpl.jena.sparql.algebra.op.OpTriple
All Implemented Interfaces:
Op, Named, PrintSerializable, Printable

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 Summary
OpTriple(Triple triple)
           
 
Method Summary
 Op apply(Transform transform)
           
 OpBGP asBGP()
           
 Op0 copy()
           
 boolean equalTo(Op other, NodeIsomorphismMap labelMap)
           
 boolean equivalent(OpBGP opBGP)
           
 String getName()
           
 Triple getTriple()
           
 int hashCode()
           
 void visit(OpVisitor opVisitor)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.algebra.op.OpBase
equals, output, output
 
Methods inherited from class com.hp.hpl.jena.sparql.util.PrintSerializableBase
toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 

Constructor Detail

OpTriple

public OpTriple(Triple triple)
Method Detail

getTriple

public final 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)


Licenced under the Apache License, Version 2.0