public static class AbstractTransactionLog.Entry extends Object implements org.apache.hadoop.io.Writable
TransactionEdit being stored.| Constructor and Description |
|---|
AbstractTransactionLog.Entry() |
AbstractTransactionLog.Entry(org.apache.hadoop.io.LongWritable key,
TransactionEdit edit) |
| Modifier and Type | Method and Description |
|---|---|
TransactionEdit |
getEdit() |
org.apache.hadoop.io.LongWritable |
getKey() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public AbstractTransactionLog.Entry()
public AbstractTransactionLog.Entry(org.apache.hadoop.io.LongWritable key,
TransactionEdit edit)
public org.apache.hadoop.io.LongWritable getKey()
public TransactionEdit getEdit()
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.