@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class MapArray extends ListArray
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
MapArray(ArrayData data) |
MapArray(DataType type,
long length,
ArrowBuffer value_offsets,
Array values) |
MapArray(DataType type,
long length,
ArrowBuffer value_offsets,
Array keys,
Array items) |
MapArray(DataType type,
long length,
ArrowBuffer value_offsets,
Array keys,
Array items,
ArrowBuffer null_bitmap,
long null_count,
long offset) |
MapArray(DataType type,
long length,
ArrowBuffer value_offsets,
Array values,
ArrowBuffer null_bitmap,
long null_count,
long offset) |
MapArray(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Status |
FromArrays(Array offsets,
Array keys,
Array items,
MemoryPool pool,
Array out)
\brief Construct MapArray from array of offsets and child key, item arrays
This function does the bare minimum of validation of the offsets and
input types, and will allocate a new offsets array if necessary (i.e.
|
Array |
items()
\brief Return array object containing all mapped items
|
Array |
keys()
\brief Return array object containing all map keys
|
MapType |
map_type() |
Flatten, Flatten, FromArrayslist_type, position, raw_value_offsets, value_length, value_offset, value_offsets, value_slice, value_type, valuesAccept, ApproxEquals, ApproxEquals, data, Diff, Equals, Equals, IsNull, IsValid, length, null_bitmap_data, null_bitmap, null_count, num_fields, offset, RangeEquals, RangeEquals, Slice, Slice, ToString, type_id, type, Validate, ValidateFull, Viewaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic MapArray(Pointer p)
Pointer.Pointer(Pointer).public MapArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData data)
public MapArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @SharedPtr ArrowBuffer value_offsets, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array keys, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array items, @SharedPtr ArrowBuffer null_bitmap, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
public MapArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @SharedPtr ArrowBuffer value_offsets, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array keys, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array items)
public MapArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @SharedPtr ArrowBuffer value_offsets, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array values, @SharedPtr ArrowBuffer null_bitmap, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
public MapArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @SharedPtr ArrowBuffer value_offsets, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array values)
@ByVal public static Status FromArrays(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array offsets, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array keys, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array items, MemoryPool pool, @SharedPtr Array out)
offsets - [in] Array containing n + 1 offsets encoding length and
size. Must be of int32 typekeys - [in] Array containing key valuesitems - [in] Array containing item valuespool - [in] MemoryPool in case new offsets array needs to be
allocated because of null valuesout - [out] Will have length equal to offsets.length() - 1@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array keys()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array items()
Copyright © 2020. All rights reserved.