Database Reference
In-Depth Information
Figure 7-17
.
Returning a list of all vertices using the REST API
We can also query for a specific vertex by its ID (see
Figure 7-18
)
.
Figure 7-18
.
Get a vertex using the ID 256
A complete list of all supported REST methods can be found at
ht-
Titan with Cassandra
In this section we will discuss the Titan implementation using Cassandra as a storage
option. This section will discuss how to use the Titan Java API with Cassandra and per-
form use cases such as reading and writing to graphs.
Titan Java API
Titan is an implementation of the Blueprints graph interface. Titan provides Java- and
Groovy-based implementations to access Titan.
The Titan Java API setup is fairly easy. For backend storage it relies on other data-
bases, so to start using Titan we just need to add