Avro C#
Public Attributes | Static Public Attributes | List of all members
Avro.File.DataFileConstants Class Reference

Constants used in data files. More...

Public Attributes

const string MetaDataSync = "avro.sync"
 Key for the 'sync' metadata entry. More...
 
const string MetaDataCodec = "avro.codec"
 Key for the 'codec' metadata entry. More...
 
const string MetaDataSchema = "avro.schema"
 Key for the 'schema' metadata entry. More...
 
const string NullCodec = "null"
 Identifier for the null codec. More...
 
const string DeflateCodec = "deflate"
 Identifier for the deflate codec. More...
 
const string MetaDataReserved = "avro"
 Reserved 'avro' metadata key. More...
 
const int Version = 1
 Avro specification version. More...
 
const int NullCodecHash = 2
 Hash code for the null codec. More...
 
const int DeflateCodecHash = 0
 Hash code for the deflate codec. More...
 
const int SyncSize = 16
 Size of a sync token in bytes. More...
 
const int DefaultSyncInterval = 4000 * SyncSize
 Default interval for sync tokens. More...
 

Static Public Attributes

static byte [] Magic
 Magic bytes at the beginning of an Avro data file. More...
 

Detailed Description

Constants used in data files.

Member Data Documentation

◆ DefaultSyncInterval

const int Avro.File.DataFileConstants.DefaultSyncInterval = 4000 * SyncSize

Default interval for sync tokens.

◆ DeflateCodec

const string Avro.File.DataFileConstants.DeflateCodec = "deflate"

Identifier for the deflate codec.

◆ DeflateCodecHash

const int Avro.File.DataFileConstants.DeflateCodecHash = 0

Hash code for the deflate codec.

See also
DeflateCodec.GetHashCode()

◆ Magic

byte [] Avro.File.DataFileConstants.Magic
static
Initial value:
= { (byte)'O',
(byte)'b',
(byte)'j',

Magic bytes at the beginning of an Avro data file.

◆ MetaDataCodec

const string Avro.File.DataFileConstants.MetaDataCodec = "avro.codec"

Key for the 'codec' metadata entry.

◆ MetaDataReserved

const string Avro.File.DataFileConstants.MetaDataReserved = "avro"

Reserved 'avro' metadata key.

◆ MetaDataSchema

const string Avro.File.DataFileConstants.MetaDataSchema = "avro.schema"

Key for the 'schema' metadata entry.

◆ MetaDataSync

const string Avro.File.DataFileConstants.MetaDataSync = "avro.sync"

Key for the 'sync' metadata entry.

◆ NullCodec

const string Avro.File.DataFileConstants.NullCodec = "null"

Identifier for the null codec.

◆ NullCodecHash

const int Avro.File.DataFileConstants.NullCodecHash = 2

Hash code for the null codec.

See also
NullCodec.GetHashCode()

◆ SyncSize

const int Avro.File.DataFileConstants.SyncSize = 16

Size of a sync token in bytes.

◆ Version

const int Avro.File.DataFileConstants.Version = 1

Avro specification version.


The documentation for this class was generated from the following file: