Type-independent portion of DataFileWriter. More...
#include <DataFile.hh>
| Public Member Functions | |
| Encoder & | encoder () const | 
| void | syncIfNeeded () | 
| void | incr () | 
| DataFileWriterBase (const char *filename, const ValidSchema &schema, size_t syncInterval) | |
| Constructs a data file writer with the given sync interval and name. | |
| void | close () | 
| Closes the current file. | |
| const ValidSchema & | schema () const | 
| Returns the schema for this data file. | |
| void | flush () | 
| Flushes any unwritten data into the file. | |
Type-independent portion of DataFileWriter.
At any given point in time, at most one file can be written using this object.
| void avro::DataFileWriterBase::close | ( | ) | 
Closes the current file.
Once closed this datafile object cannot be used for writing any more.
 1.7.1
 1.7.1