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.
You could store the data, type and parent of a path in a column family,
With cassandra, you need to denormalize to serve the queries you are going to perform. You probably want to query the children of a directory, so have a structure like,
Add more column families to support the other queries you wish to do.