All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jnosql.databases.cassandra.communication.QuarkusCassandraConfiguration Maven / Gradle / Ivy

Go to download

Quarkus JNoSQL Column Cassandra Runtime provides runtime support for integrating Cassandra column-oriented databases with Quarkus applications. This extension offers seamless integration, simplifying data modeling and interaction tasks specific to Cassandra databases, enhancing developer productivity.

The newest version!
package org.eclipse.jnosql.databases.cassandra.communication;

import jakarta.inject.Inject;
import jakarta.inject.Singleton;

import org.eclipse.jnosql.communication.Settings;
import org.eclipse.jnosql.communication.semistructured.DatabaseConfiguration;
import org.eclipse.jnosql.communication.semistructured.DatabaseManagerFactory;

import com.datastax.oss.quarkus.runtime.api.session.QuarkusCqlSession;

@Singleton
public class QuarkusCassandraConfiguration implements DatabaseConfiguration {

    @Inject
    protected QuarkusCqlSession quarkusCqlSession;

    @Override
    public DatabaseManagerFactory apply(Settings settings) throws NullPointerException {
        return new QuarkusCassandraColumnManagerFactory(
                quarkusCqlSession);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy