vishnu.model.algebra.algorithms.join
Class DefaultPartition
java.lang.Object
vishnu.model.algebra.algorithms.join.DefaultPartition
- All Implemented Interfaces:
- Partition
public class DefaultPartition
- extends java.lang.Object
- implements Partition
- Author:
- Mariano Tepper
-
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DefaultPartition
public DefaultPartition(TableContext c,
java.lang.String hashColumn)
put
public boolean put(Record r)
- Specified by:
put
in interface Partition
size
public int size(int partitionNumber)
- Specified by:
size
in interface Partition
retrieve
public Record retrieve(int partitionNumber,
int record)
- Specified by:
retrieve
in interface Partition
partitionCount
public int partitionCount()
- Specified by:
partitionCount
in interface Partition
finishPartitioning
public void finishPartitioning()
- Specified by:
finishPartitioning
in interface Partition
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object