SequentialWriter<T> 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 sequential writer of Avro objects.
Namespace: Microsoft.Hadoop.Avro.Container
Assembly: Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)
Inheritance Hierarchy
System.Object
Microsoft.Hadoop.Avro.Container.SequentialWriter<T>
Syntax
public sealed class SequentialWriter<T> : IDisposable
generic<typename T>
public ref class SequentialWriter sealed : IDisposable
[<Sealed>]
type SequentialWriter<'T> =
class
interface IDisposable
end
Public NotInheritable Class SequentialWriter(Of T)
Implements IDisposable
Type Parameters
- T
The type of objects.
Constructors
Name | Description | |
---|---|---|
SequentialWriter<T>(IAvroWriter<T>, Int32) | Initializes a new instance of the SequentialWriter<T> class. |
Methods
Name | Description | |
---|---|---|
AddMetadata(String, Byte[]) | Adds the metadata. |
|
Close() | Closes this instance. |
|
Dispose() | Releases unmanaged and (optionally) managed resources. |
|
Equals(Object) | (Inherited from Object.) |
|
Flush() | Flushes this instance. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Sync() | Ends current block. |
|
ToString() | (Inherited from Object.) |
|
Write(T) | Writes the specified value. |
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