@Namespace(value="arrow::compute") @NoOffset @Properties(inherit=arrow.class) public class FunctionContext extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FunctionContext() |
FunctionContext(long size)
Native array allocator.
|
FunctionContext(MemoryPool pool) |
FunctionContext(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Allocate(long nbytes,
ArrowBuffer out)
\brief Allocate buffer from the context's memory pool
|
CpuInfo |
cpu_info() |
boolean |
HasError()
\brief Return true if an error has occurred
|
MemoryPool |
memory_pool() |
FunctionContext |
position(long position) |
void |
ResetStatus()
\brief Clear any error status
|
void |
SetStatus(Status status)
\brief Indicate that an error has occurred, to be checked by a parent caller
|
Status |
status()
\brief Return the current status of the context
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic FunctionContext(Pointer p)
Pointer.Pointer(Pointer).public FunctionContext(long size)
Pointer.position(long).public FunctionContext(MemoryPool pool)
public FunctionContext()
public FunctionContext position(long position)
public MemoryPool memory_pool()
@ByVal public Status Allocate(@Cast(value="const int64_t") long nbytes, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::Buffer>*"}) ArrowBuffer out)
public void SetStatus(@Const @ByRef Status status)
status - [in] a Status instance
\note Will not overwrite a prior set Status, so we will have the first
error that occurred until FunctionContext::ResetStatus is calledpublic void ResetStatus()
public CpuInfo cpu_info()
Copyright © 2020. All rights reserved.