Avro C#
 All Classes Namespaces Functions Variables Enumerations Properties
Public Member Functions
Avro.File.IFileWriter< T > Interface Template Reference
Inheritance diagram for Avro.File.IFileWriter< T >:
Avro.File.DataFileWriter< T >

List of all members.

Public Member Functions

void Append (T datum)
 Append datum to a file / stream.
void Close ()
 Closes the file / stream.
void Flush ()
 Flush out any buffered data.
bool IsReservedMeta (string key)
void SetMeta (String key, byte[] value)
 Set meta data pair.
void SetMeta (String key, long value)
 Set meta data pair (long value)
void SetMeta (String key, string value)
 Set meta data pair (string value)
void SetSyncInterval (int syncInterval)
 Set the synchronization interval for this file / stream, in bytes. Valid values range from 32 to 2^30. Suggested values are between 2K and 2M.
long Sync ()
 Forces the end of the current block, emitting a synchronization marker.

template<T>
interface Avro::File::IFileWriter< T >


Member Function Documentation

template<T >
void Avro.File.IFileWriter< T >.Append ( datum)

Append datum to a file / stream.

Parameters:
datum

Implemented in Avro.File.DataFileWriter< T >.

template<T >
void Avro.File.IFileWriter< T >.Close ( )

Closes the file / stream.

Implemented in Avro.File.DataFileWriter< T >.

template<T >
void Avro.File.IFileWriter< T >.Flush ( )

Flush out any buffered data.

Implemented in Avro.File.DataFileWriter< T >.

template<T >
bool Avro.File.IFileWriter< T >.IsReservedMeta ( string  key)

Returns true if parameter is a reserved Avro meta data value

Parameters:
key
Returns:

Implemented in Avro.File.DataFileWriter< T >.

template<T >
void Avro.File.IFileWriter< T >.SetMeta ( String  key,
byte[]  value 
)

Set meta data pair.

Parameters:
key
value

Implemented in Avro.File.DataFileWriter< T >.

template<T >
void Avro.File.IFileWriter< T >.SetMeta ( String  key,
long  value 
)

Set meta data pair (long value)

Parameters:
key
value

Implemented in Avro.File.DataFileWriter< T >.

template<T >
void Avro.File.IFileWriter< T >.SetMeta ( String  key,
string  value 
)

Set meta data pair (string value)

Parameters:
key
value

Implemented in Avro.File.DataFileWriter< T >.

template<T >
void Avro.File.IFileWriter< T >.SetSyncInterval ( int  syncInterval)

Set the synchronization interval for this file / stream, in bytes. Valid values range from 32 to 2^30. Suggested values are between 2K and 2M.

Parameters:
syncInterval
Returns:

Implemented in Avro.File.DataFileWriter< T >.

template<T >
long Avro.File.IFileWriter< T >.Sync ( )

Forces the end of the current block, emitting a synchronization marker.

Returns:

Implemented in Avro.File.DataFileWriter< T >.


The documentation for this interface was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties