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 insertIOException
void update(long currentTransaction, Object row) throws IOException
currentTransaction
- the current transaction idrow
- the new values for the rowIOException
void delete(long currentTransaction, Object row) throws IOException
currentTransaction
- the current transaction idIOException
void flush() throws IOException
IOException
void close(boolean abort) throws IOException
abort
- Can the data since the last flush be discarded?IOException
SerDeStats getStats()
Copyright © 2017 The Apache Software Foundation. All rights reserved.