Table of Contents

Class GuidArray

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll

Extension array for UUID/GUID values, backed by a FixedSizeBinaryArray.

public class GuidArray : ExtensionArray, IArrowArray, IDisposable, IReadOnlyList<Guid?>, IReadOnlyCollection<Guid?>, IEnumerable<Guid?>, IEnumerable
Inheritance
GuidArray
Implements
Inherited Members

Constructors

GuidArray(GuidType, IArrowArray)

public GuidArray(GuidType guidType, IArrowArray storage)

Parameters

guidType GuidType
storage IArrowArray

GuidArray(IArrowArray)

public GuidArray(IArrowArray storage)

Parameters

storage IArrowArray

Properties

Count

public int Count { get; }

Property Value

int

this[int]

public Guid? this[int index] { get; }

Parameters

index int

Property Value

Guid?

StorageArray

public FixedSizeBinaryArray StorageArray { get; }

Property Value

FixedSizeBinaryArray

Methods

GetEnumerator()

public IEnumerator<Guid?> GetEnumerator()

Returns

IEnumerator<Guid?>

GetGuid(int)

public Guid? GetGuid(int index)

Parameters

index int

Returns

Guid?

GuidToBytes(Guid)

Converts between Guid and the RFC 4122 big-endian byte layout required by the arrow.uuid canonical extension type specification.

public static byte[] GuidToBytes(Guid guid)

Parameters

guid Guid

Returns

byte[]

GuidToRFC4122(Guid, Span<byte>)

Converts between Guid and the RFC 4122 big-endian byte layout required by the arrow.uuid canonical extension type specification.

public static void GuidToRFC4122(Guid guid, Span<byte> bytes)

Parameters

guid Guid
bytes Span<byte>

RFC4122ToGuid(ReadOnlySpan<byte>)

Converts between Guid and the RFC 4122 big-endian byte layout required by the arrow.uuid canonical extension type specification.

public static Guid RFC4122ToGuid(ReadOnlySpan<byte> bytes)

Parameters

bytes ReadOnlySpan<byte>

Returns

Guid