org.apache.accumulo.core.file.blockfile.impl
Class CachableBlockFile.BlockWrite
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile.BlockWrite
- All Implemented Interfaces:
- Closeable, DataOutput, Flushable, ABlockWriter
- Enclosing class:
- CachableBlockFile
public static class CachableBlockFile.BlockWrite
- extends DataOutputStream
- implements ABlockWriter
Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.io.DataOutput |
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
CachableBlockFile.BlockWrite
public CachableBlockFile.BlockWrite(BCFile.Writer.BlockAppender ba)
getCompressedSize
public long getCompressedSize()
throws IOException
- Specified by:
getCompressedSize
in interface ABlockWriter
- Throws:
IOException
getRawSize
public long getRawSize()
throws IOException
- Specified by:
getRawSize
in interface ABlockWriter
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in interface ABlockWriter
- Overrides:
close
in class FilterOutputStream
- Throws:
IOException
getStream
public DataOutputStream getStream()
throws IOException
- Specified by:
getStream
in interface ABlockWriter
- Throws:
IOException
getStartPos
public long getStartPos()
throws IOException
- Specified by:
getStartPos
in interface ABlockWriter
- Throws:
IOException
Copyright © 2015 Apache Accumulo Project. All rights reserved.