public static class CachableBlockFile.BlockWrite extends DataOutputStream implements ABlockWriter
written
out
Constructor and Description |
---|
CachableBlockFile.BlockWrite(BCFile.Writer.BlockAppender ba) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getCompressedSize() |
long |
getRawSize() |
long |
getStartPos() |
DataOutputStream |
getStream() |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public CachableBlockFile.BlockWrite(BCFile.Writer.BlockAppender ba)
public long getCompressedSize() throws IOException
getCompressedSize
in interface ABlockWriter
IOException
public long getRawSize() throws IOException
getRawSize
in interface ABlockWriter
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface ABlockWriter
close
in class FilterOutputStream
IOException
public DataOutputStream getStream() throws IOException
getStream
in interface ABlockWriter
IOException
public long getStartPos() throws IOException
getStartPos
in interface ABlockWriter
IOException
Copyright © 2014 Apache Accumulo Project. All rights reserved.