atype

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 0 Imported by: 4 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package atype names the Avro schema types, logical types, and field sort orders. The constants are the string values you see in [avro.SchemaNode], [avro.SchemaField], and [avro.CustomType].

Index

Constants

View Source
const (
	Null    = "null"
	Boolean = "boolean"
	Int     = "int"
	Long    = "long"
	Float   = "float"
	Double  = "double"
	String  = "string"
	Bytes   = "bytes"
)

Avro primitive types.

View Source
const (
	Record = "record"
	Error  = "error"
	Enum   = "enum"
	Array  = "array"
	Map    = "map"
	Union  = "union"
	Fixed  = "fixed"
)

Avro complex types.

View Source
const (
	Date                 = "date"
	TimeMillis           = "time-millis"
	TimeMicros           = "time-micros"
	TimestampMillis      = "timestamp-millis"
	TimestampMicros      = "timestamp-micros"
	TimestampNanos       = "timestamp-nanos"
	LocalTimestampMillis = "local-timestamp-millis"
	LocalTimestampMicros = "local-timestamp-micros"
	LocalTimestampNanos  = "local-timestamp-nanos"
	Decimal              = "decimal"
	BigDecimal           = "big-decimal"
	UUID                 = "uuid"
	Duration             = "duration"
)

Avro logical types.

View Source
const (
	Ascending  = "ascending"
	Descending = "descending"
	Ignore     = "ignore"
)

Avro field sort orders.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL