public class StraightForwardContainsTupleStrategy
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
containsTuple(TupleBuffer t,
be.SIRAPRISE.server.Luw luw,
java.util.Map<java.lang.String,ValueBuffer> parameterValueMap)
Checks whether the relation denoted by the relational expression that we are the containsTuple() strategy for, contains a given tuple.
|
long |
getEstimatedContainsTupleCost(be.SIRAPRISE.server.Luw luw)
Gets an estimate of the cost for evaluating a containsTuple() call
|
public boolean containsTuple(TupleBuffer t, be.SIRAPRISE.server.Luw luw, java.util.Map<java.lang.String,ValueBuffer> parameterValueMap)
t
- the tuple whose appearance in the relation value denoted by our expression is to be checked.luw
- the requesting luw.parameterValueMap
- The parameter values to take into account when "evaluating" our expression to the relation it denotespublic long getEstimatedContainsTupleCost(be.SIRAPRISE.server.Luw luw)