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.
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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 java.lang.String getName()
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.