public class LargeColumnSupportedComplexColumnSerializer extends Object implements GenericColumnSerializer
Modifier and Type | Method and Description |
---|---|
static LargeColumnSupportedComplexColumnSerializer |
create(SegmentWriteOutMedium segmentWriteOutMedium,
String filenameBase,
ObjectStrategy strategy) |
static LargeColumnSupportedComplexColumnSerializer |
createWithColumnSize(SegmentWriteOutMedium segmentWriteOutMedium,
String filenameBase,
ObjectStrategy strategy,
int columnSize) |
long |
getSerializedSize()
Returns the number of bytes, that this Serializer will write to the output _channel_ (not smoosher) on a
Serializer.writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher) call. |
void |
open() |
void |
serialize(Object obj) |
void |
writeTo(WritableByteChannel channel,
FileSmoosher smoosher)
Writes serialized form of this object to the given channel.
|
public static LargeColumnSupportedComplexColumnSerializer create(SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, ObjectStrategy strategy)
public static LargeColumnSupportedComplexColumnSerializer createWithColumnSize(SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, ObjectStrategy strategy, int columnSize)
public void open() throws IOException
open
in interface GenericColumnSerializer
IOException
public void serialize(Object obj) throws IOException
serialize
in interface GenericColumnSerializer
IOException
public long getSerializedSize() throws IOException
Serializer
Serializer.writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher)
call.getSerializedSize
in interface Serializer
IOException
public void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
Serializer
writeTo
in interface Serializer
IOException
Copyright © 2011–2018. All rights reserved.