|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.test.regression.ANDTupleFilter
public class ANDTupleFilter
Applies the AND filter function to two input tuples. This means that the resulting tuples will only contain documents that both tuples have. For example, if tuple A has documents containing the word "apple", and tuple B has documents containing the word "boy", then applying this AND filter to these two tuples will create a tuple that has documents containing both of the words "apple" and "boy". Effectively, it is returning the intersection of the two tuples.
Constructor Summary | |
---|---|
ANDTupleFilter()
|
Method Summary | |
---|---|
Tuple |
filter(Tuple tuple1,
Tuple tuple2)
Applies the AND filter function to the two input tuples. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ANDTupleFilter()
Method Detail |
---|
public Tuple filter(Tuple tuple1, Tuple tuple2)
filter
in interface TupleFilter
tuple1
- the first tupletuple2
- the second tuple
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |