Codec Class

 

Note

A newer version of HDInsight .NET SDK is available that uses the Azure Resource Manager (ARM) approach. You are encouraged to use the newer ARM-based version of HDInsight .NET SDK going forward. For instructions on how to use the new HDInsight .NET SDK to create a cluster, see Create HDInsight Linux clusters using .NET SDK. For instructions on how to submit jobs using the new .NET SDK and other approaches, see Submit jobs to an HDInsight cluster. The HDInsight SDK reference for the newer version is available at HDInsight .NET SDK Reference.

Represents the base class for compression codecs.

Namespace:   Microsoft.Hadoop.Avro.Container
Assembly:  Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Hadoop.Avro.Container.Codec

Syntax

public abstract class Codec
public ref class Codec abstract 
[<AbstractClass>]
type Codec = class end
Public MustInherit Class Codec

Constructors

Name Description
System_CAPS_protmethod Codec(String)

Initializes a new instance of the Codec class.

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static Deflate

Gets the default deflate codec.

System_CAPS_pubproperty Name

Gets the name of the codec.

System_CAPS_pubpropertySystem_CAPS_static Null

Gets the default null codec.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetCompressedStreamOver(Stream)

Wraps a non-compressed stream with the compressed one.

System_CAPS_pubmethod GetDecompressedStreamOver(Stream)

Wraps a compressed stream with the non-compressed one.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Hadoop.Avro.Container Namespace

Return to top