public interface RecordUpdater
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean abort)
Close this updater.
|
void |
delete(long currentTransaction,
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.
|
SerDeStats |
getStats()
Returns the statistics information
|
void |
insert(long currentTransaction,
Object row)
Insert a new record into the table.
|
void |
update(long currentTransaction,
Object row)
Update an old record with a new set of values.
|
void insert(long currentTransaction,
Object row)
throws IOException
currentTransaction - the transaction id of the current transaction.row - the row of data to insertIOExceptionvoid update(long currentTransaction,
Object row)
throws IOException
currentTransaction - the current transaction idrow - the new values for the rowIOExceptionvoid delete(long currentTransaction,
Object row)
throws IOException
currentTransaction - the current transaction idIOExceptionvoid flush()
throws IOException
IOExceptionvoid close(boolean abort)
throws IOException
abort - Can the data since the last flush be discarded?IOExceptionSerDeStats getStats()
Copyright © 2017 The Apache Software Foundation. All rights reserved.