public class DecoderPassThrough extends Decoder
| Constructor and Description |
|---|
DecoderPassThrough() |
| 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) |
void |
readExternal(ObjectInput in)
Redirects the default java serialization via externalizable to our default
hadoop writable serialization for efficient broadcast/rdd deserialization.
|
Decoder |
subRangeDecoder(int colStart,
int colEnd,
int dummycodedOffset)
Returns a new Decoder that only handles a sub range of columns.
|
void |
writeExternal(ObjectOutput os)
Redirects the default java serialization via externalizable to our default
hadoop writable serialization for efficient broadcast/rdd serialization.
|
getColnames, getSchema, setColnames, updateIndexRangespublic 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 initMetaData(FrameBlock meta)
initMetaData in class Decoderpublic void writeExternal(ObjectOutput os) throws IOException
DecoderwriteExternal in interface ExternalizablewriteExternal in class Decoderos - object outputIOException - if IOException occurspublic void readExternal(ObjectInput in) throws IOException
DecoderreadExternal in interface ExternalizablereadExternal in class Decoderin - object inputIOException - if IOException occurCopyright © 2021 The Apache Software Foundation. All rights reserved.