|
abstract byte [] | Compress (byte[] uncompressedData) |
| Compress data using implemented codec More...
|
|
abstract byte [] | Decompress (byte[] compressedData) |
| Decompress data using implemented codec More...
|
|
abstract string | GetName () |
| Name of this codec type More...
|
|
abstract override bool | Equals (object other) |
| Codecs must implement an equals() method More...
|
|
abstract override int | GetHashCode () |
| Codecs must implement a HashCode() method that is consistent with Equals More...
|
|
override string | ToString () |
| Returns name of codec More...
|
|
◆ Type
◆ Compress()
abstract byte [] Avro.File.Codec.Compress |
( |
byte [] |
uncompressedData | ) |
|
|
pure virtual |
◆ CreateCodec()
static Codec Avro.File.Codec.CreateCodec |
( |
Type |
codecType | ) |
|
|
inlinestatic |
Factory method to return child codec instance based on Codec.Type
- Parameters
-
- Returns
◆ CreateCodecFromString()
static Codec Avro.File.Codec.CreateCodecFromString |
( |
string |
codecType | ) |
|
|
inlinestatic |
Factory method to return child codec instance based on string type
- Parameters
-
- Returns
◆ Decompress()
abstract byte [] Avro.File.Codec.Decompress |
( |
byte [] |
compressedData | ) |
|
|
pure virtual |
◆ Equals()
abstract override bool Avro.File.Codec.Equals |
( |
object |
other | ) |
|
|
pure virtual |
◆ GetHashCode()
abstract override int Avro.File.Codec.GetHashCode |
( |
| ) |
|
|
pure virtual |
◆ GetName()
abstract string Avro.File.Codec.GetName |
( |
| ) |
|
|
pure virtual |
◆ ToString()
override string Avro.File.Codec.ToString |
( |
| ) |
|
|
inline |
Returns name of codec
- Returns
The documentation for this class was generated from the following file:
- src/apache/main/File/Codec.cs