Package org.eclipse.jgit.storage.cassandra

Examples of org.eclipse.jgit.storage.cassandra.CassandraRepositoryBuilder.build()


    CassandraRepositoryBuilder builder = new CassandraRepositoryBuilder() //
        .setURI(uri) //
        .setDatabase(db) //
        .setMustExist(false);

    DhtRepository repository = builder.build();
    repository.create(true);

    System.out.println("Created " + repository.getRepositoryKey().asString() + ":");
    System.out.println("  cluster:    " + builder.getClusterName());
    System.out.println("  keyspace:   " + builder.getKeyspaceName());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.