Uses of Class org.apache.hadoop.io.erasurecode.ECBlock (Apache Hadoop Common 3.5.0 API)
Description: use: package: org.apache.hadoop.io.erasurecode, class: ECBlock

# Uses of Class
org.apache.hadoop.io.erasurecode.ECBlock

Packages that use ECBlock
Package
Description
org.apache.hadoop.io.erasurecode
org.apache.hadoop.io.erasurecode.coder
Erasure coders framework.
org.apache.hadoop.io.erasurecode.grouper

- ## Uses of ECBlock in org.apache.hadoop.io.erasurecode

  Methods in org.apache.hadoop.io.erasurecode that return ECBlock
  Modifier and Type
  Method
  Description
  `ECBlock[]`
  ECBlockGroup.`getDataBlocks()`
  Get data blocks
  `ECBlock[]`
  ECBlockGroup.`getParityBlocks()`
  Get parity blocks
  Constructors in org.apache.hadoop.io.erasurecode with parameters of type ECBlock
  Modifier
  Constructor
  Description
  ``
  `ECBlockGroup(ECBlock[] dataBlocks, ECBlock[] parityBlocks)`
  A constructor specifying data blocks and parity blocks.

- ## Uses of ECBlock in org.apache.hadoop.io.erasurecode.coder

  Methods in org.apache.hadoop.io.erasurecode.coder that return ECBlock
  Modifier and Type
  Method
  Description
  `ECBlock[]`
  ErasureCodingStep.`getInputBlocks()`
  Input blocks of readable data involved in this step, may be data blocks or parity blocks.
  `protected ECBlock[]`
  ErasureDecoder.`getInputBlocks(ECBlockGroup blockGroup)`
  We have all the data blocks and parity blocks as input blocks for recovering by default.
  `ECBlock[]`
  ErasureDecodingStep.`getInputBlocks()`
  `protected ECBlock[]`
  ErasureEncoder.`getInputBlocks(ECBlockGroup blockGroup)`
  `ECBlock[]`
  ErasureEncodingStep.`getInputBlocks()`
  `ECBlock[]`
  HHErasureCodingStep.`getInputBlocks()`
  `ECBlock[]`
  ErasureCodingStep.`getOutputBlocks()`
  Output blocks of writable buffers involved in this step, may be data blocks or parity blocks.
  `protected ECBlock[]`
  ErasureDecoder.`getOutputBlocks(ECBlockGroup blockGroup)`
  Which blocks were erased ?
  `ECBlock[]`
  ErasureDecodingStep.`getOutputBlocks()`
  `protected ECBlock[]`
  ErasureEncoder.`getOutputBlocks(ECBlockGroup blockGroup)`
  `ECBlock[]`
  ErasureEncodingStep.`getOutputBlocks()`
  `ECBlock[]`
  HHErasureCodingStep.`getOutputBlocks()`
  `protected ECBlock[]`
  XORErasureDecoder.`getOutputBlocks(ECBlockGroup blockGroup)`
  Which blocks were erased ?
  Methods in org.apache.hadoop.io.erasurecode.coder with parameters of type ECBlock
  Modifier and Type
  Method
  Description
  `protected int[]`
  ErasureDecoder.`getErasedIndexes(ECBlock[] inputBlocks)`
  Get indexes of erased blocks from inputBlocks
  `protected static int`
  ErasureDecoder.`getNumErasedBlocks(ECBlock[] inputBlocks)`
  Find out how many blocks are erased.
  Constructors in org.apache.hadoop.io.erasurecode.coder with parameters of type ECBlock
  Modifier
  Constructor
  Description
  ``
  `ErasureDecodingStep(ECBlock[] inputBlocks, int[] erasedIndexes, ECBlock[] outputBlocks, RawErasureDecoder rawDecoder)`
  The constructor with all the necessary info.
  ``
  `ErasureEncodingStep(ECBlock[] inputBlocks, ECBlock[] outputBlocks, RawErasureEncoder rawEncoder)`
  The constructor with all the necessary info.
  ``
  `HHErasureCodingStep(ECBlock[] inputBlocks, ECBlock[] outputBlocks)`
  Constructor given input blocks and output blocks.
  ``
  `HHXORErasureDecodingStep(ECBlock[] inputBlocks, int[] erasedIndexes, ECBlock[] outputBlocks, RawErasureDecoder rawDecoder, RawErasureEncoder rawEncoder)`
  The constructor with all the necessary info.
  ``
  `HHXORErasureEncodingStep(ECBlock[] inputBlocks, ECBlock[] outputBlocks, RawErasureEncoder rsRawEncoder, RawErasureEncoder xorRawEncoder)`
  The constructor with all the necessary info.

- ## Uses of ECBlock in org.apache.hadoop.io.erasurecode.grouper

  Methods in org.apache.hadoop.io.erasurecode.grouper with parameters of type ECBlock
  Modifier and Type
  Method
  Description
  `ECBlockGroup`
  BlockGrouper.`makeBlockGroup(ECBlock[] dataBlocks, ECBlock[] parityBlocks)`
  Calculating and organizing BlockGroup, to be called by ECManager