org.ektorp.impl
Class StdCouchDbInstance
java.lang.Object
org.ektorp.impl.StdCouchDbInstance
- All Implemented Interfaces:
- CouchDbInstance
public class StdCouchDbInstance
- extends java.lang.Object
- implements CouchDbInstance
- Author:
- henrik lundgren
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdCouchDbInstance
public StdCouchDbInstance(HttpClient client)
StdCouchDbInstance
public StdCouchDbInstance(HttpClient client,
org.codehaus.jackson.JsonFactory jf)
createDatabase
public void createDatabase(java.lang.String path)
- Specified by:
createDatabase in interface CouchDbInstance
createDatabase
public void createDatabase(DbPath db)
- Specified by:
createDatabase in interface CouchDbInstance
deleteDatabase
public void deleteDatabase(java.lang.String path)
- Specified by:
deleteDatabase in interface CouchDbInstance
getAllDatabases
public java.util.List<java.lang.String> getAllDatabases()
- Specified by:
getAllDatabases in interface CouchDbInstance
- Returns:
- the names of all databases residing in this instance.
getConnection
public HttpClient getConnection()
- Specified by:
getConnection in interface CouchDbInstance
Copyright © 2010. All Rights Reserved.