@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class Status extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Status() |
Status(arrow.StatusCode code,
String msg) |
Status(arrow.StatusCode code,
String msg,
StatusDetail detail)
\brief Pluggable constructor for use by sub-systems.
|
Status(byte code,
BytePointer msg) |
Status(byte code,
BytePointer msg,
StatusDetail detail) |
Status(long size)
Native array allocator.
|
Status(Pointer p)
Pointer cast constructor.
|
Status(Status s) |
| Modifier and Type | Method and Description |
|---|---|
void |
Abort(BytePointer message) |
void |
Abort(String message)
\brief Return a new Status with changed message, copying the
existing status code and detail.
|
Status |
and(Status s) |
Status |
andPut(Status s) |
arrow.StatusCode |
code()
\brief Return the StatusCode value attached to this status.
|
String |
CodeAsString()
\brief Return a string representation of the status code, without the message
text or POSIX code information.
|
static String |
CodeAsString(arrow.StatusCode arg0) |
static BytePointer |
CodeAsString(byte arg0) |
StatusDetail |
detail()
\brief Return the status detail attached to this message.
|
boolean |
Equals(Status s) |
Status |
getPointer(long i) |
boolean |
IsAlreadyExists() |
boolean |
IsCapacityError()
Return true iff the status indicates a container reaching capacity limits.
|
boolean |
IsCodeGenError() |
boolean |
IsExecutionError() |
boolean |
IsExpressionValidationError() |
boolean |
IsIndexError()
Return true iff the status indicates an out of bounds index.
|
boolean |
IsInvalid()
Return true iff the status indicates invalid data.
|
boolean |
IsIOError()
Return true iff the status indicates an IO-related failure.
|
boolean |
IsKeyError()
Return true iff the status indicates a key lookup error.
|
boolean |
IsNotImplemented()
Return true iff the status indicates an unimplemented operation.
|
boolean |
IsOutOfMemory()
Return true iff the status indicates an out-of-memory error.
|
boolean |
IsRError()
Return true iff the status indicates a R-originated error.
|
boolean |
IsSerializationError()
Return true iff the status indicates a (de)serialization failure
|
boolean |
IsTypeError()
Return true iff the status indicates a type error.
|
boolean |
IsUnknownError()
Return true iff the status indicates an unknown error.
|
String |
message()
\brief Return the specific error message attached to this status.
|
boolean |
ok()
Return true iff the status indicates success.
|
static Status |
OK()
Return a success status
|
Status |
position(long position) |
Status |
put(Status s) |
String |
ToString()
\brief Return a string representation of this status suitable for printing.
|
Status |
WithDetail(StatusDetail new_detail)
\brief Return a new Status copying the existing status, but
updating with the existing detail.
|
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 Status(Pointer p)
Pointer(Pointer).public Status(long size)
Pointer.position(long).public Status()
public Status(arrow.StatusCode code, @StdString String msg)
public Status(@Cast(value="arrow::StatusCode") byte code, @StdString BytePointer msg)
public Status(arrow.StatusCode code, @StdString String msg, @SharedPtr StatusDetail detail)
public Status(@Cast(value="arrow::StatusCode") byte code, @StdString BytePointer msg, @SharedPtr StatusDetail detail)
public Status getPointer(long i)
getPointer in class Pointer@Cast(value="bool") public boolean IsOutOfMemory()
@Cast(value="bool") public boolean IsKeyError()
@Cast(value="bool") public boolean IsInvalid()
@Cast(value="bool") public boolean IsIOError()
@Cast(value="bool") public boolean IsCapacityError()
@Cast(value="bool") public boolean IsIndexError()
@Cast(value="bool") public boolean IsTypeError()
@Cast(value="bool") public boolean IsUnknownError()
@Cast(value="bool") public boolean IsNotImplemented()
@Cast(value="bool") public boolean IsSerializationError()
@Cast(value="bool") public boolean IsRError()
@StdString public String ToString()
@StdString public String CodeAsString()
@StdString public static String CodeAsString(arrow.StatusCode arg0)
@StdString public static BytePointer CodeAsString(@Cast(value="arrow::StatusCode") byte arg0)
public arrow.StatusCode code()
@StdString public String message()
@SharedPtr public StatusDetail detail()
@ByVal public Status WithDetail(@SharedPtr StatusDetail new_detail)
public void Abort(@StdString String message)
public void Abort(@StdString BytePointer message)
Copyright © 2021. All rights reserved.