RSErasureCodec (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.io.erasurecode.codec, class: RSErasureCodec

Package org.apache.hadoop.io.erasurecode.codec

# Class RSErasureCodec

java.lang.Object
org.apache.hadoop.io.erasurecode.codec.ErasureCodec
org.apache.hadoop.io.erasurecode.codec.RSErasureCodec

@Private public class RSErasureCodec extends ErasureCodec
A Reed-Solomon erasure codec.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RSErasureCodec(Configuration conf, ErasureCodecOptions options)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ErasureDecoder`
  `createDecoder()`
  `ErasureEncoder`
  `createEncoder()`

  ### Methods inherited from class org.apache.hadoop.io.erasurecode.codec.ErasureCodec

  `createBlockGrouper, getCodecOptions, getCoderOptions, getName, getSchema, setCodecOptions, setCoderOptions`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RSErasureCodec

    public RSErasureCodec(Configuration conf, ErasureCodecOptions options)

- ## Method Details

  - ### createEncoder

    public ErasureEncoder createEncoder()
    Specified by:
      `createEncoder` in class `ErasureCodec`

  - ### createDecoder

    public ErasureDecoder createDecoder()
    Specified by:
      `createDecoder` in class `ErasureCodec`