public class PuffinWriter extends java.lang.Object implements FileAppender<Blob>
Modifier and Type | Method and Description |
---|---|
void |
add(Blob blob) |
void |
close() |
long |
fileSize() |
void |
finish() |
long |
footerSize() |
long |
length()
Returns the length of this file.
|
Metrics |
metrics()
Returns
Metrics for this file. |
java.util.List<BlobMetadata> |
writtenBlobsMetadata() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAll, addAll, splitOffsets
public void add(Blob blob)
add
in interface FileAppender<Blob>
public Metrics metrics()
FileAppender
Metrics
for this file. Only valid after the file is closed.metrics
in interface FileAppender<Blob>
public long length()
FileAppender
length
in interface FileAppender<Blob>
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public void finish() throws java.io.IOException
java.io.IOException
public long footerSize()
public long fileSize()
public java.util.List<BlobMetadata> writtenBlobsMetadata()