I want to develop a hierarchical database to store **directory structure** in the filesystem.

Just like 

```

 Root
   -dir
     -subdir
     -subdir
        -subdir
            -subdir
            -subdir
     -subdir
     -subdir

```

can i use Apache Cassandra for this

a java example will be better to understand.