@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 ArrayResult |
FromArrays(Array offsets,
Array keys,
Array items) |
static ArrayResult |
FromArrays(Array offsets,
Array keys,
Array items,
MemoryPool pool)
\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.
|
static ArrayResult |
FromArrays(DataType type,
Array offsets,
Array keys,
Array items) |
static ArrayResult |
FromArrays(DataType type,
Array offsets,
Array keys,
Array items,
MemoryPool pool) |
Array |
items()
\brief Return array object containing all mapped items
|
Array |
keys()
\brief Return array object containing all map keys
|
MapType |
map_type() |
static Status |
ValidateChildData(ArrayDataVector child_data)
Validate child data before constructing the actual MapArray.
|
Flatten, Flatten, FromArrays, FromArrays, offsetsgetPointer, list_type, position, raw_value_offsets, value_length, value_offset, value_offsets, value_slice, value_type, valuesAccept, ApproxEquals, ApproxEquals, data, Diff, Equals, Equals, GetScalar, IsNull, IsValid, length, null_bitmap_data, null_bitmap, null_count, num_fields, offset, RangeEquals, RangeEquals, RangeEquals, RangeEquals, Slice, Slice, SliceSafe, SliceSafe, ToString, type_id, type, Validate, ValidateFull, Viewaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic MapArray(Pointer p)
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 ArrayResult 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)
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 values@ByVal public static ArrayResult 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)
@ByVal public static ArrayResult FromArrays(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @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)
@ByVal public static ArrayResult FromArrays(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @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)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array keys()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array items()
@ByVal public static Status ValidateChildData(@Const @ByRef ArrayDataVector child_data)
Copyright © 2021. All rights reserved.