Clears out all rows from storage but doesn't delete the tables or families.
()
| 726 | * Clears out all rows from storage but doesn't delete the tables or families. |
| 727 | */ |
| 728 | public void flushStorage() { |
| 729 | for (final ByteMap<ByteMap<ByteMap<TreeMap<Long, byte[]>>>> table : |
| 730 | storage.values()) { |
| 731 | for (final ByteMap<ByteMap<TreeMap<Long, byte[]>>> cf : table.values()) { |
| 732 | cf.clear(); |
| 733 | } |
| 734 | } |
| 735 | } |
| 736 | |
| 737 | /** |
| 738 | * Clears out all rows for a given table |
no test coverage detected