ErasureCodingStep@Private public class HHXORErasureDecodingStep extends HHErasureCodingStep
| Constructor | Description |
|---|---|
HHXORErasureDecodingStep(ECBlock[] inputBlocks,
int[] erasedIndexes,
ECBlock[] outputBlocks,
RawErasureDecoder rawDecoder,
RawErasureEncoder rawEncoder) |
The constructor with all the necessary info.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
performCoding(ECChunk[] inputChunks,
ECChunk[] outputChunks) |
Perform encoding or decoding given the input chunks, and generated results
will be written to the output chunks.
|
finish, getInputBlocks, getOutputBlocks, getSubPacketSizepublic HHXORErasureDecodingStep(ECBlock[] inputBlocks, int[] erasedIndexes, ECBlock[] outputBlocks, RawErasureDecoder rawDecoder, RawErasureEncoder rawEncoder)
inputBlocks - inputBlocks.erasedIndexes - the indexes of erased blocks in inputBlocks arrayoutputBlocks - outputBlocks.rawDecoder - underlying RS decoder for hitchhiker decodingrawEncoder - underlying XOR encoder for hitchhiker decodingpublic void performCoding(ECChunk[] inputChunks, ECChunk[] outputChunks) throws java.io.IOException
ErasureCodingStepinputChunks - inputChunks.outputChunks - outputChunks.java.io.IOException - raised on errors performing I/O.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.