-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbasics_schema_id.go
28 lines (19 loc) · 1019 Bytes
/
basics_schema_id.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package avrox
// This contains some of the basic types in a predefined namespace
// SchemaIDs for the supported basic types
const (
// BasicStringSchemaID is the id for the avro schema of struct BasicString
BasicStringSchemaID SchemaID = 1<<8 + 1
// BasicIntSchemaID is the id for the avro schema of struct BasicInt
BasicIntSchemaID SchemaID = 2<<8 + 1
// BasicByteSliceSchemaID is the id for the avro schema of struct BasicInt
BasicByteSliceSchemaID SchemaID = 3<<8 + 1
// BasicMapStringAnySchemaID is the id for the avro schema of struct BasicMapStringAny
BasicMapStringAnySchemaID SchemaID = 4<<8 + 1
// BasicTimeSchemaID is the id for the avro schema of struct BasicTime
BasicTimeSchemaID SchemaID = 5<<8 + 1
// BasicDecimalSchemaID is the id for the avro schema of struct BasicDecimal (*big.Rat / decimal.fixed)
BasicDecimalSchemaID SchemaID = 6<<8 + 1
// BasicRawDateSchemaID is the id for the avro schema of struct BasicRawDate (rawdate.Rawdate)
BasicRawDateSchemaID SchemaID = 7<<8 + 1
)