@Namespace(value="arrow::ipc::feather") @NoOffset @Properties(inherit=arrow.class) public class TableWriter extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TableWriter(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Append(BytePointer name,
Array values) |
Status |
Append(String name,
Array values)
\brief Append a column to the file
|
Status |
Finalize()
\brief Finalize the file by writing the file metadata and footer
|
static Status |
Open(OutputStream stream,
TableWriter out)
\brief Create a new TableWriter that writes to an OutputStream
|
void |
SetDescription(BytePointer desc) |
void |
SetDescription(String desc)
\brief Set the description field in the file metadata
|
void |
SetNumRows(long num_rows)
\brief Set the number of rows in the file
|
Status |
Write(Table table)
\brief Write a table to the file
|
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, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic TableWriter(Pointer p)
Pointer.Pointer(Pointer).@ByVal public static Status Open(@SharedPtr OutputStream stream, @UniquePtr TableWriter out)
stream - [in] an output streamout - [out] the returned table writerpublic void SetDescription(@StdString String desc)
public void SetDescription(@StdString BytePointer desc)
public void SetNumRows(@Cast(value="int64_t") long num_rows)
@ByVal public Status Append(@StdString String name, @Const @ByRef Array values)
name - [in] the column namevalues - [in] the column values as a contiguous arrow::Array@ByVal public Status Append(@StdString BytePointer name, @Const @ByRef Array values)
@ByVal public Status Write(@Const @ByRef Table table)
table - [in] the table to be writtenCopyright © 2020. All rights reserved.