Package cz.o2.proxima.direct.io.bulkfs
Interface Writer
- 
- All Superinterfaces:
- java.lang.AutoCloseable,- java.io.Closeable
 - All Known Implementing Classes:
- ProximaParquetWriter
 
 public interface Writer extends java.io.CloseableProxima's abstraction of writer for bulk data.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close and flush the writer to targetFileSystem.PathgetPath()GetPathassociated with the Writer.voidwrite(StreamElement elem)WriteStreamElementinto this blob store.
 
- 
- 
- 
Method Detail- 
writevoid write(StreamElement elem) throws java.io.IOException WriteStreamElementinto this blob store.- Parameters:
- elem- the element to write
- Throws:
- java.io.IOException- on errors
 
 - 
closevoid close() throws java.io.IOExceptionClose and flush the writer to targetFileSystem. Note that the associatedPathmight be visible on the target FileSystem only after closing associated writer.- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Throws:
- java.io.IOException- on errors
 
 
- 
 
-