Table of Contents

Enum AvroLogicalTypeKind

Namespace
AvroSharp.Schemas
Assembly
AvroSharp.dll

The logical types defined by the Avro 1.12 specification.

public enum AvroLogicalTypeKind

Fields

BigDecimal = 1

big-decimal on bytes; the scale is stored with each value.

Date = 3

date on int: days since the Unix epoch.

Decimal = 0

decimal on bytes or fixed, with a precision and scale.

Duration = 12

duration on fixed of size 12: months, days and milliseconds.

LocalTimestampMicros = 10

local-timestamp-micros on long: microseconds since 1970-01-01 in local time.

LocalTimestampMillis = 9

local-timestamp-millis on long: milliseconds since 1970-01-01 in local time.

LocalTimestampNanos = 11

local-timestamp-nanos on long: nanoseconds since 1970-01-01 in local time.

TimeMicros = 5

time-micros on long: microseconds after midnight.

TimeMillis = 4

time-millis on int: milliseconds after midnight.

TimestampMicros = 7

timestamp-micros on long: microseconds since the Unix epoch (UTC).

TimestampMillis = 6

timestamp-millis on long: milliseconds since the Unix epoch (UTC).

TimestampNanos = 8

timestamp-nanos on long: nanoseconds since the Unix epoch (UTC).

Uuid = 2

uuid on string or fixed of size 16.