Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 8411 invoked from network); 21 Mar 2011 15:16:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Mar 2011 15:16:53 -0000 Received: (qmail 312 invoked by uid 500); 21 Mar 2011 15:16:53 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 295 invoked by uid 500); 21 Mar 2011 15:16:53 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 287 invoked by uid 500); 21 Mar 2011 15:16:53 -0000 Delivered-To: apmail-incubator-cassandra-commits@incubator.apache.org Received: (qmail 284 invoked by uid 99); 21 Mar 2011 15:16:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 15:16:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 15:16:50 +0000 Received: from eosnew.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 1BA9B93; Mon, 21 Mar 2011 15:16:27 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Mon, 21 Mar 2011 15:16:26 -0000 Message-ID: <20110321151626.37185.75377@eosnew.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Update_of_=22ArchitectureSSTable=22_by_Jin?= =?utf-8?q?gguoYao?= X-Virus-Checked: Checked by ClamAV on apache.org 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=3Ddiff&rev1=3D2= &rev2=3D3 -------------------------------------------------- 1. Start indexing based on column family comparator 1. If columns empty write integer zero, return 1. Iterate over columns until getColumnIndexSize() is exceeded (defaul= t is 64KB) - 1. Construct new IndexInfo that consists of last column before exceed= ed, existing column name, startPosition and endPosition - startPosition + 1. Construct new !IndexInfo that consists of last column before excee= ded, existing column name, startPosition and endPosition - startPosition 1. Write size of indexSizeInBytes (int) - 1. Serialize each IndexInfo object - (firstname is last colum name bef= ore exceeded, and lastname is the existing column name) + 1. Serialize each !IndexInfo object - (firstname is last colum name be= fore 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