public class DecoderComposite extends Decoder
| Modifier and Type | Method and Description |
|---|---|
FrameBlock |
decode(MatrixBlock in,
FrameBlock out)
Block decode API converting a matrix block into a frame block.
|
void |
initMetaData(FrameBlock meta) |
Decoder |
subRangeDecoder(int colStart,
int colEnd,
int dummycodedOffset)
Returns a new Decoder that only handles a sub range of columns.
|
void |
updateIndexRanges(long[] beginDims,
long[] endDims)
Update index-ranges to after decoding.
|
getColnames, getSchema, setColnamespublic FrameBlock decode(MatrixBlock in, FrameBlock out)
Decoderpublic Decoder subRangeDecoder(int colStart, int colEnd, int dummycodedOffset)
DecodersubRangeDecoder in class DecodercolStart - the start index of the sub-range (1-based, inclusive)colEnd - the end index of the sub-range (1-based, exclusive)dummycodedOffset - the offset of dummycoded segments before colStartpublic void updateIndexRanges(long[] beginDims,
long[] endDims)
DecoderupdateIndexRanges in class DecoderbeginDims - the begin indexes before encodingendDims - the end indexes before encodingpublic void initMetaData(FrameBlock meta)
initMetaData in class DecoderCopyright © 2020 The Apache Software Foundation. All rights reserved.