com.hp.hpl.jena.sparql.algebra.op
Class OpConditional
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.Op2
com.hp.hpl.jena.sparql.algebra.op.OpConditional
- All Implemented Interfaces:
- Op, Named, PrintSerializable, Printable
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.
OpConditional
public OpConditional(Op left,
Op right)
apply
public Op apply(Transform transform,
Op left,
Op right)
- Specified by:
apply
in class Op2
visit
public void visit(OpVisitor opVisitor)
copy
public Op copy(Op newLeft,
Op newRight)
- Specified by:
copy
in class Op2
equalTo
public boolean equalTo(Op op2,
NodeIsomorphismMap labelMap)
- Specified by:
equalTo
in interface Op
- Specified by:
equalTo
in class OpBase
getName
public String getName()
Licenced under the Apache License, Version 2.0