@Name(value="arrow::Future<std::shared_ptr<arrow::Table> >") @Properties(inherit=arrow.class) public class TableFuture extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TableFuture() |
TableFuture(long size)
Native array allocator.
|
TableFuture(Pointer p)
Pointer cast constructor.
|
TableFuture(Status s)
\brief Implicit constructor to create a future from a Status, enabling use
of macros like ARROW_RETURN_NOT_OK.
|
TableFuture(Table val)
\brief Implicit constructor to create a finished future from a value
|
TableFuture(TableResult res)
\brief Implicit constructor to create a future from a Result, enabling use
of macros like ARROW_ASSIGN_OR_RAISE.
|
| Modifier and Type | Method and Description |
|---|---|
Future |
asFuture()
\brief Future
|
TableFuture |
getPointer(long i) |
boolean |
is_finished()
\brief Whether the Future is finished
A false return value is only indicative, as the Future can complete
concurrently.
|
boolean |
is_valid() |
static TableFuture |
Make()
\brief Producer API: instantiate a valid Future
The Future's state is initialized with PENDING.
|
static TableFuture |
MakeFinished(TableResult res)
\brief Producer API: instantiate a finished Future
|
void |
MarkFinished(TableResult res)
\brief Producer API: mark Future finished
The Future's result is set to
res. |
TableResult |
MoveResult()
\brief Returns an rvalue to the result.
|
TableFuture |
position(long position) |
TableResult |
result()
\brief Wait for the Future to complete and return its Result
|
arrow.FutureState |
state()
\brief Return the Future's current state
A return value of PENDING is only indicative, as the Future can complete
concurrently.
|
Status |
status()
\brief Wait for the Future to complete and return its Status
|
void |
Wait()
\brief Wait for the Future to complete
|
boolean |
Wait(double seconds)
\brief Wait for the Future to complete, or for the timeout to expire
true is returned if the Future completed, false if the timeout expired. |
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, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic TableFuture(Pointer p)
Pointer(Pointer).public TableFuture(long size)
Pointer.position(long).public TableFuture()
public TableFuture(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Table>"}) Table val)
public TableFuture(@ByVal TableResult res)
public TableFuture position(long position)
public TableFuture getPointer(long i)
getPointer in class Pointerpublic arrow.FutureState state()
@Cast(value="bool") public boolean is_finished()
@Const @ByRef public TableResult result()
@ByRef(value=true) public TableResult MoveResult()
@Const @ByRef public Status status()
@ByVal @Name(value="operator arrow::Future<>") public Future asFuture()
public void Wait()
@Cast(value="bool") public boolean Wait(double seconds)
true is returned if the Future completed, false if the timeout expired.
Note a false value is only indicative, as the Future can complete
concurrently.public void MarkFinished(@ByVal TableResult res)
res.@ByVal public static TableFuture Make()
@ByVal public static TableFuture MakeFinished(@ByVal TableResult res)
Copyright © 2021. All rights reserved.