MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / filter

Method filter

src/java/simpledb/execution/JoinPredicate.java:46–49  ·  view source on GitHub ↗

Apply the predicate to the two specified tuples. The comparison can be made through Field's compare method. @return true if the tuples satisfy the predicate.

(Tuple t1, Tuple t2)

Source from the content-addressed store, hash-verified

44 * @return true if the tuples satisfy the predicate.
45 */
46 public boolean filter(Tuple t1, Tuple t2) {
47 // some code goes here
48 return t1.getField(field1).compare(op,t2.getField(field2));
49 }
50
51 public int getField1()
52 {

Callers 1

filterVaryingValsMethod · 0.95

Calls 2

compareMethod · 0.65
getFieldMethod · 0.45

Tested by 1

filterVaryingValsMethod · 0.76