Class MapArray
- Namespace
- Apache.Arrow
- Assembly
- Apache.Arrow.dll
public class MapArray : ListArray, IArrowArray, IDisposable
- Inheritance
-
MapArray
- Implements
-
- Inherited Members
-
Constructors
MapArray(ArrayData)
public MapArray(ArrayData data)
Parameters
data
ArrayData
MapArray(IArrowType, int, ArrowBuffer, IArrowArray, ArrowBuffer, int, int)
public MapArray(IArrowType dataType, int length, ArrowBuffer valueOffsetsBuffer, IArrowArray structs, ArrowBuffer nullBitmapBuffer, int nullCount = 0, int offset = 0)
Parameters
dataType
IArrowType
length
int
valueOffsetsBuffer
ArrowBuffer
structs
IArrowArray
nullBitmapBuffer
ArrowBuffer
nullCount
int
offset
int
Properties
KeyValues
public StructArray KeyValues { get; }
Property Value
- StructArray
Keys
public IArrowArray Keys { get; }
Property Value
- IArrowArray
Values
public IArrowArray Values { get; }
Property Value
- IArrowArray
Methods
Accept(IArrowArrayVisitor)
public override void Accept(IArrowArrayVisitor visitor)
Parameters
visitor
IArrowArrayVisitor
GetKeyValuePairs<TKeyArray, K, TValueArray, V>(int, Func<TKeyArray, int, K>, Func<TValueArray, int, V>)
public IEnumerable<KeyValuePair<K, V>> GetKeyValuePairs<TKeyArray, K, TValueArray, V>(int index, Func<TKeyArray, int, K> getKey, Func<TValueArray, int, V> getValue) where TKeyArray : Array where TValueArray : Array
Parameters
index
int
getKey
Func<TKeyArray, int, K>
getValue
Func<TValueArray, int, V>
Returns
- IEnumerable<KeyValuePair<K, V>>
Type Parameters
TKeyArray
K
TValueArray
V
GetTuples<TKeyArray, K, TValueArray, V>(int, Func<TKeyArray, int, K>, Func<TValueArray, int, V>)
public IEnumerable<Tuple<K, V>> GetTuples<TKeyArray, K, TValueArray, V>(int index, Func<TKeyArray, int, K> getKey, Func<TValueArray, int, V> getValue) where TKeyArray : Array where TValueArray : Array
Parameters
index
int
getKey
Func<TKeyArray, int, K>
getValue
Func<TValueArray, int, V>
Returns
- IEnumerable<Tuple<K, V>>
Type Parameters
TKeyArray
K
TValueArray
V