Interface Sink<O>
- Type Parameters:
O- type of the value to serialise.
- All Known Implementing Classes:
ByteSink, StringSink
public interface Sink<O>
Last step of a compilation chain: serialises the pipeline output to a file.
-
Method Summary
-
Method Details
-
pourInto
Writeoutputto the sink's pre-configured destination.- Parameters:
output- the value produced by the preceding transformation chain.- Throws:
IOException- if the destination cannot be written.
-