public class CouchDbClientAndroid extends CouchDbClientBase
CouchDbClient
Constructor and Description |
---|
CouchDbClientAndroid()
Constructs a new client instance.
|
CouchDbClientAndroid(CouchDbProperties properties)
Constructs a new client instance.
|
CouchDbClientAndroid(java.lang.String configFileName)
Constructs a new client instance.
|
CouchDbClientAndroid(java.lang.String dbName,
boolean createDbIfNotExist,
java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String username,
java.lang.String password)
Constructs a new client instance.
|
Modifier and Type | Method and Description |
---|---|
void |
shutdown()
Shuts down the connection manager used by this client instance.
|
batch, bulk, changes, contains, context, design, executeRequest, find, find, find, find, find, findAny, findDocs, getBaseUri, getDBUri, getGson, invokeUpdateHandler, post, remove, remove, replication, replicator, save, saveAttachment, saveAttachment, setGsonBuilder, syncDesignDocsWithDb, update, view
public CouchDbClientAndroid()
public CouchDbClientAndroid(java.lang.String configFileName)
configFileName
- The configuration filepublic CouchDbClientAndroid(java.lang.String dbName, boolean createDbIfNotExist, java.lang.String protocol, java.lang.String host, int port, java.lang.String username, java.lang.String password)
dbName
- The database name.createDbIfNotExist
- To create a new database if it does not already exist.protocol
- The protocol to use (i.e http or https)host
- The database host addressport
- The database listening portusername
- The Username credentialpassword
- The Password credentialpublic CouchDbClientAndroid(CouchDbProperties properties)
properties
- An object containing configuration properties.public void shutdown()
CouchDbClientBase
Copyright © 2011-2017. All Rights Reserved.