@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class ArrayData extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ArrayData() |
ArrayData(ArrayData other) |
ArrayData(DataType type,
long length) |
ArrayData(DataType type,
long length,
BufferVector buffers) |
ArrayData(DataType type,
long length,
BufferVector buffers,
ArrayDataVector child_data) |
ArrayData(DataType type,
long length,
BufferVector buffers,
ArrayDataVector child_data,
long null_count,
long offset) |
ArrayData(DataType type,
long length,
BufferVector buffers,
long null_count,
long offset) |
ArrayData(DataType type,
long length,
long null_count,
long offset) |
ArrayData(long size)
Native array allocator.
|
ArrayData(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BufferVector |
buffers() |
ArrayData |
buffers(BufferVector setter) |
ArrayDataVector |
child_data() |
ArrayData |
child_data(ArrayDataVector setter) |
ArrayData |
Copy() |
ArrayData |
dictionary() |
ArrayData |
dictionary(ArrayData setter) |
long |
GetNullCount()
\brief Return null count, or compute and set it if it's not known
|
ArrayData |
getPointer(long i) |
BytePointer |
GetValuesByte(int i) |
BytePointer |
GetValuesByte(int i,
long absolute_offset) |
DoublePointer |
GetValuesDouble(int i) |
DoublePointer |
GetValuesDouble(int i,
long absolute_offset) |
FloatPointer |
GetValuesFloat(int i) |
FloatPointer |
GetValuesFloat(int i,
long absolute_offset) |
IntPointer |
GetValuesInt(int i) |
IntPointer |
GetValuesInt(int i,
long absolute_offset) |
LongPointer |
GetValuesLong(int i) |
LongPointer |
GetValuesLong(int i,
long absolute_offset) |
ShortPointer |
GetValuesShort(int i) |
ShortPointer |
GetValuesShort(int i,
long absolute_offset) |
long |
length() |
ArrayData |
length(long setter) |
static ArrayData |
Make(DataType type,
long length) |
static ArrayData |
Make(DataType type,
long length,
BufferVector buffers) |
static ArrayData |
Make(DataType type,
long length,
BufferVector buffers,
ArrayDataVector child_data) |
static ArrayData |
Make(DataType type,
long length,
BufferVector buffers,
ArrayDataVector child_data,
ArrayData dictionary) |
static ArrayData |
Make(DataType type,
long length,
BufferVector buffers,
ArrayDataVector child_data,
ArrayData dictionary,
long null_count,
long offset) |
static ArrayData |
Make(DataType type,
long length,
BufferVector buffers,
ArrayDataVector child_data,
long null_count,
long offset) |
static ArrayData |
Make(DataType type,
long length,
BufferVector buffers,
long null_count,
long offset) |
static ArrayData |
Make(DataType type,
long length,
long null_count,
long offset) |
boolean |
MayHaveNulls() |
long |
offset() |
ArrayData |
offset(long setter) |
ArrayData |
position(long position) |
ArrayData |
put(ArrayData other) |
void |
SetNullCount(long v) |
ArrayData |
Slice(long offset,
long length)
\brief Construct a zero-copy slice of the data with the given offset and length
|
ArrayDataResult |
SliceSafe(long offset,
long length)
\brief Input-checking variant of Slice
An Invalid Status is returned if the requested slice falls out of bounds.
|
DataType |
type() |
ArrayData |
type(DataType setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ArrayData(Pointer p)
Pointer(Pointer)
.public ArrayData(long size)
Pointer.position(long)
.public ArrayData()
public ArrayData(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
public ArrayData(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length)
public ArrayData(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
public ArrayData(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers)
public ArrayData(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers, @ByVal ArrayDataVector child_data, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
public ArrayData(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers, @ByVal ArrayDataVector child_data)
public ArrayData getPointer(long i)
getPointer
in class Pointer
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public static ArrayData Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public static ArrayData Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public static ArrayData Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers, @ByVal ArrayDataVector child_data, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public static ArrayData Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers, @ByVal ArrayDataVector child_data)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public static ArrayData Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers, @ByVal ArrayDataVector child_data, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData dictionary, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public static ArrayData Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @ByVal BufferVector buffers, @ByVal ArrayDataVector child_data, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData dictionary)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public static ArrayData Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length, @Cast(value="int64_t") long null_count, @Cast(value="int64_t") long offset)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public static ArrayData Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="int64_t") long length)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public ArrayData Copy()
@Const @Name(value="GetValues<jbyte>") public BytePointer GetValuesByte(int i, @Cast(value="int64_t") long absolute_offset)
@Const @Name(value="GetValues<jshort>") public ShortPointer GetValuesShort(int i, @Cast(value="int64_t") long absolute_offset)
@Const @Name(value="GetValues<jint>") public IntPointer GetValuesInt(int i, @Cast(value="int64_t") long absolute_offset)
@Const @Name(value="GetValues<jlong>") public LongPointer GetValuesLong(int i, @Cast(value="int64_t") long absolute_offset)
@Const @Name(value="GetValues<float>") public FloatPointer GetValuesFloat(int i, @Cast(value="int64_t") long absolute_offset)
@Const @Name(value="GetValues<double>") public DoublePointer GetValuesDouble(int i, @Cast(value="int64_t") long absolute_offset)
@Const @Name(value="GetValues<jbyte>") public BytePointer GetValuesByte(int i)
@Const @Name(value="GetValues<jshort>") public ShortPointer GetValuesShort(int i)
@Const @Name(value="GetValues<jint>") public IntPointer GetValuesInt(int i)
@Const @Name(value="GetValues<jlong>") public LongPointer GetValuesLong(int i)
@Const @Name(value="GetValues<float>") public FloatPointer GetValuesFloat(int i)
@Const @Name(value="GetValues<double>") public DoublePointer GetValuesDouble(int i)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public ArrayData Slice(@Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
@ByVal public ArrayDataResult SliceSafe(@Cast(value="int64_t") long offset, @Cast(value="int64_t") long length)
length
isn't clamped to the available buffer size.@Cast(value="int64_t") public long GetNullCount()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType type()
public ArrayData length(long setter)
public ArrayData offset(long setter)
@ByRef public BufferVector buffers()
public ArrayData buffers(BufferVector setter)
@ByRef public ArrayDataVector child_data()
public ArrayData child_data(ArrayDataVector setter)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public ArrayData dictionary()
Copyright © 2022. All rights reserved.