I'm trying to understand how JanusGraph/Titan interact with Cassandra. Specifically, I want to know what Cassandra tables does JanusGraph/Titan create, what contents are in them and what happens to them when I mutate the graph, e.g. adding a vertex, adding an edge, create an index...
After connecting to Cassandra using code below, I notice that there're 9 tables under 'titan' keyspace in Cassandra (I'm experimenting using Titan):
g=TitanFactory.build().set("storage.backend", "cassandra").set("storage.hostname","127.0.0.1").open();
Those tables are:
titan_ids
edgestore
edgestore_lock_
system_properties
system_properties_lock_
graphindex
graphindex_lock_
txlog
systemlog
I added a vertex:
john=g.addVertex("John");
And then I notice that titan_ids contains 5 new rows, and each time I add another vertex, 2 more rows appear. No other tables are affected. But if I drop any of the vertices, the rows does not disappear.
I want to know the content of those new rows, but
gives:
key | column1
| value
--------------------+-----------------------------------------------------------
---------------+-------
0x0000000000000003 | 0xfffffffffffec77f00055f5c22db84f8643232303931343031323230
302d6972697331 | 0x
0x5000000000000000 | 0xffffffffffffd8ef00055f5c22e1b300643232303931343031323230
302d6972697331 | 0x
0x0000000000000004 | 0xffffffffffffff9b00055f5c22d658c0643232303931343031323230
302d6972697331 | 0x
0x0000000000000004 | 0xffffffffffffffcd00055f5c22d11518643232303931343031323230
302d6972697331 | 0x
0xe800000000000000 | 0xffffffffffffd8ef00055f5c6c828bb0643232303931343031323230
302d6972697331 | 0x
0x5000000000000003 | 0xfffffffffffec77f00055f5c22e6df38643232303931343031323230
302d6972697331 | 0x
0xe800000000000003 | 0xfffffffffffec77f00055f5c6c87b400643232303931343031323230
302d6972697331 | 0x
0xa000000000000000 | 0xffffffffffffd8ef00055f5c6381f708643232303931343031323230
302d6972697331 | 0x
0xa000000000000003 | 0xfffffffffffec77f00055f5c63872340643232303931343031323230
302d6972697331 | 0x
(9 rows)
which is not for human to read, so I have no idea what JanusGraph/Titan ask Cassandra to store. I expect to see some literals like "John".
So my question is, what do those 9 tables store? Is there any documentation about it? How can I read the contents in them so that when I experiment with Cassandra, I can understand what's going on for each table?