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, waitaddAll, addAll, splitOffsetspublic void add(Blob blob)
add in interface FileAppender<Blob>public Metrics metrics()
FileAppenderMetrics for this file. Only valid after the file is closed.metrics in interface FileAppender<Blob>public long length()
FileAppenderlength in interface FileAppender<Blob>public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void finish()
throws java.io.IOException
java.io.IOExceptionpublic long footerSize()
public long fileSize()
public java.util.List<BlobMetadata> writtenBlobsMetadata()