@Private public class RSRawEncoder extends RawErasureEncoder
| Constructor | Description |
|---|---|
RSRawEncoder(ErasureCoderOptions coderOptions) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doEncode(org.apache.hadoop.io.erasurecode.rawcoder.ByteArrayEncodingState encodingState) |
Perform the real encoding work using bytes array, supporting offsets
and lengths.
|
protected void |
doEncode(org.apache.hadoop.io.erasurecode.rawcoder.ByteBufferEncodingState encodingState) |
Perform the real encoding work using direct ByteBuffer.
|
allowChangeInputs, allowVerboseDump, encode, encode, encode, getNumAllUnits, getNumDataUnits, getNumParityUnits, preferDirectBuffer, releasepublic RSRawEncoder(ErasureCoderOptions coderOptions)
protected void doEncode(org.apache.hadoop.io.erasurecode.rawcoder.ByteBufferEncodingState encodingState)
RawErasureEncoderdoEncode in class RawErasureEncoderencodingState - the encoding state.protected void doEncode(org.apache.hadoop.io.erasurecode.rawcoder.ByteArrayEncodingState encodingState)
RawErasureEncoderdoEncode in class RawErasureEncoderencodingState - the encoding stateCopyright © 2008–2025 Apache Software Foundation. All rights reserved.