Class OpExt
- java.lang.Object
-
- org.apache.jena.sparql.util.PrintSerializableBase
-
- org.apache.jena.sparql.algebra.op.OpBase
-
- org.apache.jena.sparql.algebra.op.OpExt
-
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable
,Op
,Named
,PrintSerializable
public abstract class OpExt extends OpBase
Marker for extension points Execution will be per-engine specific
-
-
Constructor Summary
Constructors Constructor Description OpExt(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Op
apply(Transform transform)
Op
apply(Transform transform, OpVisitor before, OpVisitor after)
abstract Op
effectiveOp()
Return an op that will used by query processing algorithms such as optimization.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.java.lang.String
getName()
void
output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
abstract void
outputArgs(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
Output the arguments in legal SSE format.void
visit(OpVisitor opVisitor)
-
Methods inherited from class org.apache.jena.sparql.algebra.op.OpBase
equals, equalTo, hashCode, output
-
Methods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
toString, toString
-
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toString
-
-
-
-
Method Detail
-
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 java.lang.String getName()
-
visit
public final void visit(OpVisitor opVisitor)
-
output
public void output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
- Specified by:
output
in interfacePrintSerializable
- Overrides:
output
in classOpBase
-
outputArgs
public abstract void outputArgs(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
Output the arguments in legal SSE format. Multiple items, whitespace separated
-
-