de.fuberlin.wiwiss.d2rq.engine
Class OpUnionTableSQL
java.lang.Object
com.hp.hpl.jena.sparql.util.PrintSerializableBase
com.hp.hpl.jena.sparql.algebra.op.OpBase
com.hp.hpl.jena.sparql.algebra.op.OpExt
de.fuberlin.wiwiss.d2rq.engine.OpUnionTableSQL
- All Implemented Interfaces:
- Op, Named, PrintSerializable, Printable
public class OpUnionTableSQL
- extends OpExt
An Op
that wraps a union of multiple NodeRelation
s.
This is typically, but not necessarily, the result of matching a BGP
against a D2RQ-mapped database.
- Author:
- Richard Cyganiak (richard@cyganiak.de)
Fields inherited from class com.hp.hpl.jena.sparql.algebra.op.OpExt |
tag |
OpUnionTableSQL
public OpUnionTableSQL(Collection<OpTableSQL> tableOps)
OpUnionTableSQL
public OpUnionTableSQL(Collection<OpTableSQL> tableOps,
Op effectiveOp)
create
public static Op create(Collection<NodeRelation> tables)
- Creates a new instance from a collection of
NodeRelation
s, or a simpler equivalent Op
if optimizations are possible.
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