Kinetica   C#   API  Version 7.2.3.0
DataFileConstants.cs
Go to the documentation of this file.
1 
18 using System;
19 using System.Collections.Generic;
20 using System.Linq;
21 using System.Text;
22 
23 namespace Avro.File
24 {
25  public class DataFileConstants
26  {
27  public const string MetaDataSync = "avro.sync";
28  public const string MetaDataCodec = "avro.codec";
29  public const string MetaDataSchema = "avro.schema";
30  public const string NullCodec = "null";
31  public const string DeflateCodec = "deflate";
32  public const string MetaDataReserved = "avro";
33 
34  public const int Version = 1;
35  public static byte[] Magic = { (byte)'O',
36  (byte)'b',
37  (byte)'j',
38  (byte)Version };
39 
40  public const int NullCodecHash = 2;
41  public const int DeflateCodecHash = 0;
42 
43  public const int SyncSize = 16;
44  public const int DefaultSyncInterval = 4000 * SyncSize;
45  }
46 }