Kinetica   C#   API  Version 7.2.3.0
IFileWriter.cs
Go to the documentation of this file.
1 
18 using System;
19 
20 namespace Avro.File
21 {
22  public interface IFileWriter<T> : IDisposable
23  {
28  void Append(T datum);
29 
33  void Close();
34 
38  void Flush();
39 
45  bool IsReservedMeta(string key);
46 
52  void SetMeta(String key, byte[] value);
53 
59  void SetMeta(String key, long value);
60 
66  void SetMeta(String key, string value);
67 
76  void SetSyncInterval(int syncInterval);
77 
83  long Sync();
84  }
85 }
void Flush()
Flush out any buffered data
bool IsReservedMeta(string key)
Returns true if parameter is a reserved Avro meta data value.
void SetSyncInterval(int syncInterval)
Set the synchronization interval for this file / stream, in bytes.
void Close()
Closes the file / stream
void SetMeta(String key, byte[] value)
Set meta data pair
void Append(T datum)
Append datum to a file / stream
long Sync()
Forces the end of the current block, emitting a synchronization marker