RecordWriter@Deprecated public interface RecordWriter
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
Clear bufferred writes.
|
void |
closeBatch()
Deprecated.
Close the RecordUpdater.
|
void |
flush()
Deprecated.
Flush records from buffer.
|
void |
newBatch(Long minWriteId,
Long maxWriteID)
Deprecated.
Acquire a new RecordUpdater.
|
void |
write(long writeId,
byte[] record)
Deprecated.
Writes using a hive RecordUpdater
|
void write(long writeId,
byte[] record)
throws StreamingException
writeId - the write ID of the table mapping to Txn in which the write occursrecord - the record to be writtenStreamingExceptionvoid flush()
throws StreamingException
StreamingExceptionvoid clear()
throws StreamingException
StreamingExceptionvoid newBatch(Long minWriteId, Long maxWriteID) throws StreamingException
StreamingExceptionvoid closeBatch()
throws StreamingException
StreamingExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.