@Name(value="arrow::Result<arrow::compute::ScalarAggregateKernel*>") @NoOffset @Properties(inherit=arrow.class) public class ScalarAggregateKernelResult extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ScalarAggregateKernelResult()
Constructs a Result object that contains a non-OK status.
|
ScalarAggregateKernelResult(long size)
Native array allocator.
|
ScalarAggregateKernelResult(Pointer p)
Pointer cast constructor.
|
ScalarAggregateKernelResult(ScalarAggregateKernel value)
Constructs a Result object that contains
value. |
ScalarAggregateKernelResult(ScalarAggregateKernelResult other)
Copy constructor.
|
ScalarAggregateKernelResult(Status status)
Constructs a Result object with the given non-OK Status object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Equals(ScalarAggregateKernelResult other)
Compare to another Result.
|
ScalarAggregateKernelResult |
getPointer(long i) |
ScalarAggregateKernel |
MoveValueUnsafe() |
ScalarAggregateKernel |
multiply() |
boolean |
ok()
Indicates whether the object contains a
T value. |
ScalarAggregateKernelResult |
position(long position) |
ScalarAggregateKernelResult |
put(ScalarAggregateKernelResult other)
Copy-assignment operator.
|
Status |
status()
Gets the stored status object, or an OK status if a
T value is stored. |
ScalarAggregateKernel |
ValueOrDie()
Gets a mutable reference to the stored
T value. |
ScalarAggregateKernel |
ValueUnsafe()
Cast the internally stored value to produce a new result or propagate the stored
error.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic ScalarAggregateKernelResult(Pointer p)
Pointer(Pointer).public ScalarAggregateKernelResult(long size)
Pointer.position(long).public ScalarAggregateKernelResult()
explicit to prevent attempts to return {}
from a function with a return type of, for example,
Result<std::vector<int>>. While return {} seems like it would return
an empty vector, it will actually invoke the default constructor of
Result.public ScalarAggregateKernelResult(@Const @ByRef Status status)
status must
not be an OK status, otherwise this constructor will abort.
This constructor is not declared explicit so that a function with a return
type of Result<T> can return a Status object, and the status will be
implicitly converted to the appropriate return type as a matter of
convenience.status - The non-OK Status object to initialize to.public ScalarAggregateKernelResult(ScalarAggregateKernel value)
value. The resulting object
is considered to have an OK status. The wrapped element can be accessed
with ValueOrDie().
This constructor is made implicit so that a function with a return type of
Result<T> can return an object of type T, implicitly converting
it to a Result<T> object.value - The value to initialize to.public ScalarAggregateKernelResult(@Cast(value="const arrow::Result<arrow::compute::ScalarAggregateKernel*>*") @ByRef ScalarAggregateKernelResult other)
Result
object results in a compilation error.other - The value to copy from.public ScalarAggregateKernelResult position(long position)
public ScalarAggregateKernelResult getPointer(long i)
getPointer in class Pointer@Cast(value="arrow::Result<arrow::compute::ScalarAggregateKernel*>*") @ByRef @Name(value="operator =") public ScalarAggregateKernelResult put(@Cast(value="const arrow::Result<arrow::compute::ScalarAggregateKernel*>*") @ByRef ScalarAggregateKernelResult other)
other - The Result object to copy.@Cast(value="bool") public boolean Equals(@Cast(value="const arrow::Result<arrow::compute::ScalarAggregateKernel*>*") @ByRef ScalarAggregateKernelResult other)
@Cast(value="bool") public boolean ok()
T value. Generally instead
of accessing this directly you will want to use ASSIGN_OR_RAISE defined
below.@Const @ByRef public Status status()
T value is stored.
/**
/** @return The stored non-OK status object, or an OK status if this object
/** has a value.@ByPtrRef public ScalarAggregateKernel ValueOrDie()
T value.
This method should only be called if this Result object's status is OK
(i.e. a call to ok() returns true), otherwise this call will abort.T value.@ByPtrRef @Name(value="operator *") public ScalarAggregateKernel multiply()
@ByPtrRef public ScalarAggregateKernel ValueUnsafe()
public ScalarAggregateKernel MoveValueUnsafe()
Copyright © 2021. All rights reserved.