|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.searchlibrary.operatorlibrary.join.HashJoin
public class HashJoin
Class used to hold the hashtable for the hash join algorithm
| Constructor Summary | |
|---|---|
HashJoin()
Creates a new HashJoin |
|
| Method Summary | |
|---|---|
void |
add(JoinElement elem)
Adds the provided element in the hashtable |
boolean |
isEmpty()
Checks if the hashtable is empty |
JoinElement |
lookup(JoinElement elem)
Checks if the provided element exists in the hashtable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HashJoin()
HashJoin
| Method Detail |
|---|
public JoinElement lookup(JoinElement elem)
elem - The element to lookup
null otherwisepublic void add(JoinElement elem)
elem - The element to addpublic boolean isEmpty()
true if it is, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||