@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class Datum extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
Datum.Empty |
static class |
Datum.Kind |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static long |
kUnknownLength |
| Constructor and Description |
|---|
Datum()
\brief Empty datum, to be populated elsewhere
|
Datum(Array value) |
Datum(ArrayData value) |
Datum(boolean value) |
Datum(byte value) |
Datum(BytePointer value) |
Datum(ChunkedArray value) |
Datum(Datum other) |
Datum(DatumVector value) |
Datum(double value) |
Datum(float value) |
Datum(int value) |
Datum(long value) |
Datum(Pointer p)
Pointer cast constructor.
|
Datum(RecordBatch value) |
Datum(Scalar value) |
Datum(short value) |
Datum(String value) |
Datum(Table value) |
| Modifier and Type | Method and Description |
|---|---|
ArrayData |
array() |
ChunkedArray |
chunked_array() |
ArrayVector |
chunks()
\brief The array chunks of the variant, if any
|
DatumVector |
collection() |
ValueDescr |
descr()
\brief Return the shape (array or scalar) and type for supported kinds
(ARRAY, CHUNKED_ARRAY, and SCALAR).
|
boolean |
equals(Datum other) |
boolean |
Equals(Datum other) |
boolean |
is_array() |
boolean |
is_arraylike() |
boolean |
is_collection() |
boolean |
is_scalar() |
boolean |
is_value()
\brief True if Datum contains a scalar or array-like data
|
Datum.Kind |
kind() |
static long |
kUnknownLength() |
long |
length()
\brief The value length of the variant, if any
|
Array |
make_array() |
ArrayData |
mutable_array() |
boolean |
notEquals(Datum other) |
long |
null_count() |
Datum |
put(Datum other) |
RecordBatch |
record_batch() |
Scalar |
scalar() |
Schema |
schema()
\brief The schema of the variant, if any
|
ValueDescr.Shape |
shape()
\brief Return the shape (array or scalar) for supported kinds (ARRAY,
CHUNKED_ARRAY, and SCALAR).
|
Table |
table() |
String |
ToString() |
DataType |
type()
\brief The value type of the variant, if any
|
address, 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 Datum(Pointer p)
Pointer(Pointer).public Datum()
public Datum(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Scalar>"}) Scalar value)
public Datum(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) ArrayData value)
public Datum(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ChunkedArray>"}) ChunkedArray value)
public Datum(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::RecordBatch>"}) RecordBatch value)
public Datum(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Table>"}) Table value)
public Datum(@ByVal DatumVector value)
public Datum(byte value)
public Datum(short value)
public Datum(int value)
public Datum(float value)
public Datum(double value)
public Datum(@StdString String value)
public Datum(@StdString BytePointer value)
@MemberGetter @Cast(value="const int64_t") public static long kUnknownLength()
public Datum.Kind kind()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ArrayData>"}) public ArrayData array()
public ArrayData mutable_array()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) public Array make_array()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::ChunkedArray>"}) public ChunkedArray chunked_array()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::RecordBatch>"}) public RecordBatch record_batch()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Table>"}) public Table table()
@Const @ByRef public DatumVector collection()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Scalar>"}) public Scalar scalar()
@Cast(value="bool") public boolean is_value()
@ByVal public ValueDescr descr()
public ValueDescr.Shape shape()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType type()
@SharedPtr @ByVal public Schema schema()
@Cast(value="int64_t") public long length()
@ByVal public ArrayVector chunks()
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef Datum other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef Datum other)
@StdString public String ToString()
Copyright © 2021. All rights reserved.