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. | |
T | 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. |
Header Avro.File.IFileReader< T >.GetHeader | ( | ) |
Return the header for the input file / stream.
Implemented in Avro.File.DataFileReader< T >.
byte [] Avro.File.IFileReader< T >.GetMeta | ( | string | key | ) |
Return the byte value of a metadata property.
key |
Implemented in Avro.File.DataFileReader< T >.
ICollection<string> Avro.File.IFileReader< T >.GetMetaKeys | ( | ) |
long Avro.File.IFileReader< T >.GetMetaLong | ( | string | key | ) |
Return the long value of a metadata property.
key |
Implemented in Avro.File.DataFileReader< T >.
string Avro.File.IFileReader< T >.GetMetaString | ( | string | key | ) |
Return the string value of a metadata property.
key |
Implemented in Avro.File.DataFileReader< T >.
Schema Avro.File.IFileReader< T >.GetSchema | ( | ) |
Return the schema as read from the input file / stream.
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.
position |
Implemented in Avro.File.DataFileReader< T >.
long Avro.File.IFileReader< T >.PreviousSync | ( | ) |
Return the last synchronization point before our current position.
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.
position |
Implemented in Avro.File.DataFileReader< T >.
void Avro.File.IFileReader< T >.Sync | ( | long | position | ) |
Move to the next synchronization point after a position.
position |
Implemented in Avro.File.DataFileReader< T >.
long Avro.File.IFileReader< T >.Tell | ( | ) |
IEnumerable<T> Avro.File.IFileReader< T >.NextEntries [get] |
Return an enumeration of the remaining entries in the file.
Implemented in Avro.File.DataFileReader< T >.