public class CouchDB extends BaseConnector<CouchDB>
| Modifier and Type | Class and Description |
|---|---|
static class |
CouchDB.CouchDBFormat |
params, PREFIX, required| Constructor and Description |
|---|
CouchDB() |
| Modifier and Type | Method and Description |
|---|---|
CouchDB |
auth(String username,
String password)
Sets the authentication information that should be used for the connector
|
CouchDB |
dbName(String name) |
CouchDB |
format(CouchDB.CouchDBFormat format)
The output format for your data:
basic_interaction_meta - The current default format, where each payload contains only basic interaction JSON
document.
|
CouchDB |
host(String host) |
CouchDB |
password(String password) |
CouchDB |
port(int host) |
CouchDB |
url(String host,
int port)
Simple calls
host(String).port(int) for convenience |
CouchDB |
username(String username) |
CouchDB |
useSSL(String yesOrNo)
Whether SSL should be used when connecting to the database.
|
CouchDB |
verifySSL(String yesOrNo)
If you are using SSL to connect, this specifies whether the certificate should be verified.
|
exists, fromMap, parameters, putAll, setParam, setup, typepublic CouchDB url(String host, int port)
host(String).port(int) for conveniencehost - the host of the serverport - the port on which the connection will be attemptedpublic CouchDB host(String host)
host - The host name of your CouchDB installation.public CouchDB port(int host)
host - You can specify a port or accept the default.public CouchDB dbName(String name)
name - The name of an existing database.public CouchDB auth(String username, String password)
username - the usernamepassword - the passwordpublic CouchDB username(String username)
username - he username for authorization.public CouchDB password(String password)
password - The password for authorization.public CouchDB useSSL(String yesOrNo)
public CouchDB verifySSL(String yesOrNo)
public CouchDB format(CouchDB.CouchDBFormat format)
Copyright © 2015. All Rights Reserved.