GithubHelp home page GithubHelp logo

couchbase-java-client's Introduction

Couchbase Java Client Library

This is the official Java Client Library for Couchbase Server.

Install

The library may be installed either through Apache Maven or through standalone Jar files (download the JAR from the main website ).

If you are using Apache Maven, add the following repository and depencendy in to your pom.xml file.

<repositories>
	<repository>
  		<id>couchbase</id>
  		<name>Couchbase Maven Repository</name>
  		<layout>default</layout>
  		<url>http://files.couchbase.com/maven2/</url>
  		<snapshots>
    		<enabled>false</enabled>
  		</snapshots>
	</repository>
</repositories>

<dependencies>
	<dependency>
		<groupId>couchbase</groupId>
		<artifactId>couchbase-client</artifactId>
		<version>1.1.7</version>
		<type>jar</type>
	</dependency>
</dependencies>

See the main website for details.

Using

A simple creation of a client may be done like so:

List<URI> baseList = Arrays.asList(
  URI.create("http://192.168.0.1:8091/pools"),
  URI.create("http://192.168.0.2:8091/pools"));

CouchbaseClient client = new CouchbaseClient(baseList, "default", "");

OperationFuture<Boolean> setOp = client.set("key", "{\"name\":\"Couchbase\"}");

client.shutdown(3, TimeUnit.SECONDS);

See the documentation on the site for more usage details, including a getting started guide and a tutorial.

Getting Help

For help with the Couchbase Java Client Library see the Couchbase SDK Forums. Also you are always welcome on #libcouchbase channel at freenode.net IRC servers.

If you found an issue, please file it in our JIRA.

Documentation: http://www.couchbase.com/docs/

Contributing

Contributions are welcome, see the contributor guide.

couchbase-java-client's People

Contributors

avsej avatar daschl avatar deeptida avatar ingenthr avatar ragsns avatar tgrall avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.