Class UnionArray
- Namespace
- Apache.Arrow
- Assembly
- Apache.Arrow.dll
public abstract class UnionArray : IArrowArray, IDisposable
- Inheritance
-
UnionArray
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
UnionArray(ArrayData)
protected UnionArray(ArrayData data)
Parameters
data
ArrayData
Fields
_fields
protected IReadOnlyList<IArrowArray> _fields
Field Value
- IReadOnlyList<IArrowArray>
Properties
Data
public ArrayData Data { get; }
Property Value
- ArrayData
Fields
public IReadOnlyList<IArrowArray> Fields { get; }
Property Value
- IReadOnlyList<IArrowArray>
Length
public int Length { get; }
Property Value
- int
Mode
public UnionMode Mode { get; }
Property Value
- UnionMode
NullCount
public int NullCount { get; }
Property Value
- int
Offset
public int Offset { get; }
Property Value
- int
Type
public UnionType Type { get; }
Property Value
- UnionType
TypeBuffer
public ArrowBuffer TypeBuffer { get; }
Property Value
- ArrowBuffer
TypeIds
public ReadOnlySpan<byte> TypeIds { get; }
Property Value
- ReadOnlySpan<byte>
Methods
Accept(IArrowArrayVisitor)
public void Accept(IArrowArrayVisitor visitor)
Parameters
visitor
IArrowArrayVisitor
Create(ArrayData)
public static UnionArray Create(ArrayData data)
Parameters
data
ArrayData
Returns
- UnionArray
Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
FieldIsValid(IArrowArray, int)
protected abstract bool FieldIsValid(IArrowArray field, int index)
Parameters
field
IArrowArray
index
int
Returns
- bool
IsNull(int)
public bool IsNull(int index)
Parameters
index
int
Returns
- bool
IsValid(int)
public bool IsValid(int index)
Parameters
index
int
Returns
- bool
ValidateMode(UnionMode, UnionMode)
protected static void ValidateMode(UnionMode expected, UnionMode actual)
Parameters
expected
UnionMode
actual
UnionMode