@Namespace(value="arrow::io") @NoOffset @Properties(inherit=arrow.class) public class FixedSizeBufferWriter extends WritableFile
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FixedSizeBufferWriter(ArrowBuffer buffer)
Input buffer must be mutable, will abort if not
|
FixedSizeBufferWriter(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Close()
\brief Close the stream cleanly
For writable streams, this will attempt to flush any pending data
before releasing the underlying resource.
|
boolean |
closed()
\brief Return whether the stream is closed
|
Status |
Seek(long _position) |
void |
set_memcopy_blocksize(long blocksize) |
void |
set_memcopy_threads(int num_threads) |
void |
set_memcopy_threshold(long threshold) |
LongResult |
Tell()
\brief Return the position in this stream
|
Status |
Write(Pointer data,
long nbytes) |
Status |
WriteAt(long _position,
Pointer data,
long nbytes)
\endcond
|
asSeekable, asSeekableasWritable, asWritableAbort, modeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic FixedSizeBufferWriter(Pointer p)
Pointer(Pointer).public FixedSizeBufferWriter(@SharedPtr ArrowBuffer buffer)
@ByVal public Status Close()
FileInterfaceClose in class FileInterface@Cast(value="bool") public boolean closed()
FileInterfaceclosed in class FileInterface@ByVal public LongResult Tell()
FileInterfaceTell in class FileInterface@ByVal public Status WriteAt(@Cast(value="int64_t") long _position, @Const Pointer data, @Cast(value="int64_t") long nbytes)
WriteAt in class WritableFilepublic void set_memcopy_threads(int num_threads)
Copyright © 2021. All rights reserved.