Class ArrayData
public sealed class ArrayData : IDisposable
- Inheritance
-
ArrayData
- Implements
- Inherited Members
Constructors
ArrayData(IArrowType, int, int, int, ArrowBuffer[], ArrayData[])
public ArrayData(IArrowType dataType, int length, int nullCount, int offset, ArrowBuffer[] buffers, ArrayData[] children)
Parameters
dataTypeIArrowTypelengthintnullCountintoffsetintbuffersArrowBuffer[]childrenArrayData[]
ArrayData(IArrowType, int, int, int, ArrowBuffer[], ArrayData[], ArrayData)
public ArrayData(IArrowType dataType, int length, int nullCount = 0, int offset = 0, ArrowBuffer[] buffers = null, ArrayData[] children = null, ArrayData dictionary = null)
Parameters
dataTypeIArrowTypelengthintnullCountintoffsetintbuffersArrowBuffer[]childrenArrayData[]dictionaryArrayData
ArrayData(IArrowType, int, int, int, IEnumerable<ArrowBuffer>, IEnumerable<ArrayData>)
public ArrayData(IArrowType dataType, int length, int nullCount, int offset, IEnumerable<ArrowBuffer> buffers, IEnumerable<ArrayData> children)
Parameters
dataTypeIArrowTypelengthintnullCountintoffsetintbuffersIEnumerable<ArrowBuffer>childrenIEnumerable<ArrayData>
ArrayData(IArrowType, int, int, int, IEnumerable<ArrowBuffer>, IEnumerable<ArrayData>, ArrayData)
public ArrayData(IArrowType dataType, int length, int nullCount = 0, int offset = 0, IEnumerable<ArrowBuffer> buffers = null, IEnumerable<ArrayData> children = null, ArrayData dictionary = null)
Parameters
dataTypeIArrowTypelengthintnullCountintoffsetintbuffersIEnumerable<ArrowBuffer>childrenIEnumerable<ArrayData>dictionaryArrayData
Fields
Buffers
public readonly ArrowBuffer[] Buffers
Field Value
Children
public readonly ArrayData[] Children
Field Value
DataType
public readonly IArrowType DataType
Field Value
Dictionary
public readonly ArrayData Dictionary
Field Value
Length
public readonly int Length
Field Value
NullCount
The number of null values in the Array. May be -1 if the null count has not been computed.
public int NullCount
Field Value
Offset
public readonly int Offset
Field Value
Methods
Clone(MemoryAllocator)
public ArrayData Clone(MemoryAllocator allocator = null)
Parameters
allocatorMemoryAllocator
Returns
Dispose()
public void Dispose()
GetNullCount()
Get the number of null values in the Array, computing the count if required.
public int GetNullCount()
Returns
Slice(int, int)
public ArrayData Slice(int offset, int length)