de.fuberlin.wiwiss.d2rq.engine
Class OpTableSQL

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.OpExt
              extended by de.fuberlin.wiwiss.d2rq.engine.OpTableSQL
All Implemented Interfaces:
Op, Named, PrintSerializable, Printable

public class OpTableSQL
extends OpExt

An Op that wraps a NodeRelation.

Author:
Richard Cyganiak (richard@cyganiak.de)

Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.algebra.op.OpExt
tag
 
Constructor Summary
OpTableSQL(NodeRelation table)
           
 
Method Summary
static Op create(NodeRelation table)
          Creates a new OpTableSQL, or a simpler Op if optimizations are possible.
 Op effectiveOp()
           
 boolean equalTo(Op other, NodeIsomorphismMap labelMap)
           
 QueryIterator eval(QueryIterator input, ExecutionContext execCxt)
           
 int hashCode()
           
 void outputArgs(IndentedWriter out, SerializationContext sCxt)
           
 NodeRelation table()
           
 
Methods inherited from class com.hp.hpl.jena.sparql.algebra.op.OpExt
getName, output, visit
 
Methods inherited from class com.hp.hpl.jena.sparql.algebra.op.OpBase
equals, output
 
Methods inherited from class com.hp.hpl.jena.sparql.util.PrintSerializableBase
toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 

Constructor Detail

OpTableSQL

public OpTableSQL(NodeRelation table)
Method Detail

create

public static Op create(NodeRelation table)
Creates a new OpTableSQL, or a simpler Op if optimizations are possible.


table

public NodeRelation table()

eval

public QueryIterator eval(QueryIterator input,
                          ExecutionContext execCxt)
Specified by:
eval in class OpExt

effectiveOp

public Op effectiveOp()
Specified by:
effectiveOp in class OpExt

outputArgs

public void outputArgs(IndentedWriter out,
                       SerializationContext sCxt)
Specified by:
outputArgs in class OpExt

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