@Namespace(value="arrow::io") @NoOffset @Properties(inherit=arrow.class) public class BufferedOutputStream extends OutputStream
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
BufferedOutputStream(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Abort()
\brief Close the stream abruptly
This method does not guarantee that any pending data is flushed.
|
long |
buffer_size()
\brief Return the current size of the internal buffer
|
long |
bytes_buffered()
\brief Return the number of remaining bytes that have not been flushed to
the raw OutputStream
|
Status |
Close()
\brief Close the buffered output stream.
|
boolean |
closed()
\brief Return whether the stream is closed
|
static BufferedOutputStreamResult |
Create(long buffer_size,
MemoryPool pool,
OutputStream raw)
\brief Create a buffered output stream wrapping the given output stream.
|
OutputStreamResult |
Detach()
\brief Flush any buffered writes and release the raw
OutputStream.
|
Status |
Flush() |
OutputStream |
raw()
\brief Return the underlying raw output stream.
|
Status |
SetBufferSize(long new_buffer_size)
\brief Resize internal buffer
|
LongResult |
Tell()
\brief Return the position in this stream
|
Status |
Write(ArrowBuffer data) |
Status |
Write(Pointer data,
long nbytes) |
asWritable, asWritablemodeaddress, 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, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic BufferedOutputStream(Pointer p)
Pointer(Pointer).@ByVal public static BufferedOutputStreamResult Create(@Cast(value="int64_t") long buffer_size, MemoryPool pool, @SharedPtr OutputStream raw)
buffer_size - [in] the size of the temporary write bufferpool - [in] a MemoryPool to use for allocationsraw - [in] another OutputStream@ByVal public Status SetBufferSize(@Cast(value="int64_t") long new_buffer_size)
new_buffer_size - [in] the new buffer size@Cast(value="int64_t") public long buffer_size()
@Cast(value="int64_t") public long bytes_buffered()
@ByVal public OutputStreamResult Detach()
@ByVal public Status Close()
Close in class FileInterface@ByVal public Status Abort()
FileInterfaceAbort in class FileInterface@Cast(value="bool") public boolean closed()
FileInterfaceclosed in class FileInterface@ByVal public LongResult Tell()
FileInterfaceTell in class FileInterface@ByVal public Status Write(@SharedPtr ArrowBuffer data)
@SharedPtr public OutputStream raw()
Copyright © 2021. All rights reserved.