/[Apache-SVN]
ViewVC logotype

Revision 758997


Jump to revision: Previous Next
Author: jbellis
Date: Fri Mar 27 02:44:20 2009 UTC (15 years, 7 months ago)
Changed paths: 18
Log Message:
consolidates partition behavior in IPartitioner, so creating a new partitioner should be only a matter of implementing that interface.  all the external switch statements on PartitionerType have been folded into that.

SSTable is now the only part of the code that cares about the distinction between a 'raw' key and a 'decorated' key.  variables in that class have been named clientKey or decoratedKey to show which is which.  others don't care either because they only deal with decorated keys (SequenceFile) or only with client keys (everyone else).  as part of this, I've merged some overloaded methods with substantially duplicated code to simplify auditing these changes.

Changed paths

Path Details
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/db/ColumnFamilyStore.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/db/FileStruct.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/db/Memtable.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/db/PrimaryKey.java deleted
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/db/TimeFilter.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/dht/IPartitioner.java
(Copied from incubator/cassandra/trunk/src/org/apache/cassandra/service/IPartitioner.java, r758996)
added , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/dht/OrderPreservingPartitioner.java added
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/dht/RandomPartitioner.java added
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/io/IFileReader.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/io/IFileWriter.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/io/SSTable.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/io/SequenceFile.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/service/IPartitioner.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/service/OrderPreservingHashPartitioner.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/service/RandomPartitioner.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/service/StorageService.java modified , text changed
Directoryincubator/cassandra/trunk/src/org/apache/cassandra/test/SSTableTest.java modified , text changed
Directoryincubator/cassandra/trunk/test/org/apache/cassandra/io/SSTableTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26