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

Public Member Functions

void Append (T datum)
 Append datum to a file / stream More...
 
void Close ()
 Closes the file / stream More...
 
void Flush ()
 Flush out any buffered data More...
 
bool IsReservedMeta (string key)
 
void SetMeta (String key, byte[] value)
 Set meta data pair More...
 
void SetMeta (String key, long value)
 Set meta data pair (long value) More...
 
void SetMeta (String key, string value)
 Set meta data pair (string value) More...
 
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 More...
 
long Sync ()
 Forces the end of the current block, emitting a synchronization marker More...
 

Member Function Documentation

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

Append datum to a file / stream

Parameters
datum

Implemented in Avro.File.DataFileWriter< T >.

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

Closes the file / stream

Implemented in Avro.File.DataFileWriter< T >.

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

Flush out any buffered data

Implemented in Avro.File.DataFileWriter< 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 >.

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

Set meta data pair

Parameters
key
value

Implemented in Avro.File.DataFileWriter< 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 >.

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 >.

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 >.

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: