@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class DecimalType extends FixedSizeBinaryType
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounteris_utf8, type_id| Constructor and Description |
|---|
DecimalType(int type_id,
int byte_width,
int precision,
int scale) |
DecimalType(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
DecimalSize(int precision)
\brief Returns the number of bytes needed for precision.
|
int |
precision() |
int |
scale() |
asParametricType, asParametricType, bit_width, byte_width, is_utf8, layout, Make, name, ToString, type_id, type_nameAccept, child, children, Equals, Equals, field, fields, Hash, id, num_children, num_fieldsfingerprint, metadata_fingerprintaddress, 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 DecimalType(Pointer p)
Pointer(Pointer).Copyright © 2021. All rights reserved.