public class DefaultBlockWriter extends Objectimplements BlockWriter
| Modifier and Type | Field and Description |
|---|---|
protected CompactWriter |
writer
|
| Constructor and Description |
|---|
DefaultBlockWriter(CompactWriter
|
protected final CompactWriterwriter
public DefaultBlockWriter(CompactWriterwriter)
public void writeHeader(FileHeaderheader) throws IOException
writeHeader in interface
BlockWriter
IOException
public void writeBlock(FileBlockblock) throws IOException
writeBlock in interface
BlockWriter
IOException