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

Method compare

src/java/simpledb/storage/Field.java:26–26  ·  view source on GitHub ↗

Compare the value of this field object to the passed in value. @param op The operator @param value The value to compare this Field to @return Whether or not the comparison yields true.

(Predicate.Op op, Field value)

Source from the content-addressed store, hash-verified

24 * @return Whether or not the comparison yields true.
25 */
26 boolean compare(Predicate.Op op, Field value);
27
28 /**
29 * Returns the type of this field (see {@link Type#INT_TYPE} or {@link Type#STRING_TYPE}

Callers 15

testMergeLeafPagesMethod · 0.95
checkRepMethod · 0.95
checkRepMethod · 0.95
compareMethod · 0.95
filterMethod · 0.95
indexIteratorMethod · 0.65
testSplitInternalPageMethod · 0.65

Implementers 2

StringFieldsrc/java/simpledb/storage/StringField.
IntFieldsrc/java/simpledb/storage/IntField.jav

Calls

no outgoing calls

Tested by 11

testMergeLeafPagesMethod · 0.76
indexIteratorMethod · 0.52
testSplitInternalPageMethod · 0.52
testBigFileMethod · 0.52