public class CompressedLongsSupplierSerializer extends Object
| Constructor and Description |
|---|
CompressedLongsSupplierSerializer(int sizePer,
GenericIndexedWriter<ResourceHolder<LongBuffer>> flattener,
CompressedObjectStrategy.CompressionStrategy compression) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long value) |
void |
closeAndConsolidate(com.google.common.io.OutputSupplier<? extends OutputStream> consolidatedOut) |
static CompressedLongsSupplierSerializer |
create(IOPeon ioPeon,
String filenameBase,
ByteOrder order,
CompressedObjectStrategy.CompressionStrategy compression) |
void |
open() |
int |
size() |
public CompressedLongsSupplierSerializer(int sizePer,
GenericIndexedWriter<ResourceHolder<LongBuffer>> flattener,
CompressedObjectStrategy.CompressionStrategy compression)
public static CompressedLongsSupplierSerializer create(IOPeon ioPeon, String filenameBase, ByteOrder order, CompressedObjectStrategy.CompressionStrategy compression) throws IOException
IOExceptionpublic void open()
throws IOException
IOExceptionpublic int size()
public void add(long value)
throws IOException
IOExceptionpublic void closeAndConsolidate(com.google.common.io.OutputSupplier<? extends OutputStream> consolidatedOut) throws IOException
IOExceptionCopyright © 2015. All rights reserved.