-
Notifications
You must be signed in to change notification settings - Fork 233
Kundera with RethinkDB
Devender Yadav edited this page Oct 10, 2017
·
4 revisions
This is an experimental feature. We encourage the community to contribute to the development and testing of it.
RethinkDB is the first open-source, scalable JSON database built from the ground up for the realtime web. It inverts the traditional database architecture by exposing an exciting new access model – instead of polling for changes, the developer can tell RethinkDB to continuously push updated query results to applications in realtime. RethinkDB’s realtime push architecture dramatically reduces the time and effort necessary to build scalable realtime apps.
Being a JPA provider, Kundera provides support for RethinkDB. Kundera maps JPA Entity with RethinkDB Table.
To use it, the user needs to add the following dependency in pom.xml:
<dependency>
<groupId>com.impetus.kundera.client</groupId>
<artifactId>kundera-rethinkdb</artifactId>
<version>${kundera.version}</version>
</dependency>
<persistence-unit name="rethinkdb_pu">
<provider>com.impetus.kundera.KunderaPersistence</provider>
<properties>
<property name="kundera.nodes" value="localhost" />
<property name="kundera.port" value="28015" />
<property name="kundera.keyspace" value="testdb" />
<property name="kundera.client" value="rethink" />
<property name="kundera.ddl.auto.prepare" value="create" />
<property name="kundera.client.lookup.class" value="com.impetus.client.rethink.RethinkDBClientFactory" />
</properties>
</persistence-unit>
-
CRUD
- User can Create, Read, Update and Delete data in RethinkDB Table using Kundera. Refer test-case.
-
Basic Select Queries
- User can perform basic SELECT queries with
WHERE
clause. Refer test-case.
- User can perform basic SELECT queries with
-
Schema Generation
- User can automatically generate schema by using
kundera.ddl.auto.prepare
property in Persistence Unit. Check Schema Generation for more details.
- User can automatically generate schema by using
- CRUD on simple entities (without embeddables, relationships and inheritance) is possible.
- Only queries with
WHERE
clause (withoutAND
/OR
operators) are allowed.
-
Datastores Supported
- Releases
-
Architecture
-
Concepts
-
Getting Started in 5 minutes
-
Features
- Object Mapper
- Polyglot Persistence
- Queries Support
- JPQL (JPA Query Language)
- Native Queries
- Batch insert update
- Schema Generation
- Primary Key Auto generation
- Transaction Management
- REST Based Access
- Geospatial Persistence and Queries
- Graph Database Support
-
Composite Keys
-
No hard annotation for schema
-
Support for Mapped superclass
-
Object to NoSQL Data Mapping
-
Cassandra's User Defined Types and Indexes on Collections
-
Support for aggregation
- Scalar Queries over Cassandra
- Connection pooling using Kundera Cassandra
- Configuration
-
Kundera with Couchdb
-
Kundera with Elasticsearch
-
Kundera with HBase
-
Kundera with Kudu
-
Kundera with RethinkDB
-
Kundera with MongoDB
-
Kundera with OracleNoSQL
-
Kundera with Redis
-
Kundera with Spark
-
Extend Kundera
- Sample Codes and Examples
-
Blogs and Articles
-
Tutorials
* Kundera with Openshift
* Kundera with Play Framework
* Kundera with GWT
* Kundera with JBoss
* Kundera with Spring
-
Performance
-
Troubleshooting
-
FAQ
- Production deployments
- Feedback