public class LongColumnSerializer extends Object implements GenericColumnSerializer
| Constructor and Description |
|---|
LongColumnSerializer(IOPeon ioPeon,
String filenameBase,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static LongColumnSerializer |
create(IOPeon ioPeon,
String filenameBase,
CompressedObjectStrategy.CompressionStrategy compression) |
long |
getSerializedSize() |
void |
open() |
void |
serialize(Object obj) |
void |
writeToChannel(WritableByteChannel channel) |
public LongColumnSerializer(IOPeon ioPeon, String filenameBase, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression)
public static LongColumnSerializer create(IOPeon ioPeon, String filenameBase, CompressedObjectStrategy.CompressionStrategy compression)
public void open()
throws IOException
open in interface GenericColumnSerializerIOExceptionpublic void serialize(Object obj) throws IOException
serialize in interface GenericColumnSerializerIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic long getSerializedSize()
getSerializedSize in interface GenericColumnSerializerpublic void writeToChannel(WritableByteChannel channel) throws IOException
writeToChannel in interface GenericColumnSerializerIOExceptionCopyright © 2011–2016. All rights reserved.