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