cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "ArchitectureSSTable" by DaveBrosius
Date Mon, 13 Feb 2012 03:23:22 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "ArchitectureSSTable" page has been changed by DaveBrosius:
http://wiki.apache.org/cassandra/ArchitectureSSTable?action=diff&rev1=4&rev2=5

Comment:
give main classes responsible for parts

  
  When adding a new key to an SSTable here are the steps it goes through. All keys are sorted
before writing.
  
-  1. Serialize Index
+  1. Serialize Index  (ColumnIndexer.serialize(IIterableColumns columns, DataOutput dos))
    1. Sort columns for key
    1. Serialize columns bloom filter
     1. Loop through columns and subcolumns that make up for column family
@@ -36, +36 @@

      1. Write byte lastname
      1. Write long startPosition
      1. Write long endPosition - startPosition
-  1. Serialize Data
+  1. Serialize Data  (ColumnFamilySerializer.serializeForSSTable(ColumnFamily columnFamily,
DataOutput dos)
    1. Write columnFamily localDeletionTime (int)
    1. Write columnFamily markedForDeleteAt (long)
    1. Sort columns

Mime
View raw message