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

Public Member Functions

Header GetHeader ()
 Return the header for the input file / stream More...
 
Schema GetSchema ()
 Return the schema as read from the input file / stream More...
 
ICollection< string > GetMetaKeys ()
 Return the list of keys in the metadata More...
 
T Next ()
 Read the next datum from the file. More...
 
bool HasNext ()
 True if more entries remain in this file. More...
 
byte[] GetMeta (string key)
 Return the byte value of a metadata property More...
 
long GetMetaLong (string key)
 Return the long value of a metadata property More...
 
string GetMetaString (string key)
 Return the string value of a metadata property More...
 
bool PastSync (long position)
 Return true if past the next synchronization point after a position More...
 
long PreviousSync ()
 Return the last synchronization point before our current position More...
 
void Seek (long position)
 Move to a specific, known synchronization point, one returned from IFileWriter.Sync() while writing More...
 
void Sync (long position)
 Move to the next synchronization point after a position More...
 
long Tell ()
 Return the current position in the input More...
 

Properties

IEnumerable< T > NextEntries [get]
 Return an enumeration of the remaining entries in the file More...
 

Member Function Documentation

Header Avro.File.IFileReader< T >.GetHeader ( )

Return the header for the input file / stream

Returns

Implemented in Avro.File.DataFileReader< T >.

byte [] Avro.File.IFileReader< T >.GetMeta ( string  key)

Return the byte value of a metadata property

Parameters
key
Returns

Implemented in Avro.File.DataFileReader< T >.

ICollection<string> Avro.File.IFileReader< T >.GetMetaKeys ( )

Return the list of keys in the metadata

Returns

Implemented in Avro.File.DataFileReader< T >.

long Avro.File.IFileReader< T >.GetMetaLong ( string  key)

Return the long value of a metadata property

Parameters
key
Returns

Implemented in Avro.File.DataFileReader< T >.

string Avro.File.IFileReader< T >.GetMetaString ( string  key)

Return the string value of a metadata property

Parameters
key
Returns

Implemented in Avro.File.DataFileReader< T >.

Schema Avro.File.IFileReader< T >.GetSchema ( )

Return the schema as read from the input file / stream

Returns

Implemented in Avro.File.DataFileReader< T >.

bool Avro.File.IFileReader< T >.HasNext ( )

True if more entries remain in this file.

Implemented in Avro.File.DataFileReader< T >.

T Avro.File.IFileReader< T >.Next ( )

Read the next datum from the file.

Implemented in Avro.File.DataFileReader< T >.

bool Avro.File.IFileReader< T >.PastSync ( long  position)

Return true if past the next synchronization point after a position

Parameters
position
Returns

Implemented in Avro.File.DataFileReader< T >.

long Avro.File.IFileReader< T >.PreviousSync ( )

Return the last synchronization point before our current position

Returns

Implemented in Avro.File.DataFileReader< T >.

void Avro.File.IFileReader< T >.Seek ( long  position)

Move to a specific, known synchronization point, one returned from IFileWriter.Sync() while writing

Parameters
position

Implemented in Avro.File.DataFileReader< T >.

void Avro.File.IFileReader< T >.Sync ( long  position)

Move to the next synchronization point after a position

Parameters
position

Implemented in Avro.File.DataFileReader< T >.

long Avro.File.IFileReader< T >.Tell ( )

Return the current position in the input

Returns

Implemented in Avro.File.DataFileReader< T >.

Property Documentation

IEnumerable<T> Avro.File.IFileReader< T >.NextEntries
get

Return an enumeration of the remaining entries in the file

Returns

The documentation for this interface was generated from the following file: