Question: If we have deleted some(20 query) data in Cassandra using below delete query.
DELETE lastname FROM cycling.cyclist\_name WHERE id = c7fceba0-c141-4207-9494-a29f9809de6f;

So how we can restore/find above deleted data in Cassandra? please help

Answer: 
The `IMAPFolder` API Documentation says there is a method getFolder() on the Folder. Once you get the Inbox folder, call `getFolder()` on this folder passing the subfolder name. 

Here is the reference <https://eclipse-ee4j.github.io/javamail/docs/api/com/sun/mail/imap/IMAPFolder.html>
You probably use a wrong IMAP folder separator. The IMAP folder separator is not standardized and can be determined like this:

```
char separator = store.getDefaultFolder().getSeparator();

```

The most common separators are "." and "/". I guess that that "/" was the right choice in your case. `store.getFolder()` is able to access nested subfolders:

```
// assuming that "/" is the right separator
Folder folder = store.getFolder("inbox/subfolder"); 

```