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 JingguoYao
Date Mon, 21 Mar 2011 15:16:26 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 JingguoYao.
The comment on this change is: Disable wiki links.
http://wiki.apache.org/cassandra/ArchitectureSSTable?action=diff&rev1=2&rev2=3

--------------------------------------------------

    1. Start indexing based on column family comparator
     1. If columns empty write integer zero, return
     1. Iterate over columns until getColumnIndexSize() is exceeded (default is 64KB)
-     1. Construct new IndexInfo that consists of last column before exceeded, existing column
name, startPosition and endPosition - startPosition
+     1. Construct new !IndexInfo that consists of last column before exceeded, existing column
name, startPosition and endPosition - startPosition
     1. Write size of indexSizeInBytes (int)
-    1. Serialize each IndexInfo object - (firstname is last colum name before exceeded, and
lastname is the existing column name)
+    1. Serialize each !IndexInfo object - (firstname is last colum name before exceeded,
and lastname is the existing column name)
      1. Write byte firstname - (length >> 8) & 0xFF
      1. Write byte firstname - (length & 0xFF)
      1. Write byte firstname

Mime
View raw message