HostBufferConsumer#
- public interface HostBufferConsumer#
Provides a set of APIs for consuming host buffers.
This is typically used when writing out Tables in various file formats.
Method Summary
Indicates that no more buffers will be supplied.
Consume a buffer.
Methods
- public void handleBuffer(HostMemoryBuffer buffer, long len)#
Consume a buffer.
- Parameters:
buffer – the buffer. Be sure to close this buffer when you are done with it or it will leak.
len – the length of the buffer that is valid. The valid data will be 0 until len.
- public default void done()#
Indicates that no more buffers will be supplied.