Package edu.caltech.nanodb.expressions
Class TupleHasher
java.lang.Object
edu.caltech.nanodb.expressions.TupleHasher
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TupleHasher
public TupleHasher()
-
-
Method Details
-
hashTuple
Collects tuple values according to colIndexes into an ArrayList and returns the hash of the list. Order matters here, so hash(tuple, [1,2,3]) != hash(tuple, [3,2,1]).- Parameters:
tuple- the tuple to be hashedcolIndexes- the indices of the columns to be hashed.- Returns:
- the hash value for the tuple given the passed column indices
-
hashTuple
-