public class ComplexColumnSerializer extends Object implements GenericColumnSerializer
Constructor and Description |
---|
ComplexColumnSerializer(IOPeon ioPeon,
String filenameBase,
ComplexMetricSerde serde) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static ComplexColumnSerializer |
create(IOPeon ioPeon,
String filenameBase,
ComplexMetricSerde serde) |
long |
getSerializedSize() |
void |
open() |
void |
serialize(Object obj) |
void |
writeToChannel(WritableByteChannel channel) |
public ComplexColumnSerializer(IOPeon ioPeon, String filenameBase, ComplexMetricSerde serde)
public static ComplexColumnSerializer create(IOPeon ioPeon, String filenameBase, ComplexMetricSerde serde)
public void open() throws IOException
open
in interface GenericColumnSerializer
IOException
public void serialize(Object obj) throws IOException
serialize
in interface GenericColumnSerializer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public long getSerializedSize()
getSerializedSize
in interface GenericColumnSerializer
public void writeToChannel(WritableByteChannel channel) throws IOException
writeToChannel
in interface GenericColumnSerializer
IOException
Copyright © 2011–2016. All rights reserved.