Class OpConditional
- java.lang.Object
-
- org.apache.jena.sparql.util.PrintSerializableBase
-
- org.apache.jena.sparql.algebra.op.OpBase
-
- org.apache.jena.sparql.algebra.op.Op2
-
- org.apache.jena.sparql.algebra.op.OpConditional
-
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable
,Op
,Named
,PrintSerializable
public class OpConditional extends Op2
Conditional execution - works with streamed execution and is known to safe to evaluate that way (no issues from nested optionals). For each element in the input stream, execute the expression (i.e. index-join it to the element in the input stream). If it matches, return those results. If it does not, return the input stream element.
-
-
Constructor Summary
Constructors Constructor Description OpConditional(Op left, Op right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Op
apply(Transform transform, Op left, Op right)
Op2
copy(Op newLeft, Op newRight)
boolean
equalTo(Op op2, NodeIsomorphismMap labelMap)
java.lang.String
getName()
void
visit(OpVisitor opVisitor)
-
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
-
visit
public void visit(OpVisitor opVisitor)
-
equalTo
public boolean equalTo(Op op2, NodeIsomorphismMap labelMap)
-
getName
public java.lang.String getName()
-
-