Package org.apache.cassandra.db
Class Directories.SSTableLister
java.lang.Object
org.apache.cassandra.db.Directories.SSTableLister
- Enclosing class:
- Directories
-
Method Summary
Modifier and TypeMethodDescriptionincludeBackups(boolean b) list()list(boolean includeForeignTables) This method is used upon SSTable importing (nodetool import) as there is no strict requirement to place SSTables in a directory structure where name of a directory equals to table name and parent of such directory equals to keyspace name.listFiles(boolean includeForeignTables) onlyBackups(boolean b) skipTemporary(boolean b) Returns a sorted version of thelistmethod.
-
Method Details
-
skipTemporary
-
includeBackups
-
onlyBackups
-
snapshots
-
list
-
list
This method is used upon SSTable importing (nodetool import) as there is no strict requirement to place SSTables in a directory structure where name of a directory equals to table name and parent of such directory equals to keyspace name. For such cases, we want to include such SSTables too, rendering the parameter to be set to true.- Parameters:
includeForeignTables- whether descriptors not matching metadata of this lister should be included- Returns:
- found descriptors and related set of components
-
sortedList
Returns a sorted version of thelistmethod. Descriptors are sorted by generation.- Returns:
- a List of descriptors to their components.
-
listFiles
-
listFiles
-