@Internal public interface HadoopPathBasedBulkWriter<T> extends BulkWriter<T>
BulkWriter
which is expected to write to specified Path
.Modifier and Type | Interface and Description |
---|---|
static interface |
HadoopPathBasedBulkWriter.Factory<T>
A factory that creates a
HadoopPathBasedBulkWriter . |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the writer on failures.
|
long |
getSize()
Gets the size written by the current writer.
|
addElement, finish, flush
long getSize() throws IOException
IOException
void dispose()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.