-
Method Summary
| Modifier and Type |
Method |
Description |
int |
numBytes() |
Used to determine when to flush a block.
|
int |
numRecords() |
The number of items in the block.
|
Methods inherited from interface io.datarouter.filesystem.snapshot.encode.BlockEncoder
format
-
Method Details
-
int numRecords()
The number of items in the block. Zero indicates we don't need to flush it.
-
int numBytes()
Used to determine when to flush a block. We won't always know the exact block size until we actually encode
it.