Interface RowWriteResult
- All Known Implementing Classes:
RowWriteResult.Rejected, RowWriteResult.Staged
@Experimental
public sealed interface RowWriteResult
permits RowWriteResult.Staged, RowWriteResult.Rejected
The outcome of RowWriter.tryWriteRow(Consumer): the record is in the batch, or it was rejected
without failing the writer.
Staged means the record is staged, not that it has been flushed. A later batch write
can still fail the writer.
This API is Experimental: the shape may change in future releases.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe record was not staged.static enumThe record is in the batch.