Class GuidArray
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
guidTypeGuidTypestorageIArrowArray
GuidArray(IArrowArray)
public GuidArray(IArrowArray storage)
Parameters
storageIArrowArray
Properties
Count
public int Count { get; }
Property Value
this[int]
public Guid? this[int index] { get; }
Parameters
indexint
Property Value
- Guid?
StorageArray
public FixedSizeBinaryArray StorageArray { get; }
Property Value
Methods
GetEnumerator()
public IEnumerator<Guid?> GetEnumerator()
Returns
GetGuid(int)
public Guid? GetGuid(int index)
Parameters
indexint
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
guidGuid
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
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
bytesReadOnlySpan<byte>