Interface HadoopPathBasedBulkWriter<T>
-
- All Superinterfaces:
org.apache.flink.api.common.serialization.BulkWriter<T>
@Internal public interface HadoopPathBasedBulkWriter<T> extends org.apache.flink.api.common.serialization.BulkWriter<T>SpecializedBulkWriterwhich is expected to write to specifiedPath.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceHadoopPathBasedBulkWriter.Factory<T>A factory that creates aHadoopPathBasedBulkWriter.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()Disposes the writer on failures.longgetSize()Gets the size written by the current writer.
-
-
-
Method Detail
-
getSize
long getSize() throws IOExceptionGets the size written by the current writer.- Returns:
- The size written by the current writer.
- Throws:
IOException
-
dispose
void dispose()
Disposes the writer on failures. Unlike output-stream-based writers which could handled uniformly by closing the underlying output stream, the path- based writers need to be disposed explicitly.
-
-