public interface RecordUpdater
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean abort)
Close this updater.
|
void |
delete(long currentWriteId,
Object row)
Delete a row from the table.
|
void |
flush()
Flush the current set of rows to the underlying file system, so that
they are available to readers.
|
long |
getBufferedRowCount()
Returns the number of rows in memory before flush().
|
SerDeStats |
getStats()
Returns the statistics information
|
void |
insert(long currentWriteId,
Object row)
Insert a new record into the table.
|
void |
update(long currentWriteId,
Object row)
Update an old record with a new set of values.
|
void insert(long currentWriteId,
Object row)
throws IOException
currentWriteId - the table write id of the current transaction.row - the row of data to insertIOExceptionvoid update(long currentWriteId,
Object row)
throws IOException
currentWriteId - the current write idrow - the new values for the rowIOExceptionvoid delete(long currentWriteId,
Object row)
throws IOException
currentWriteId - the current write idIOExceptionvoid flush()
throws IOException
IOExceptionvoid close(boolean abort)
throws IOException
abort - Can the data since the last flush be discarded?IOExceptionSerDeStats getStats()
long getBufferedRowCount()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.