@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class StructArray extends Array
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
StructArray(ArrayData data) |
StructArray(DataType type,
long length,
ArrayVector children) |
StructArray(DataType type,
long length,
ArrayVector children,
ArrowBuffer null_bitmap,
long null_count,
long offset) |
StructArray(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Array |
field(int pos) |
ArrayVector |
fields() |
ArrayVectorResult |
Flatten() |
ArrayVectorResult |
Flatten(MemoryPool pool)
\brief Flatten this array as a vector of arrays, one for each field
|
Array |
GetFieldByName(BytePointer name) |
Array |
GetFieldByName(String name)
Returns null if name not found
|
static StructArrayResult |
Make(ArrayVector children,
FieldVector fields) |
static StructArrayResult |
Make(ArrayVector children,
FieldVector fields,
ArrowBuffer null_bitmap,
long null_count,
long offset)
\brief Return a StructArray from child arrays and fields.
|
static StructArrayResult |
Make(ArrayVector children,
StringVector field_names) |
static StructArrayResult |
Make(ArrayVector children,
StringVector field_names,
ArrowBuffer null_bitmap,
long null_count,
long offset)
\brief Return a StructArray from child arrays and field names.
|
StructType |
struct_type() |
Accept, 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, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic StructArray(Pointer p)
Pointer(Pointer).public StructArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData data)
public StructArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @Const @ByRef ArrayVector children, @SharedPtr ArrowBuffer null_bitmap, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
public StructArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @Const @ByRef ArrayVector children)
@ByVal public static StructArrayResult Make(@Const @ByRef ArrayVector children, @Const @ByRef StringVector field_names, @SharedPtr ArrowBuffer null_bitmap, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
@ByVal public static StructArrayResult Make(@Const @ByRef ArrayVector children, @Const @ByRef StringVector field_names)
@ByVal public static StructArrayResult Make(@Const @ByRef ArrayVector children, @Const @ByRef FieldVector fields, @SharedPtr ArrowBuffer null_bitmap, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
@ByVal public static StructArrayResult Make(@Const @ByRef ArrayVector children, @Const @ByRef FieldVector fields)
@Const public StructType struct_type()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array field(int pos)
@Const @ByRef public ArrayVector fields()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array GetFieldByName(@StdString String name)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array GetFieldByName(@StdString BytePointer name)
@ByVal public ArrayVectorResult Flatten(MemoryPool pool)
pool - [in] The pool to allocate null bitmaps from, if necessary@ByVal public ArrayVectorResult Flatten()
Copyright © 2021. All rights reserved.