Skip to content

The Quarkus JNoSql Extension adds support for JNoSQL, an implementation of Jakarta NoSQL.

License

Notifications You must be signed in to change notification settings

soujava/quarkus-jnosql

 
 

Repository files navigation

Quarkus JNoSQL

All Contributors

Version

The Quarkus JNoSql Extension adds support for JNoSQL, an implementation of Jakarta NoSQL.

ℹ️ Recommended Quarkus version: 3.2.2.Final or higher

Usage

import jakarta.nosql.Column;
import jakarta.nosql.Entity;
import jakarta.nosql.Id;

@Entity
public class TestEntity {
    
    @Id
    private String id;
    
    @Column
    private String testField;
}

KeyValue

Configuration

The JNoSql KeyValue Quarkus extension supports the following configuration:

Name Type Default
jnosql.keyvalue.database
The database's name.
string

Usage

@Inject
private KeyValueTemplate template;

public void insert(TestEntity entity) {
    template.insert(entity);
}

ArangoDB

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-keyvalue-arangodb</artifactId>
</dependency>

Please refer to the AranboDB JNoSQL driver for specific configuration.

DynamoDB

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-keyvalue-dynamodb</artifactId>
</dependency>

Please refer to the DynamoDB Quarkiverse extension for specific configuration.

Hazelcast

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-keyvalue-hazelcast</artifactId>
</dependency>

Please refer to the Quarkus Hazelcast extension for specific configuration.

Redis

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-keyvalue-redis</artifactId>
</dependency>

Please refer to the Redis Quarkus extension for specific configuration.

Document

Configuration

The JNoSql Document Quarkus extension supports the following configuration:

Name Type Default
jnosql.document.database
The database's name.
string

Usage

@Inject
private DocumentTemplate template;

public void insert(TestDocumentEntity entity) {
    template.insert(entity);
}

ArangoDB

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-document-arangodb</artifactId>
</dependency>

Please refer to the AranboDB JNoSQL driver for specific configuration.

CouchDB

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-document-couchdb</artifactId>
</dependency>

Please refer to the CouchDB JNoSQL driver for specific configuration.

Elasticsearch

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-document-elasticsearch</artifactId>
</dependency>

Please refer to the Elasticsearch Quarkus extension for specific configuration.

MongoDB

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-document-mongodb</artifactId>
</dependency>

Please refer to the MongoDB Quarkus extension for specific configuration.

Solr

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-document-solr</artifactId>
</dependency>

Please refer to the Solr JNoSQL driver for specific configuration.

Column

Configuration

The JNoSql Column Quarkus extension supports the following configuration:

Name Type Default
jnosql.column.database
The database's name.
string

Cassandra

Add the dependency to the target project:

<dependency>
    <groupId>io.quarkiverse.jnosql</groupId>
    <artifactId>quarkus-jnosql-column-cassandra</artifactId>
</dependency>

Please refer to the Cassandra Quarkus extension for specific configuration.

Contributors ✨____

Thanks goes to these wonderful people (emoji key):

amoscatelli
amoscatelli

💻 🚧
dearrudam
dearrudam

💻 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

About

The Quarkus JNoSql Extension adds support for JNoSQL, an implementation of Jakarta NoSQL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%