@Namespace(value="arrow") @Properties(inherit=arrow.class) public class ListArray extends BaseListArray
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ListArray(ArrayData data) |
ListArray(DataType type,
long length,
ArrowBuffer value_offsets,
Array values) |
ListArray(DataType type,
long length,
ArrowBuffer value_offsets,
Array values,
ArrowBuffer null_bitmap,
long null_count,
long offset) |
ListArray(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayResult |
Flatten() |
ArrayResult |
Flatten(MemoryPool memory_pool)
\brief Return an Array that is a concatenation of the lists in this array.
|
static ListArrayResult |
FromArrays(Array offsets,
Array values) |
static ListArrayResult |
FromArrays(Array offsets,
Array values,
MemoryPool pool)
\brief Construct ListArray from array of offsets and child value array
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 |
offsets()
\brief Return list offsets as an Int32Array
|
getPointer, 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 ListArray(Pointer p)
Pointer(Pointer).public ListArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData data)
public ListArray(@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 ListArray(@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 ListArrayResult FromArrays(@Const @ByRef Array offsets, @Const @ByRef Array values, MemoryPool pool)
offsets - [in] Array containing n + 1 offsets encoding length and
size. Must be of int32 typevalues - [in] Array containing list valuespool - [in] MemoryPool in case new offsets array needs to be
allocated because of null values@ByVal public static ListArrayResult FromArrays(@Const @ByRef Array offsets, @Const @ByRef Array values)
@ByVal public ArrayResult Flatten(MemoryPool memory_pool)
values() in that it takes into
consideration of this array's offsets as well as null elements backed
by non-empty lists (they are skipped, thus copying may be needed).@ByVal public ArrayResult Flatten()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array offsets()
Copyright © 2021. All rights reserved.