|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecordUpdater
API for supporting updating records.
| Method Summary | |
|---|---|
void |
close(boolean abort)
Close this updater. |
void |
delete(long currentTransaction,
long originalTransaction,
long rowId)
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,
long originalTransaction,
long rowId,
Object row)
Update an old record with a new set of values. |
| Method Detail |
|---|
void insert(long currentTransaction,
Object row)
throws IOException
currentTransaction - the transaction id of the current transaction.row - the row of data to insert
IOException
void update(long currentTransaction,
long originalTransaction,
long rowId,
Object row)
throws IOException
currentTransaction - the current transaction idoriginalTransaction - the row's original transaction idrowId - the original row idrow - the new values for the row
IOException
void delete(long currentTransaction,
long originalTransaction,
long rowId)
throws IOException
currentTransaction - the current transaction idoriginalTransaction - the rows original transaction idrowId - the original row id
IOException
void flush()
throws IOException
IOException
void close(boolean abort)
throws IOException
abort - Can the data since the last flush be discarded?
IOExceptionSerDeStats getStats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||