static class ReplicationSourceWALReader.WALEntryBatch extends Object
Modifier and Type | Field and Description |
---|---|
private long |
heapSize |
private org.apache.hadoop.fs.Path |
lastWalPath |
private long |
lastWalPosition |
private int |
nbHFiles |
private int |
nbRowKeys |
private List<WAL.Entry> |
walEntries |
Constructor and Description |
---|
WALEntryBatch(int maxNbEntries,
org.apache.hadoop.fs.Path lastWalPath) |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(WAL.Entry entry) |
long |
getHeapSize() |
org.apache.hadoop.fs.Path |
getLastWalPath() |
long |
getLastWalPosition() |
int |
getNbEntries() |
int |
getNbHFiles() |
int |
getNbOperations() |
int |
getNbRowKeys() |
List<WAL.Entry> |
getWalEntries() |
private void |
incrementHeapSize(long increment) |
private void |
incrementNbHFiles(int increment) |
private void |
incrementNbRowKeys(int increment) |
private List<WAL.Entry> walEntries
private org.apache.hadoop.fs.Path lastWalPath
private long lastWalPosition
private int nbRowKeys
private int nbHFiles
private long heapSize
WALEntryBatch(int maxNbEntries, org.apache.hadoop.fs.Path lastWalPath)
walEntries
- lastWalPath
- Path of the WAL the last entry in this batch was read fromlastWalPosition
- Position in the WAL the last entry in this batch was read frompublic List<WAL.Entry> getWalEntries()
public org.apache.hadoop.fs.Path getLastWalPath()
public long getLastWalPosition()
public int getNbEntries()
public int getNbRowKeys()
public int getNbHFiles()
public int getNbOperations()
public long getHeapSize()
private void incrementNbRowKeys(int increment)
private void incrementNbHFiles(int increment)
private void incrementHeapSize(long increment)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.