public interface RecordWriter
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear bufferred writes.
|
void |
closeBatch()
Close the RecordUpdater.
|
void |
flush()
Flush records from buffer.
|
void |
newBatch(Long minTxnId,
Long maxTxnID)
Acquire a new RecordUpdater.
|
void |
write(long transactionId,
byte[] record)
Writes using a hive RecordUpdater
|
void write(long transactionId,
byte[] record)
throws StreamingException
transactionId - the ID of the Txn in which the write occursrecord - the record to be writtenStreamingExceptionvoid flush()
throws StreamingException
StreamingExceptionvoid clear()
throws StreamingException
StreamingExceptionvoid newBatch(Long minTxnId, Long maxTxnID) throws StreamingException
StreamingExceptionvoid closeBatch()
throws StreamingException
StreamingExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.