Table of Contents

Struct AvroSchemaId

Namespace
AvroSharp.Messages
Assembly
AvroSharp.dll

A schema ID as a schema registry assigns it: a number (Confluent, Apicurio) or a GUID (Confluent's version 1 framing, AWS Glue's schema version ID).

public readonly struct AvroSchemaId : IEquatable<AvroSchemaId>
Implements
Inherited Members

Properties

Guid

Gets the GUID.

IsGuid

Gets whether the ID is a GUID; otherwise it is a number.

Number

Gets the numeric ID.

Methods

Equals(AvroSchemaId)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)

Indicates whether this instance and a specified object are equal.

FromGuid(Guid)

Creates a GUID ID.

FromNumber(long)

Creates a numeric ID.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the number, or the GUID in its 8-4-4-4-12 form.

Operators

operator ==(AvroSchemaId, AvroSchemaId)

Compares two IDs.

operator !=(AvroSchemaId, AvroSchemaId)

Compares two IDs.

See Also