public class ColumnDescriptor extends Object
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() |
ValueType |
getValueType() |
boolean |
isHasMultipleValues() |
long |
numBytes() |
Column |
read(ByteBuffer buffer,
ColumnConfig columnConfig) |
void |
write(WritableByteChannel 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 numBytes()
public void write(WritableByteChannel channel) throws IOException
IOException
public Column read(ByteBuffer buffer, ColumnConfig columnConfig)
Copyright © 2011–2015. All rights reserved.