@Namespace(value="arrow") @Properties(inherit=arrow.class) public class DictionaryScalar extends PrimitiveScalarBase
is_valid denotes the validity of the index, regardless of
the corresponding value in the dictionary.Scalar.HashPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DictionaryScalar(DataType type) |
DictionaryScalar(Pointer p)
Pointer cast constructor.
|
DictionaryScalar(Pointer value,
DataType type) |
DictionaryScalar(Pointer value,
DataType type,
boolean is_valid) |
| Modifier and Type | Method and Description |
|---|---|
ScalarResult |
GetEncodedValue() |
static DictionaryScalar |
Make(Scalar index,
Array dict) |
Pointer |
mutable_data()
\brief Get a mutable pointer to the value of this scalar.
|
ApproxEquals, ApproxEquals, CastTo, Equals, Equals, hash, is_valid, is_valid, ToString, type, type, Validate, ValidateFulladdress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic DictionaryScalar(Pointer p)
Pointer(Pointer).public DictionaryScalar(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
public DictionaryScalar(@ByVal @Cast(value="arrow::DictionaryScalar::ValueType*") Pointer value, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="bool") boolean is_valid)
@SharedPtr public static DictionaryScalar Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Scalar>"}) Scalar index, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Array>"}) Array dict)
@ByVal public ScalarResult GetEncodedValue()
public Pointer mutable_data()
PrimitiveScalarBasemutable_data in class PrimitiveScalarBaseCopyright © 2022. All rights reserved.