MCPcopy Create free account
hub / github.com/MIT-DB-Class/simple-db-hw / hashCode

Method hashCode

src/java/simpledb/PageId.java:23–23  ·  view source on GitHub ↗

@return a hash code for this page, represented by the concatenation of the table number and the page number (needed if a PageId is used as a key in a hash table in the BufferPool, for example.) @see BufferPool

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 2

HeapPageIdsrc/java/simpledb/HeapPageId.java
BTreePageIdsrc/java/simpledb/BTreePageId.java

Calls

no outgoing calls

Tested by

no test coverage detected