org.apache.cassandra.io
Class PrecompactedRow

java.lang.Object
  extended by org.apache.cassandra.io.AbstractCompactedRow
      extended by org.apache.cassandra.io.PrecompactedRow

public class PrecompactedRow
extends AbstractCompactedRow

PrecompactedRow merges its rows in its constructor in memory.


Field Summary
 
Fields inherited from class org.apache.cassandra.io.AbstractCompactedRow
key
 
Constructor Summary
PrecompactedRow(ColumnFamilyStore cfStore, java.util.List<SSTableIdentityIterator> rows, boolean major, int gcBefore)
           
PrecompactedRow(DecoratedKey key, DataOutputBuffer buffer)
           
 
Method Summary
 int columnCount()
           
 boolean isEmpty()
           
 void update(java.security.MessageDigest digest)
           
 void write(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrecompactedRow

public PrecompactedRow(DecoratedKey key,
                       DataOutputBuffer buffer)

PrecompactedRow

public PrecompactedRow(ColumnFamilyStore cfStore,
                       java.util.List<SSTableIdentityIterator> rows,
                       boolean major,
                       int gcBefore)
Method Detail

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Specified by:
write in class AbstractCompactedRow
Throws:
java.io.IOException

update

public void update(java.security.MessageDigest digest)
Specified by:
update in class AbstractCompactedRow

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in class AbstractCompactedRow

columnCount

public int columnCount()
Specified by:
columnCount in class AbstractCompactedRow


Copyright © 2010 The Apache Software Foundation