@Namespace(value="arrow") @Properties(inherit=arrow.class) public class SparseUnionArray extends UnionArray
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
SparseUnionArray(ArrayData data) |
SparseUnionArray(DataType type,
long length,
ArrayVector children,
ArrowBuffer type_ids) |
SparseUnionArray(DataType type,
long length,
ArrayVector children,
ArrowBuffer type_ids,
long offset) |
SparseUnionArray(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayResult |
Make(Array type_ids,
ArrayVector children) |
static ArrayResult |
Make(Array type_ids,
ArrayVector children,
byte[] type_codes) |
static ArrayResult |
Make(Array type_ids,
ArrayVector children,
ByteBuffer type_codes) |
static ArrayResult |
Make(Array type_ids,
ArrayVector children,
BytePointer type_codes)
\brief Construct SparseUnionArray from type_ids and children
This function does the bare minimum of validation of the input types.
|
static ArrayResult |
Make(Array type_ids,
ArrayVector children,
StringVector field_names,
byte[] type_codes) |
static ArrayResult |
Make(Array type_ids,
ArrayVector children,
StringVector field_names,
ByteBuffer type_codes) |
static ArrayResult |
Make(Array type_ids,
ArrayVector children,
StringVector field_names,
BytePointer type_codes)
\brief Construct SparseUnionArray with custom field names from type_ids and children
This function does the bare minimum of validation of the input types.
|
SparseUnionType |
union_type() |
child_id, child, field, getPointer, mode, position, raw_type_codes, type_codesAccept, 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 SparseUnionArray(Pointer p)
Pointer(Pointer).public SparseUnionArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData data)
public SparseUnionArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal ArrayVector children, @SharedPtr ArrowBuffer type_ids, @Cast(value="int64_t") long offset)
public SparseUnionArray(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal ArrayVector children, @SharedPtr ArrowBuffer type_ids)
@ByVal public static ArrayResult Make(@Const @ByRef Array type_ids, @ByVal ArrayVector children, @Cast(value="arrow::SparseUnionArray::type_code_t*") @StdVector BytePointer type_codes)
type_ids - [in] An array of logical type ids for the union typechildren - [in] Vector of children Arrays containing the data for each type.type_codes - [in] Vector of type codes.@ByVal public static ArrayResult Make(@Const @ByRef Array type_ids, @ByVal ArrayVector children, @Cast(value="arrow::SparseUnionArray::type_code_t*") @StdVector ByteBuffer type_codes)
@ByVal public static ArrayResult Make(@Const @ByRef Array type_ids, @ByVal ArrayVector children, @Cast(value="arrow::SparseUnionArray::type_code_t*") @StdVector byte[] type_codes)
@ByVal public static ArrayResult Make(@Const @ByRef Array type_ids, @ByVal ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @Cast(value="arrow::SparseUnionArray::type_code_t*") @StdVector BytePointer type_codes)
type_ids - [in] An array of logical type ids for the union typechildren - [in] Vector of children Arrays containing the data for each type.field_names - [in] Vector of strings containing the name of each field.type_codes - [in] Vector of type codes.@ByVal public static ArrayResult Make(@Const @ByRef Array type_ids, @ByVal ArrayVector children)
@ByVal public static ArrayResult Make(@Const @ByRef Array type_ids, @ByVal ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @Cast(value="arrow::SparseUnionArray::type_code_t*") @StdVector ByteBuffer type_codes)
@ByVal public static ArrayResult Make(@Const @ByRef Array type_ids, @ByVal ArrayVector children, @ByVal(nullValue="std::vector<std::string>{}") StringVector field_names, @Cast(value="arrow::SparseUnionArray::type_code_t*") @StdVector byte[] type_codes)
@Const public SparseUnionType union_type()
union_type in class UnionArrayCopyright © 2021. All rights reserved.