
org.hibernate.ogm.datastore.cassandra.Cassandra Maven / Gradle / Ivy
The newest version!
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.ogm.datastore.cassandra;
import org.hibernate.ogm.cfg.OgmProperties;
import org.hibernate.ogm.datastore.spi.DatastoreConfiguration;
import org.hibernate.ogm.options.navigation.GlobalContext;
import org.hibernate.ogm.options.navigation.spi.ConfigurationContext;
import org.hibernate.ogm.options.navigation.spi.GenericOptionModel;
/**
* Allows to configure options specific to the Cassandra column family data store.
*
* @author Gunnar Morling
*/
public class Cassandra implements DatastoreConfiguration> {
/**
* Short name of this data store provider.
*
* @see OgmProperties#DATASTORE_PROVIDER
*/
public static final String DATASTORE_PROVIDER_NAME = "CASSANDRA_EXPERIMENTAL";
@Override
public GlobalContext, ?> getConfigurationBuilder(ConfigurationContext context) {
return GenericOptionModel.createGlobalContext( context );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy