Class XORErasureEncoder
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.io.erasurecode.coder.ErasureEncoder
org.apache.hadoop.io.erasurecode.coder.XORErasureEncoder
- All Implemented Interfaces:
Configurable,ErasureCoder
Xor erasure encoder that encodes a block group.
It implements
ErasureCoder.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ErasureCodingStepprepareEncodingStep(ECBlockGroup blockGroup) Perform encoding against a block group.Methods inherited from class org.apache.hadoop.io.erasurecode.coder.ErasureEncoder
calculateCoding, getInputBlocks, getNumDataUnits, getNumParityUnits, getOptions, getOutputBlocks, preferDirectBuffer, releaseMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Constructor Details
-
XORErasureEncoder
-
-
Method Details
-
prepareEncodingStep
Description copied from class:ErasureEncoderPerform encoding against a block group.- Specified by:
prepareEncodingStepin classErasureEncoder- Parameters:
blockGroup- blockGroup.- Returns:
- encoding step for caller to do the real work
-