Get your copy of the O’Reilly Cassandra eBook: The Definitive Guide - Download FREE Today
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 automatically has GraphQL, REST, Document (schemaless JSON) and gRPC 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 Complexity
Reduce data silos and operate multiple data models from the same database.
GraphQL
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.
REST
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.
Document
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.
gRPC
Combining driver-level performance with a cloud native approach, Stargate’s gRPC clients offer new options for your microservices or applications when interacting with Cassandra and DataStax Enterprise. Creating drivers is complex and maintaining them is burdensome because they must be patched and versioned. Now you can get out of the business of creating, maintaining or using unsupported drivers with our clients for Go, Node.js, Rust and Java. And you can keep up with the rapid development of new front end technologies by easily creating clients on your own without the complexity of driver development.