class RocksDBIngester {

    public static final String SST = ".sst";

    private static final Logger LOG = Log.logger(RocksDBIngester.class);

    private final RocksDB rocksdb;
    private final IngestExternalFileOptions options;

    public RocksDBIngester(RocksDB rocksdb) {
        this.rocksdb = rocksdb;

        this.options = new IngestExternalFileOptions();
        this.options.setMoveFiles(true);
    }

    public List<String> ingest(Path path, ColumnFamilyHandle cf) throws RocksDBException {<FILL_FUNCTION_BODY>}

    public void ingest(ColumnFamilyHandle cf, List<String> ssts) throws RocksDBException {
        LOG.info("Ingest sst files to CF '{}': {}", RocksDBStdSessions.decode(cf.getName()), ssts);
        if (!ssts.isEmpty()) {
            this.rocksdb.ingestExternalFile(cf, ssts, this.options);
        }
    }

    public static class SuffixFileVisitor extends SimpleFileVisitor<Path> {

        private final List<Path> files = new ArrayList<>();
        private final String suffix;

        public SuffixFileVisitor(String suffix) {
            this.suffix = suffix;
        }

        @Override
        public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) {
            if (file.toString().endsWith(this.suffix)) {
                this.files.add(file);
            }
            return FileVisitResult.CONTINUE;
        }

        public List<Path> files() {
            return this.files;
        }
    }
}

        SuffixFileVisitor visitor = new SuffixFileVisitor(SST);
        try {
            Files.walkFileTree(path, visitor);
        } catch (IOException e) {
            throw new BackendException("Failed to walk path '%s'", e, path);
        }

        List<Path> files = visitor.files();
        List<String> ssts = new ArrayList<>(files.size());
        for (Path file : files) {
            File sst = file.toFile();
            if (sst.exists() && sst.length() > 0L) {
                ssts.add(sst.getPath());
            }
        }
        this.ingest(cf, ssts);

        return ssts;
    
<no_super_class>