Class PrimitiveArray<T>
public abstract class PrimitiveArray<T> : Array, IArrowArray, IDisposable, IReadOnlyList<T?>, IReadOnlyCollection<T?>, ICollection<T?>, IEnumerable<T?>, IEnumerable where T : struct, IEquatable<T>
Type Parameters
T
- Inheritance
-
PrimitiveArray<T>
- Implements
-
IReadOnlyList<T?>ICollection<T?>IEnumerable<T?>
- Derived
- Inherited Members
Constructors
PrimitiveArray(ArrayData)
protected PrimitiveArray(ArrayData data)
Parameters
data
ArrayData
Properties
ValueBuffer
public ArrowBuffer ValueBuffer { get; }
Property Value
Values
public ReadOnlySpan<T> Values { get; }
Property Value
- ReadOnlySpan<T>
Methods
GetValue(int)
public T? GetValue(int index)
Parameters
index
int
Returns
- T?
ToList(bool)
public IList<T?> ToList(bool includeNulls = false)
Parameters
includeNulls
bool
Returns
- IList<T?>