A B C D E F G H I K L N O P R S T U V

A

accumulate(String, boolean) - Method in class com.fourspaces.couchdb.Document
 
accumulate(String, double) - Method in class com.fourspaces.couchdb.Document
 
accumulate(String, int) - Method in class com.fourspaces.couchdb.Document
 
accumulate(String, long) - Method in class com.fourspaces.couchdb.Document
 
accumulate(String, Object) - Method in class com.fourspaces.couchdb.Document
 
accumulateAll(Map) - Method in class com.fourspaces.couchdb.Document
 
addView(String, String, String) - Method in class com.fourspaces.couchdb.Document
Add a view to this document.
adhoc(String) - Method in class com.fourspaces.couchdb.Database
Runs an ad-hoc view from a string
adhoc(AdHocView) - Method in class com.fourspaces.couchdb.Database
Runs an ad-hoc view from an AdHocView object.
AdHocView - Class in com.fourspaces.couchdb
Creates an AdHoc view...
AdHocView(String) - Constructor for class com.fourspaces.couchdb.AdHocView
 

B

buildUrl(String) - Method in class com.fourspaces.couchdb.Session
For a given url (such as /_all_dbs/), build the database connection url
buildUrl(String, String) - Method in class com.fourspaces.couchdb.Session
 
buildUrl(String, NameValuePair[]) - Method in class com.fourspaces.couchdb.Session
 
bulkSaveDocuments(Document[]) - Method in class com.fourspaces.couchdb.Database
 

C

clear() - Method in class com.fourspaces.couchdb.Document
 
com.fourspaces.couchdb - package com.fourspaces.couchdb
 
containsKey(Object) - Method in class com.fourspaces.couchdb.Document
 
containsValue(Object) - Method in class com.fourspaces.couchdb.Document
 
CouchResponse - Class in com.fourspaces.couchdb
The CouchResponse parses the HTTP response returned by the CouchDB server.
count - Variable in class com.fourspaces.couchdb.View
 
createDatabase(String) - Method in class com.fourspaces.couchdb.Session
Creates a new database (if the name doesn't already exist)

D

Database - Class in com.fourspaces.couchdb
This represents a particular database on the CouchDB server
database - Variable in class com.fourspaces.couchdb.Document
 
deleteDatabase(String) - Method in class com.fourspaces.couchdb.Session
Deletes a database (by name) from the CouchDB server.
deleteDatabase(Database) - Method in class com.fourspaces.couchdb.Session
Deletes a database from the CouchDB server
deleteDocument(Document) - Method in class com.fourspaces.couchdb.Database
Deletes a document
deleteView(String) - Method in class com.fourspaces.couchdb.Document
Removes a view from this document.
Document - Class in com.fourspaces.couchdb
Everything in CouchDB is a Document.
Document() - Constructor for class com.fourspaces.couchdb.Document
Create a new Document
Document(JSONObject) - Constructor for class com.fourspaces.couchdb.Document
Create a new Document from a JSONObject
document - Variable in class com.fourspaces.couchdb.View
 

E

element(String, boolean) - Method in class com.fourspaces.couchdb.Document
 
element(String, Collection) - Method in class com.fourspaces.couchdb.Document
 
element(String, double) - Method in class com.fourspaces.couchdb.Document
 
element(String, int) - Method in class com.fourspaces.couchdb.Document
 
element(String, long) - Method in class com.fourspaces.couchdb.Document
 
element(String, Map) - Method in class com.fourspaces.couchdb.Document
 
element(String, Object) - Method in class com.fourspaces.couchdb.Document
 
elementOpt(String, Object) - Method in class com.fourspaces.couchdb.Document
 
encodeParameter(String) - Method in class com.fourspaces.couchdb.Session
 
endKey - Variable in class com.fourspaces.couchdb.View
 
entrySet() - Method in class com.fourspaces.couchdb.Document
 

F

function - Variable in class com.fourspaces.couchdb.View
 

G

get(Object) - Method in class com.fourspaces.couchdb.Document
 
get(String) - Method in class com.fourspaces.couchdb.Document
 
getAllDocuments() - Method in class com.fourspaces.couchdb.Database
Runs the standard "_all_docs" view on this database
getAllDocuments(int) - Method in class com.fourspaces.couchdb.Database
Runs "_all_docs_by_update_seq?startkey=revision" view on this database
getAllDocumentsWithCount(int) - Method in class com.fourspaces.couchdb.Database
Runs the standard "_all_docs" view on this database, with count
getBodyAsJSON() - Method in class com.fourspaces.couchdb.CouchResponse
Returns the body of the response as a JSON Object (such as for a document)
getBodyAsJSONArray() - Method in class com.fourspaces.couchdb.CouchResponse
Retrieves the body of the request as a JSONArray object.
getBoolean(String) - Method in class com.fourspaces.couchdb.Document
 
getDatabase(String) - Method in class com.fourspaces.couchdb.Session
Loads a database instance from the server
getDatabaseNames() - Method in class com.fourspaces.couchdb.Session
Retrieves a list of all database names from the server
getDocument(String) - Method in class com.fourspaces.couchdb.Database
Retrieves a document from the CouchDB database
getDocument(String, String) - Method in class com.fourspaces.couchdb.Database
Retrieves a specific document revision
getDocument(String, String, boolean) - Method in class com.fourspaces.couchdb.Database
Retrieves a specific document revision and (optionally) asks for a list of all revisions
getDocumentCount() - Method in class com.fourspaces.couchdb.Database
The number of documents in the database at the time that it was retrieved from the session This number probably isn't accurate after the initial load...
getDocumentWithRevisions(String) - Method in class com.fourspaces.couchdb.Database
Retrieves a document from the database and asks for a list of it's revisions.
getDouble(String) - Method in class com.fourspaces.couchdb.Document
 
getErrorId() - Method in class com.fourspaces.couchdb.CouchResponse
What was the error id?
getErrorReason() - Method in class com.fourspaces.couchdb.CouchResponse
what was the error reason given?
getFullName() - Method in class com.fourspaces.couchdb.View
the full name for this view (w/ doc id, if avail) in the form of : "docid:name" or "name"
getFunction() - Method in class com.fourspaces.couchdb.View
The function definition for this view, if it is available.
getHeader(String) - Method in class com.fourspaces.couchdb.CouchResponse
Retrieves a specific header from the response (not really used anymore)
getHost() - Method in class com.fourspaces.couchdb.Session
Read-only
getId() - Method in class com.fourspaces.couchdb.Document
This document's id (if saved)
getInt(String) - Method in class com.fourspaces.couchdb.Document
 
getJSONArray(String) - Method in class com.fourspaces.couchdb.Document
 
getJSONObject() - Method in class com.fourspaces.couchdb.Document
Retrieves the backing JSONObject
getJSONObject(String) - Method in class com.fourspaces.couchdb.Document
 
getLastResponse() - Method in class com.fourspaces.couchdb.Session
Returns the last response for this given session - useful for debugging purposes
getLong(String) - Method in class com.fourspaces.couchdb.Document
 
getName() - Method in class com.fourspaces.couchdb.Database
The name of the database
getName() - Method in class com.fourspaces.couchdb.View
The name for this view (w/o doc id)
getPort() - Method in class com.fourspaces.couchdb.Session
read-only
getQueryString() - Method in class com.fourspaces.couchdb.View
Based upon settings, builds the queryString to add to the URL for this view.
getResults() - Method in class com.fourspaces.couchdb.ViewResults
Retrieves a list of documents that matched this View.
getRev() - Method in class com.fourspaces.couchdb.Document
This document's Revision (if saved)
getRevisions() - Method in class com.fourspaces.couchdb.Document
A list of the revision numbers that this document has.
getString(String) - Method in class com.fourspaces.couchdb.Document
 
getUpdateSeq() - Method in class com.fourspaces.couchdb.Database
The update seq from the initial database load.
getView(String) - Method in class com.fourspaces.couchdb.Document
Get a named view that is stored in the document.
getView() - Method in class com.fourspaces.couchdb.ViewResults
The new that created this results list.
getViewDocumentId() - Method in class com.fourspaces.couchdb.Document
This strips _design from the document id

H

has(String) - Method in class com.fourspaces.couchdb.Document
 
host - Variable in class com.fourspaces.couchdb.Session
 
http(HttpRequestBase) - Method in class com.fourspaces.couchdb.Session
Method that actually performs the GET/PUT/POST/DELETE calls.
httpClient - Variable in class com.fourspaces.couchdb.Session
 

I

isEmpty() - Method in class com.fourspaces.couchdb.Document
 
isOk() - Method in class com.fourspaces.couchdb.CouchResponse
Was the request successful?
isSecure() - Method in class com.fourspaces.couchdb.Session
Is this a secured connection (set in constructor)

K

keys() - Method in class com.fourspaces.couchdb.Document
 
keySet() - Method in class com.fourspaces.couchdb.Document
 

L

lastResponse - Variable in class com.fourspaces.couchdb.Session
 
load(JSONObject) - Method in class com.fourspaces.couchdb.Document
Load data into this document from a differing JSONObject
log - Variable in class com.fourspaces.couchdb.Session
 

N

name - Variable in class com.fourspaces.couchdb.View
 
names() - Method in class com.fourspaces.couchdb.Document
 

O

object - Variable in class com.fourspaces.couchdb.Document
 
opt(String) - Method in class com.fourspaces.couchdb.Document
 
optBoolean(String, boolean) - Method in class com.fourspaces.couchdb.Document
 
optBoolean(String) - Method in class com.fourspaces.couchdb.Document
 
optDouble(String, double) - Method in class com.fourspaces.couchdb.Document
 
optDouble(String) - Method in class com.fourspaces.couchdb.Document
 
optInt(String, int) - Method in class com.fourspaces.couchdb.Document
 
optInt(String) - Method in class com.fourspaces.couchdb.Document
 
optJSONArray(String) - Method in class com.fourspaces.couchdb.Document
 
optJSONObject(String) - Method in class com.fourspaces.couchdb.Document
 
optLong(String, long) - Method in class com.fourspaces.couchdb.Document
 
optLong(String) - Method in class com.fourspaces.couchdb.Document
 
optString(String, String) - Method in class com.fourspaces.couchdb.Document
 
optString(String) - Method in class com.fourspaces.couchdb.Document
 

P

pass - Variable in class com.fourspaces.couchdb.Session
 
populateRevisions() - Method in class com.fourspaces.couchdb.Document
 
port - Variable in class com.fourspaces.couchdb.Session
 
put(Object, Object) - Method in class com.fourspaces.couchdb.Document
 
putAll(Map) - Method in class com.fourspaces.couchdb.Document
 

R

refresh() - Method in class com.fourspaces.couchdb.Document
Loads data from the server for this document.
remove(Object) - Method in class com.fourspaces.couchdb.Document
 
remove(String) - Method in class com.fourspaces.couchdb.Document
 
reverse - Variable in class com.fourspaces.couchdb.View
 

S

saveDocument(Document, String) - Method in class com.fourspaces.couchdb.Database
Save a document at the given _id
saveDocument(Document) - Method in class com.fourspaces.couchdb.Database
Save a document w/o specifying an id (can be null)
secure - Variable in class com.fourspaces.couchdb.Session
 
Session - Class in com.fourspaces.couchdb
The Session is the main connection to the CouchDB instance.
Session(String, int, String, String, boolean, boolean) - Constructor for class com.fourspaces.couchdb.Session
Constructor for obtaining a Session with an HTTP-AUTH username/password and (optionally) a secure connection This isn't supported by CouchDB - you need a proxy in front to use this
Session(String, int, String, String) - Constructor for class com.fourspaces.couchdb.Session
Constructor for obtaining a Session with an HTTP-AUTH username/password This isn't supported by CouchDB - you need a proxy in front to use this
Session(String, int) - Constructor for class com.fourspaces.couchdb.Session
Main constructor for obtaining a Session.
Session(String, int, boolean) - Constructor for class com.fourspaces.couchdb.Session
Optional constructor that indicates an HTTPS connection should be used.
setConnectionTimeout(int) - Method in class com.fourspaces.couchdb.Session
 
setCount(Integer) - Method in class com.fourspaces.couchdb.View
The number of entries to return
setEndKey(String) - Method in class com.fourspaces.couchdb.View
Stop listing at this key
setId(String) - Method in class com.fourspaces.couchdb.Document
 
setRev(String) - Method in class com.fourspaces.couchdb.Document
 
setReverse(Boolean) - Method in class com.fourspaces.couchdb.View
Reverse the listing
setSkip(String) - Method in class com.fourspaces.couchdb.View
Skip listing these keys (not sure if this works, or the format)
setSocketTimeout(int) - Method in class com.fourspaces.couchdb.Session
 
setStartKey(String) - Method in class com.fourspaces.couchdb.View
Start listing at this key
setUpdate(Boolean) - Method in class com.fourspaces.couchdb.View
Not sure...
setUserAgent(String) - Method in class com.fourspaces.couchdb.Session
 
size() - Method in class com.fourspaces.couchdb.Document
 
skip - Variable in class com.fourspaces.couchdb.View
 
startKey - Variable in class com.fourspaces.couchdb.View
 

T

toString() - Method in class com.fourspaces.couchdb.CouchResponse
 
toString() - Method in class com.fourspaces.couchdb.Document
 

U

update - Variable in class com.fourspaces.couchdb.View
 
user - Variable in class com.fourspaces.couchdb.Session
 
usesAuth - Variable in class com.fourspaces.couchdb.Session
 

V

values() - Method in class com.fourspaces.couchdb.Document
 
view(View) - Method in class com.fourspaces.couchdb.Database
Runs a named view on the database This will run a view and apply any filtering that is requested (reverse, startkey, etc).
view(String) - Method in class com.fourspaces.couchdb.Database
Runs a named view Not currently working in CouchDB code
View - Class in com.fourspaces.couchdb
The View is the mechanism for performing Querys on a CouchDB instance.
View(Document, String) - Constructor for class com.fourspaces.couchdb.View
Build a view given a document and a name
View(String) - Constructor for class com.fourspaces.couchdb.View
Build a view given only a fullname ex: ("_add_docs", "_temp_view")
ViewResults - Class in com.fourspaces.couchdb
The results of a view request is just a specialized Document object.

A B C D E F G H I K L N O P R S T U V

Copyright © 2012. All Rights Reserved.