com.hp.hpl.jena.sparql.algebra.op
Class OpFilter

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.PrintSerializableBase
      extended by com.hp.hpl.jena.sparql.algebra.op.OpBase
          extended by com.hp.hpl.jena.sparql.algebra.op.Op1
              extended by com.hp.hpl.jena.sparql.algebra.op.OpFilter
All Implemented Interfaces:
Op, Named, PrintSerializable, Printable

public class OpFilter
extends Op1


Method Summary
 Op apply(Transform transform, Op subOp)
           
 Op copy(Op subOp)
           
 boolean equalTo(Op other, NodeIsomorphismMap labelMap)
           
static Op filter(ExprList exprs, Op op)
           
static Op filter(Expr expr, Op op)
           
static OpFilter filter(Op op)
           
static OpFilter filterDirect(ExprList exprs, Op op)
          Make a OpFilter - guarantteed to return an OpFilter
 ExprList getExprs()
           
 String getName()
           
 int hashCode()
           
static OpFilter tidy(OpFilter base)
          Compress multiple filters: (filter (filter (filter op)))) into one (filter op)
 void visit(OpVisitor opVisitor)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.algebra.op.Op1
getSubOp
 
Methods inherited from class com.hp.hpl.jena.sparql.algebra.op.OpBase
equals, output, output
 
Methods inherited from class com.hp.hpl.jena.sparql.util.PrintSerializableBase
toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 

Method Detail

filter

public static Op filter(Expr expr,
                        Op op)

filter

public static OpFilter filter(Op op)

filter

public static Op filter(ExprList exprs,
                        Op op)

filterDirect

public static OpFilter filterDirect(ExprList exprs,
                                    Op op)
Make a OpFilter - guarantteed to return an OpFilter


tidy

public static OpFilter tidy(OpFilter base)
Compress multiple filters: (filter (filter (filter op)))) into one (filter op)


getExprs

public ExprList getExprs()

getName

public String getName()

apply

public Op apply(Transform transform,
                Op subOp)
Specified by:
apply in class Op1

visit

public void visit(OpVisitor opVisitor)

copy

public Op copy(Op subOp)
Specified by:
copy in class Op1

hashCode

public int hashCode()
Specified by:
hashCode in class OpBase

equalTo

public boolean equalTo(Op other,
                       NodeIsomorphismMap labelMap)
Specified by:
equalTo in interface Op
Specified by:
equalTo in class OpBase


Licenced under the Apache License, Version 2.0