public abstract class ComplexMetricSerde extends Object
Constructor and Description |
---|
ComplexMetricSerde() |
Modifier and Type | Method and Description |
---|---|
abstract ColumnPartSerde |
deserializeColumn(ByteBuffer buffer,
ColumnBuilder builder)
Deserializes a ByteBuffer and adds it to the ColumnBuilder.
|
abstract ComplexMetricExtractor |
getExtractor() |
abstract ObjectStrategy |
getObjectStrategy()
Deprecated.
|
abstract String |
getTypeName() |
com.google.common.base.Function<Object,Long> |
inputSizeFn()
Returns a function that can convert the Object provided by the ComplexColumn created through deserializeColumn
into a number of expected input bytes to produce that object.
|
public abstract String getTypeName()
public abstract ComplexMetricExtractor getExtractor()
public abstract ColumnPartSerde deserializeColumn(ByteBuffer buffer, ColumnBuilder builder)
buffer
- the buffer to deserializebuilder
- ColumnBuilder to add the column to@Deprecated public abstract ObjectStrategy getObjectStrategy()
public com.google.common.base.Function<Object,Long> inputSizeFn()
Copyright © 2015. All rights reserved.