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

List of all members.

Public Member Functions

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

Properties

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

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


Member Function Documentation

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

Return the header for the input file / stream.

Returns:

Implemented in Avro.File.DataFileReader< T >.

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

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

Return the list of keys in the metadata.

Returns:

Implemented in Avro.File.DataFileReader< T >.

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

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

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

Return the schema as read from the input file / stream.

Returns:

Implemented in Avro.File.DataFileReader< T >.

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

True if more entries remain in this file.

Implemented in Avro.File.DataFileReader< T >.

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

Read the next datum from the file.

Implemented in Avro.File.DataFileReader< T >.

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

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

Return the last synchronization point before our current position.

Returns:

Implemented in Avro.File.DataFileReader< T >.

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

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

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

Return the current position in the input.

Returns:

Implemented in Avro.File.DataFileReader< T >.


Property Documentation

template<T >
IEnumerable<T> Avro.File.IFileReader< T >.NextEntries [get]

Return an enumeration of the remaining entries in the file.

Returns:

Implemented in Avro.File.DataFileReader< T >.


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