cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1197364 - /cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/db/ColumnFamilySerializer.java
Date Fri, 04 Nov 2011 00:02:35 GMT
Author: jbellis
Date: Fri Nov  4 00:02:35 2011
New Revision: 1197364

URL: http://svn.apache.org/viewvc?rev=1197364&view=rev
Log:
r/m unused code

Modified:
    cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/db/ColumnFamilySerializer.java

Modified: cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/db/ColumnFamilySerializer.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/db/ColumnFamilySerializer.java?rev=1197364&r1=1197363&r2=1197364&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/db/ColumnFamilySerializer.java
(original)
+++ cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/db/ColumnFamilySerializer.java
Fri Nov  4 00:02:35 2011
@@ -158,18 +158,4 @@ public class ColumnFamilySerializer impl
     {
         return cf == null ? DBConstants.boolSize : cf.serializedSize();
     }
-
-    /**
-     * Observes columns in a single row, without adding them to the column family.
-     */
-    public void observeColumnsInSSTable(CFMetaData cfm, RandomAccessFile dis, SSTableMetadata.Collector
sstableMetadataCollector) throws IOException
-    {
-        int size = dis.readInt();
-        sstableMetadataCollector.addColumnCount(size);
-        for (int i = 0; i < size; ++i)
-        {
-            IColumn column = cfm.getColumnSerializer().deserialize(dis);
-            sstableMetadataCollector.updateMaxTimestamp(column.maxTimestamp());
-        }
-    }
 }



Mime
View raw message