Expand Your Cassandra’s Appeal With APIs Developers Love
DataStax Enterprise and Apache Cassandra™ work with Stargate, an open source data API layer that sits between your application and the database. Every database you create can now have GraphQL, REST and Document (schemaless JSON) endpoints. Now your developers can get productive right away with APIs they already know and love.
Benefits of Data API
Isolate data from application layer
Protect applications from data model changes and vice versa
Empower your developers
Reduce the steep learning curve to getting productive with Cassandra
Reduce data silos and operate multiple data models from the same database.
Fast becoming the world’s most popular API, GraphQL allows users to query multiple tables in one call and retrieve only the data needed. It reduces ‘overfetching’ and ‘underfetching’ common with other APIs such as REST. The GraphQL API enables fine-grained manipulation of JSON data by enabling direct interaction with specific key value pairs within the document.
Your developers can work with data in more of a natural language idiom, while eliminating unnecessary data transfer of data not being manipulated. And because GraphQL can query not just multiple databases but multiple data stores, GraphQL opens up the possibility of federating data from multiple sources.
The standard bearer for APIs because it’s mature and universally known, most developers already know the RESTful commands to interact with Apache Cassandra or DataStax Enterprise. They can use familiar verbs; GET, PUT, POST and DELETE to create a new table, schema, index, add and retrieve data or work with an existing table.
The schemaless Document API is the fastest and easiest way to get started with manipulating JSON documents in Apache Cassandra or DataStax Enterprise. If the database doesn’t exist, this API will create the database. If the schema doesn’t exist, no worries, it will create the schema on-the-fly.