Constants used in data files.
More...
|
const string | MetaDataSync = "avro.sync" |
| Key for the 'sync' metadata entry.
|
|
const string | MetaDataCodec = "avro.codec" |
| Key for the 'codec' metadata entry.
|
|
const string | MetaDataSchema = "avro.schema" |
| Key for the 'schema' metadata entry.
|
|
const string | NullCodec = "null" |
| Identifier for the null codec.
|
|
const string | DeflateCodec = "deflate" |
| Identifier for the deflate codec.
|
|
const string | SnappyCodec = "snappy" |
| Identifier for the Snappy codec.
|
|
const string | BZip2Codec = "bzip2" |
| Identifier for the BZip2 codec.
|
|
const string | XZCodec = "xz" |
| Identifier for the XZ codec.
|
|
const string | ZstandardCodec = "zstandard" |
| Identifier for the Zstandard codec.
|
|
const string | MetaDataReserved = "avro" |
| Reserved 'avro' metadata key.
|
|
const int | Version = 1 |
| Avro specification version.
|
|
static readonly byte[] | Magic |
| Magic bytes at the beginning of an Avro data file.
|
|
const int | NullCodecHash = 2 |
| Hash code for the null codec.
|
|
const int | DeflateCodecHash = 0 |
| Hash code for the deflate codec.
|
|
const int | SyncSize = 16 |
| Size of a sync token in bytes.
|
|
const int | DefaultSyncInterval = 4000 * SyncSize |
| Default interval for sync tokens.
|
|
Constants used in data files.
◆ DeflateCodecHash
const int Avro.File.DataFileConstants.DeflateCodecHash = 0 |
|
static |
Hash code for the deflate codec.
- See also
- DeflateCodec.GetHashCode()
◆ Magic
readonly byte [] Avro.File.DataFileConstants.Magic |
|
static |
Initial value:=
{
(byte)'O',
(byte)'b',
(byte)'j',
}
const int Version
Avro specification version.
Definition DataFileConstants.cs:79
Magic bytes at the beginning of an Avro data file.
◆ NullCodecHash
const int Avro.File.DataFileConstants.NullCodecHash = 2 |
|
static |
Hash code for the null codec.
- See also
- NullCodec.GetHashCode()
The documentation for this class was generated from the following file:
- src/apache/main/File/DataFileConstants.cs