com.hp.hpl.jena.sparql.algebra.op
Class OpExt
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
- All Implemented Interfaces:
- Op, Named, PrintSerializable, Printable
- Direct Known Subclasses:
- OpFetch
public abstract class OpExt
- extends OpBase
Marker for extension points
Execution will be per-engine specific
OpExt
public OpExt(String name)
effectiveOp
public abstract Op effectiveOp()
- Return an op that will used by query processing algorithms such as
optimization. This method returns a non-extension Op expression that
is the equivalent SPARQL expression. For example, this is the Op replaced
by this extension node.
eval
public abstract QueryIterator eval(QueryIterator input,
ExecutionContext execCxt)
- Evaluate the op, given a stream of bindings as input
Throw UnsupportedOperationException if this OpExt is not executeable.
getName
public final String getName()
visit
public final void visit(OpVisitor opVisitor)
output
public void output(IndentedWriter out,
SerializationContext sCxt)
- Specified by:
output
in interface PrintSerializable
- Overrides:
output
in class OpBase
outputArgs
public abstract void outputArgs(IndentedWriter out,
SerializationContext sCxt)
- Output the arguments in legal SSE format. Multiple items, whitespace separated
Licenced under the Apache License, Version 2.0