public class LazilyCompactedRow extends AbstractCompactedRow implements java.lang.Iterable<OnDiskAtom>
key| Constructor and Description |
|---|
LazilyCompactedRow(CompactionController controller,
java.util.List<? extends OnDiskAtomIterator> rows) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ColumnStats |
columnStats() |
AbstractType<?> |
getComparator() |
java.util.Iterator<OnDiskAtom> |
iterator() |
void |
update(java.security.MessageDigest digest)
update @param digest with the data bytes of the row (not including row key or row size).
|
RowIndexEntry |
write(long currentPosition,
java.io.DataOutput out)
write the row (size + column index + filter + column data, but NOT row key) to @param out.
|
public LazilyCompactedRow(CompactionController controller, java.util.List<? extends OnDiskAtomIterator> rows)
public RowIndexEntry write(long currentPosition, java.io.DataOutput out) throws java.io.IOException
AbstractCompactedRowwrite in class AbstractCompactedRowjava.io.IOExceptionpublic void update(java.security.MessageDigest digest)
AbstractCompactedRowupdate in class AbstractCompactedRowpublic AbstractType<?> getComparator()
public java.util.Iterator<OnDiskAtom> iterator()
iterator in interface java.lang.Iterable<OnDiskAtom>public ColumnStats columnStats()
columnStats in class AbstractCompactedRowpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright © 2015 The Apache Software Foundation