NVIDIA Morpheus (24.06)

Class OStreamSink

Base Type

  • public cudf::io::data_sink

class OStreamSink : public cudf::io::data_sink

Public Functions

inline OStreamSink(std::ostream &stream)

inline void host_write(void const *data, size_t size) override

Append the buffer content to the sink.

Parameters
  • data[in] Pointer to the buffer to be written into the sink object

  • size[in] Number of bytes to write

Returns

void

inline void flush() override

Flush the data written into the sink.

inline size_t bytes_written() override

Returns the total number of bytes written into this sink.

Returns

size_t Total number of bytes written into this sink

Previous Class MutableTableCtxMgr
Next Class PayloadDataLoader
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.