BufferedBinaryEncoder 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 a buffered binary encoder of Avro basic types.
Namespace: Microsoft.Hadoop.Avro
Assembly: Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)
Inheritance Hierarchy
System.Object
Microsoft.Hadoop.Avro.BufferedBinaryEncoder
Syntax
public sealed class BufferedBinaryEncoder : IEncoder, IDisposable
public ref class BufferedBinaryEncoder sealed : IEncoder, IDisposable
[<Sealed>]
type BufferedBinaryEncoder =
class
interface IEncoder
interface IDisposable
end
Public NotInheritable Class BufferedBinaryEncoder
Implements IEncoder, IDisposable
Constructors
Name | Description | |
---|---|---|
BufferedBinaryEncoder(Stream) | Initializes a new instance of the BufferedBinaryEncoder class. |
|
BufferedBinaryEncoder(Stream, Boolean) | Initializes a new instance of the BufferedBinaryEncoder class. |
Methods
Name | Description | |
---|---|---|
Dispose() | Releases the resources used by the current instance of the BufferedBinaryEncoder class. |
|
Encode(Boolean) | Encodes a boolean value. |
|
Encode(Byte[]) | Encodes a byte array as bytes Avro type. |
|
Encode(Double) | Encodes a double value. |
|
Encode(Int32) | Encodes an integer value. |
|
Encode(Int64) | Encodes a long value. |
|
Encode(Single) | Encodes a float value. |
|
Encode(Stream) | Encodes a stream as bytes Avro type. |
|
Encode(String) | Encodes a string value. |
|
EncodeArrayChunk(Int32) | Encodes an array chunk of size. |
|
EncodeFixed(Byte[]) | Encodes a byte array as fixed Avro type. |
|
EncodeMapChunk(Int32) | Encodes a map chunk of size. |
|
Equals(Object) | (Inherited from Object.) |
|
Flush() | Clears all buffers for this encoder and causes any buffered data to be written to the underlying stream/device. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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 Namespace
Return to top