public class ColumnDescriptor extends Object implements Serializer
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ColumnDescriptor.Builder  | 
| Constructor and Description | 
|---|
ColumnDescriptor(ValueType valueType,
                boolean hasMultipleValues,
                List<ColumnPartSerde> parts)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ColumnDescriptor.Builder | 
builder()  | 
List<ColumnPartSerde> | 
getParts()  | 
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. | 
ValueType | 
getValueType()  | 
boolean | 
isHasMultipleValues()  | 
Column | 
read(ByteBuffer buffer,
    ColumnConfig columnConfig,
    SmooshedFileMapper smooshedFiles)  | 
void | 
writeTo(WritableByteChannel channel,
       FileSmoosher smoosher)
Writes serialized form of this object to the given channel. 
 | 
public ColumnDescriptor(ValueType valueType, boolean hasMultipleValues, List<ColumnPartSerde> parts)
public static ColumnDescriptor.Builder builder()
public ValueType getValueType()
public boolean isHasMultipleValues()
public List<ColumnPartSerde> getParts()
public long getSerializedSize()
                       throws IOException
SerializerSerializer.writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher) call.getSerializedSize in interface SerializerIOExceptionpublic void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
SerializerwriteTo in interface SerializerIOExceptionpublic Column read(ByteBuffer buffer, ColumnConfig columnConfig, SmooshedFileMapper smooshedFiles)
Copyright © 2011–2018. All rights reserved.