public class ComplexColumnSerializer extends Object implements GenericColumnSerializer
| Constructor and Description |
|---|
ComplexColumnSerializer(IOPeon ioPeon,
String filenameBase,
ObjectStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static ComplexColumnSerializer |
create(IOPeon ioPeon,
String filenameBase,
ObjectStrategy strategy) |
long |
getSerializedSize() |
void |
open() |
void |
serialize(Object obj) |
void |
writeToChannel(WritableByteChannel channel,
FileSmoosher smoosher) |
public ComplexColumnSerializer(IOPeon ioPeon, String filenameBase, ObjectStrategy strategy)
public static ComplexColumnSerializer create(IOPeon ioPeon, String filenameBase, ObjectStrategy strategy)
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, FileSmoosher smoosher) throws IOException
writeToChannel in interface GenericColumnSerializerIOExceptionCopyright © 2011–2017. All rights reserved.