@NotThreadSafe public class OutputS3 extends Output
Constructor and Description |
---|
OutputS3(java.util.concurrent.ExecutorService executorService,
java.net.URI uri,
WriterProjection.CompressionType compressionType) |
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
acquireOutputStream()
calling this method creates & acquires an OutputStream which must be closed by the caller if it is no longer needed
|
public OutputS3(java.util.concurrent.ExecutorService executorService, java.net.URI uri, WriterProjection.CompressionType compressionType)
public java.io.OutputStream acquireOutputStream() throws java.io.IOException
Output
acquireOutputStream
in class Output
java.io.IOException
- in case the Output can't be created (e.g. due to file permission errors or something like that)