Expand Your Cassandra’s Appeal With APIs Developers Love
DataStax Enterprise and Apache Cassandra™ work with , an open source data API layer that sits between your application and the database.
Every database you create automatically has gRPC, GraphQL, REST and Document (schemaless JSON) endpoints, alongside native driver (CQL) coordinators.
Now your developers can get productive right away with familiar APIs.
Benefits of Data APIs
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.
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.
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. Great when you don’t have a supported gRPC client or driver for your language or language version.
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. JSON schema is also supported to improve testability, data validation and API documentation.