|
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...
|
|
void | Append (T datum) |
| Append datum to a file / stream More...
|
|
void | Flush () |
| Flush out any buffered data More...
|
|
long | Sync () |
| Forces the end of the current block, emitting a synchronization marker More...
|
|
void | Close () |
| Closes the file / stream More...
|
|
void | Dispose () |
|
|
static IFileWriter< T > | OpenWriter (DatumWriter< T > writer, string path) |
| Open a new writer instance to write to a file path, using a Null codec More...
|
|
static IFileWriter< T > | OpenWriter (DatumWriter< T > writer, Stream outStream) |
| Open a new writer instance to write to an output stream, using a Null codec More...
|
|
static IFileWriter< T > | OpenWriter (DatumWriter< T > writer, string path, Codec codec) |
| Open a new writer instance to write to a file path with a specified codec More...
|
|
static IFileWriter< T > | OpenWriter (DatumWriter< T > writer, Stream outStream, Codec codec) |
| Open a new writer instance to write to an output stream with a specified codec More...
|
|
void Avro.File.DataFileWriter< T >.Append |
( |
T |
datum | ) |
|
|
inline |
void Avro.File.DataFileWriter< T >.Close |
( |
| ) |
|
|
inline |
void Avro.File.DataFileWriter< T >.Flush |
( |
| ) |
|
|
inline |
bool Avro.File.DataFileWriter< T >.IsReservedMeta |
( |
string |
key | ) |
|
|
inline |
static IFileWriter<T> Avro.File.DataFileWriter< T >.OpenWriter |
( |
DatumWriter< T > |
writer, |
|
|
string |
path |
|
) |
| |
|
inlinestatic |
Open a new writer instance to write to a file path, using a Null codec
- Parameters
-
- Returns
static IFileWriter<T> Avro.File.DataFileWriter< T >.OpenWriter |
( |
DatumWriter< T > |
writer, |
|
|
Stream |
outStream |
|
) |
| |
|
inlinestatic |
Open a new writer instance to write to an output stream, using a Null codec
- Parameters
-
- Returns
static IFileWriter<T> Avro.File.DataFileWriter< T >.OpenWriter |
( |
DatumWriter< T > |
writer, |
|
|
string |
path, |
|
|
Codec |
codec |
|
) |
| |
|
inlinestatic |
Open a new writer instance to write to a file path with a specified codec
- Parameters
-
- Returns
static IFileWriter<T> Avro.File.DataFileWriter< T >.OpenWriter |
( |
DatumWriter< T > |
writer, |
|
|
Stream |
outStream, |
|
|
Codec |
codec |
|
) |
| |
|
inlinestatic |
Open a new writer instance to write to an output stream with a specified codec
- Parameters
-
- Returns
void Avro.File.DataFileWriter< T >.SetMeta |
( |
String |
key, |
|
|
byte[] |
value |
|
) |
| |
|
inline |
void Avro.File.DataFileWriter< T >.SetMeta |
( |
String |
key, |
|
|
long |
value |
|
) |
| |
|
inline |
void Avro.File.DataFileWriter< T >.SetMeta |
( |
String |
key, |
|
|
string |
value |
|
) |
| |
|
inline |
void Avro.File.DataFileWriter< T >.SetSyncInterval |
( |
int |
syncInterval | ) |
|
|
inline |
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
-
- Returns
Implements Avro.File.IFileWriter< T >.
long Avro.File.DataFileWriter< T >.Sync |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- src/apache/main/File/DataFileWriter.cs