Kinetica C# API
Version 7.2.3.0
|
Public Member Functions | |
bool | IsReservedMeta (string key) |
Returns true if parameter is a reserved Avro meta data value. More... | |
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. 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 Public Member Functions | |
static IFileWriter< T > | OpenWriter (DatumWriter< T > writer, string path) |
Open a new writer instance to write More... | |
static IFileWriter< T > | OpenWriter (DatumWriter< T > writer, Stream outStream) |
Open a new writer instance to write More... | |
static IFileWriter< T > | OpenWriter (DatumWriter< T > writer, string path, Codec codec) |
Open a new writer instance to write 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... | |
Definition at line 27 of file DataFileWriter.cs.
|
inline |
Append datum to a file / stream
datum |
Implements Avro.File.IFileWriter< T >.
Definition at line 146 of file DataFileWriter.cs.
|
inline |
Closes the file / stream
Implements Avro.File.IFileWriter< T >.
Definition at line 188 of file DataFileWriter.cs.
|
inline |
Definition at line 310 of file DataFileWriter.cs.
|
inline |
Flush out any buffered data
Implements Avro.File.IFileWriter< T >.
Definition at line 175 of file DataFileWriter.cs.
|
inline |
Returns true if parameter is a reserved Avro meta data value.
key |
Implements Avro.File.IFileWriter< T >.
Definition at line 99 of file DataFileWriter.cs.
|
inlinestatic |
Open a new writer instance to write
to a file path, using a Null codec
writer | |
path |
Definition at line 50 of file DataFileWriter.cs.
|
inlinestatic |
Open a new writer instance to write
to an output stream, using a Null codec
writer | |
outStream |
Definition at line 62 of file DataFileWriter.cs.
|
inlinestatic |
Open a new writer instance to write
to a file path with a specified codec
writer | |
path | |
codec |
Definition at line 75 of file DataFileWriter.cs.
|
inlinestatic |
Open a new writer instance to write to an output stream with a specified codec
writer | |
outStream | |
codec |
Definition at line 88 of file DataFileWriter.cs.
|
inline |
Set meta data pair
key | |
value |
Implements Avro.File.IFileWriter< T >.
Definition at line 104 of file DataFileWriter.cs.
|
inline |
Set meta data pair (long value)
key | |
value |
Implements Avro.File.IFileWriter< T >.
Definition at line 113 of file DataFileWriter.cs.
|
inline |
Set meta data pair (string value)
key | |
value |
Implements Avro.File.IFileWriter< T >.
Definition at line 125 of file DataFileWriter.cs.
|
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
syncInterval |
Implements Avro.File.IFileWriter< T >.
Definition at line 137 of file DataFileWriter.cs.
|
inline |
Forces the end of the current block, emitting a synchronization marker
Implements Avro.File.IFileWriter< T >.
Definition at line 181 of file DataFileWriter.cs.