Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W _ 

A

AbstractTreeNode<T> - Class in com.cloudant.sync.util
Internal utility class
AbstractTreeNode(T) - Constructor for class com.cloudant.sync.util.AbstractTreeNode
 
add(BasicDocumentRevision) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Adds a new BasicDocumentRevision to the document.
addAttachment(Attachment, long) - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
Add an attachment to be streamed as a subsequent MIME body.
addChild(AbstractTreeNode<T>) - Method in class com.cloudant.sync.util.AbstractTreeNode
 
addReplicators(Replicator...) - Method in class com.cloudant.sync.replication.ReplicationPolicyManager
 
addRequestInterceptors(HttpConnectionRequestInterceptor...) - Method in class com.cloudant.sync.replication.ReplicatorBuilder
addRequestInterceptors(List<HttpConnectionRequestInterceptor>) - Method in class com.cloudant.sync.replication.ReplicatorBuilder
Adds interceptors to the list of request interceptors to use for each request made by this replication.
addResponseInterceptors(HttpConnectionResponseInterceptor...) - Method in class com.cloudant.sync.replication.ReplicatorBuilder
addResponseInterceptors(List<HttpConnectionResponseInterceptor>) - Method in class com.cloudant.sync.replication.ReplicatorBuilder
Adds interceptors to the list of response interceptors to use for each response received by this replication.
allReplicationsCompleted() - Method in interface com.cloudant.sync.replication.ReplicationPolicyManager.ReplicationsCompletedListener
 
ANDROID_RUNTIME - Static variable in class com.cloudant.sync.util.Misc
 
asBytes() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
Returns the JSON body of the document revision as a byte array.
asBytes() - Method in interface com.cloudant.sync.datastore.DocumentBody
Returns copy of the data as a byte array.
asMap() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
Returns the JSON body of the document revision as a Map object.
asMap() - Method in interface com.cloudant.sync.datastore.DocumentBody
Returns a shallow copy of the underlying data as a map.
Attachment - Class in com.cloudant.sync.datastore
Base class for Attachments
Attachment(String, String, Attachment.Encoding) - Constructor for class com.cloudant.sync.datastore.Attachment
 
attachment - Variable in class com.cloudant.sync.datastore.PreparedAttachment
 
Attachment.Encoding - Enum in com.cloudant.sync.datastore
 
ATTACHMENT_DISK_VERSION - Static variable in class com.cloudant.sync.datastore.encryption.EncryptionConstants
 
AttachmentException - Exception in com.cloudant.sync.datastore
Created by Rhys Short on 05/02/15.
AttachmentException() - Constructor for exception com.cloudant.sync.datastore.AttachmentException
 
AttachmentException(String) - Constructor for exception com.cloudant.sync.datastore.AttachmentException
 
AttachmentException(Exception) - Constructor for exception com.cloudant.sync.datastore.AttachmentException
 
AttachmentException(String, Exception) - Constructor for exception com.cloudant.sync.datastore.AttachmentException
 
AttachmentNotSavedException - Exception in com.cloudant.sync.datastore
Created by Rhys Short on 05/02/15.
AttachmentNotSavedException() - Constructor for exception com.cloudant.sync.datastore.AttachmentNotSavedException
 
AttachmentNotSavedException(String) - Constructor for exception com.cloudant.sync.datastore.AttachmentNotSavedException
 
AttachmentNotSavedException(Exception) - Constructor for exception com.cloudant.sync.datastore.AttachmentNotSavedException
 
AttachmentNotSavedException(String, Exception) - Constructor for exception com.cloudant.sync.datastore.AttachmentNotSavedException
 
attachments - Variable in class com.cloudant.sync.datastore.ForceInsertItem
 
attachments - Variable in class com.cloudant.sync.datastore.MutableDocumentRevision
 
attachmentsForRevision(BasicDocumentRevision) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Returns all attachments for the revision.
attachmentUri(String, String) - Method in class com.cloudant.mazha.CouchURIHelper
Returns URI for Attachment having attachmentId for documentId.
attachmentUri(String, Map<String, Object>, String) - Method in class com.cloudant.mazha.CouchURIHelper
Returns URI for Attachment having attachmentId for documentId with query.
atts_since - Variable in class com.cloudant.mazha.BulkGetRequest
 
available - Variable in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
available() - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentInputStream
 

B

Base64InputStreamFactory - Class in com.cloudant.android
Created by tomblench on 07/07/2014.
Base64InputStreamFactory() - Constructor for class com.cloudant.android.Base64InputStreamFactory
 
Base64OutputStreamFactory - Class in com.cloudant.android
Created by tomblench on 07/07/2014.
Base64OutputStreamFactory() - Constructor for class com.cloudant.android.Base64OutputStreamFactory
 
BasicDocumentRevision - Class in com.cloudant.sync.datastore
Revision of a document.
batchesReplicated - Variable in class com.cloudant.sync.notifications.ReplicationCompleted
The total number of batches replicated by the ReplicationCompleted.replicator
batchLimitPerRun(int) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Pull
Sets the number of batches to pull in one replication run
batchLimitPerRun(int) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Push
Sets the number of batches to push in one replication run
beginTransaction() - Method in class com.cloudant.sync.sqlite.SQLDatabase
Begins a transaction in EXCLUSIVE mode.
beginTransaction() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
bindArguments(SQLiteStatement, Object[]) - Static method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapperUtils
 
body - Variable in class com.cloudant.sync.datastore.LocalDocument
The body of the local document
body - Variable in class com.cloudant.sync.datastore.MutableDocumentRevision
 
build() - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Builds and returns the BasicDocumentRevision for this builder.
build() - Method in class com.cloudant.sync.replication.ReplicatorBuilder
Builds a replicator based on the configuration set.
build() - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Pull
 
build() - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Push
 
buildBindArguments(ContentValues, String[]) - Static method in class com.cloudant.sync.sqlite.sqlite4java.QueryBuilder
 
buildLocalDocument() - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Builds and returns the DocumentRevision for this builder, as a local document.
buildMutable() - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Builds and returns the MutableDocumentRevision for this builder.
buildProjected() - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Builds and returns the ProjectedDocumentRevision for this builder.
buildRevisionFromMap(URI, Map<String, ? extends Object>) - Static method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Builds a BasicDocumentRevision from a Map of values from a CouchDB instance
buildSelectCountQuery(String, String) - Static method in class com.cloudant.sync.sqlite.sqlite4java.QueryBuilder
 
buildSelectQuery(String, String[], String, String, String, String, String) - Static method in class com.cloudant.sync.sqlite.sqlite4java.QueryBuilder
 
buildSQLiteCursor(SQLiteConnection, String, Object[]) - Static method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapperUtils
 
buildStub() - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Builds and returns the stub DocumentRevision for this builder.
buildUpdateQuery(String, ContentValues, String, String[]) - Static method in class com.cloudant.sync.sqlite.sqlite4java.QueryBuilder
 
bulkCreateDocs(Object...) - Method in class com.cloudant.mazha.CouchClient
 
bulkCreateDocs(List<?>) - Method in class com.cloudant.mazha.CouchClient
 
bulkCreateDocs(List<BasicDocumentRevision>) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
bulkCreateSerializedDocs(String...) - Method in class com.cloudant.mazha.CouchClient
Bulk insert a list of document that are serialized to JSON data already.
bulkCreateSerializedDocs(List<String>) - Method in class com.cloudant.mazha.CouchClient
Bulk insert a list of document that are serialized to JSON data already.
bulkCreateSerializedDocs(List<String>) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
bulkDocsUri() - Method in class com.cloudant.mazha.CouchURIHelper
Returns URI for _bulk_docs endpoint.
BulkGetRequest - Class in com.cloudant.mazha
Represents a bulk GET request for documents This is in the format which the _bulk_get endpoint understands, where <doc id, rev id> pairs are given.
BulkGetRequest() - Constructor for class com.cloudant.mazha.BulkGetRequest
 
BulkGetRequest - Class in com.cloudant.sync.replication
Represents a bulk GET request for documents This is in the format which the replicator understands, (also the format used for querying docs with open_revs and for the _revs_diff endpoint) where a list of rev ids is given for each doc id
BulkGetRequest(String, List<String>, List<String>) - Constructor for class com.cloudant.sync.replication.BulkGetRequest
 
BulkGetResponse - Class in com.cloudant.mazha
Created by tomblench on 19/11/15.
BulkGetResponse() - Constructor for class com.cloudant.mazha.BulkGetResponse
 
BulkGetResponse.Doc - Class in com.cloudant.mazha
 
BulkGetResponse.Result - Class in com.cloudant.mazha
 
bulkGetRevisions(List<BulkGetRequest>, boolean) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
bulkInsertSize(int) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Push
Sets the number of documents to bulk insert into the CouchDB instance at a time
bulkReadDocsWithOpenRevisions(List<BulkGetRequest>, boolean) - Method in class com.cloudant.mazha.CouchClient
Return an iterator representing the result of calling the _bulk_docs endpoint.
bySequence(long) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns a BasicDocumentRevision from this DocumentRevisionTree with a particular sequence number.
bytesToString(byte[]) - Static method in class com.cloudant.sync.util.JSONUtils
 

C

CachingKeyProvider - Class in com.cloudant.sync.datastore.encryption
Given a user-provided KeyProvider, it provides an in-memory cache for retrieving an EncryptionKey.
CachingKeyProvider(KeyProvider) - Constructor for class com.cloudant.sync.datastore.encryption.CachingKeyProvider
Creates a CachingKeyProvider containing a KeyProvider whose EncryptionKey can be cached
call() - Method in class com.cloudant.common.RetriableTask
 
call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetAllDocumentIdsCallable
 
call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetPossibleAncestorRevisionIdsCallable
 
call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
call() - Method in class com.cloudant.sync.sqlite.SQLQueueCallable
 
call(SQLDatabase) - Method in class com.cloudant.sync.sqlite.SQLQueueCallable
Called either within a transaction or not depending on if SQLDatabaseQueue.submitTransaction(SQLQueueCallable) or SQLDatabaseQueue.submit(SQLQueueCallable) is called When called within a transaction, to mark the transaction as successful simply return from this method, to cause a rollback throw an exception
changeLimitPerBatch(int) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Pull
Sets the number of changes to fetch from the _changes feed per batch
changeLimitPerBatch(int) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Push
Sets the number of changes to fetch from the _changes feed per batch
changes(Object) - Method in class com.cloudant.mazha.CouchClient
 
changes(Object, Integer) - Method in class com.cloudant.mazha.CouchClient
 
changes(String, Map<String, String>, Object, Integer) - Method in class com.cloudant.mazha.CouchClient
 
changes(Map<String, Object>) - Method in class com.cloudant.mazha.CouchClient
 
Changes - Class in com.cloudant.sync.datastore
Changes objects describe a list of changes to the datastore.
changes(long, int) - Method in interface com.cloudant.sync.datastore.Datastore
Returns a list of changed documents, from since to since + limit, inclusive.
changes(Object, int) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
changes(PullFilter, Object, int) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
ChangesResult - Class in com.cloudant.mazha
Object representation of changes feed, example: { "last_seq": 35, "results": [ { "changes": [ { "rev": "1-bd42b942b8b672f0289cf3cd1f67044c" } ], "id": "2013-09-23T20:50:56.251Z", "seq": 27 }, { "changes": [ { "rev": "29-3f4dabfb32290e557ac1d16b2e8f069c" }, { "rev": "29-01fcbf8a3f1457eff21e18f7766d3b45" }, { "rev": "26-30722da17ad35cf1860f126dba391d67" } ], "id": "2013-09-10T17:47:17.770Z", "seq": 35 } ] }
ChangesResult() - Constructor for class com.cloudant.mazha.ChangesResult
 
ChangesResult.Row - Class in com.cloudant.mazha
Represent a row in Changes result.
ChangesResult.Row.Rev - Class in com.cloudant.mazha
Represent a Change rev.
changesUri(Map<String, Object>) - Method in class com.cloudant.mazha.CouchURIHelper
Returns URI for _changes endpoint using passed query.
checkInterrupted() - Static method in class com.cloudant.sync.util.ThreadUtils
 
CIPHER - Static variable in class com.cloudant.sync.datastore.encryption.EncryptionConstants
 
clear() - Method in class com.cloudant.android.ContentValues
Removes all values.
close() - Method in interface com.cloudant.sync.datastore.Datastore
Close the datastore
close() - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentInputStream
 
close() - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentOutputStream
 
close() - Method in class com.cloudant.sync.query.IndexManager
 
close() - Method in interface com.cloudant.sync.sqlite.Cursor
Close the cursor and release all resource associated
close() - Method in class com.cloudant.sync.sqlite.SQLDatabase
Close the database
close() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
close() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
closeCursorQuietly(Cursor) - Static method in class com.cloudant.sync.util.DatabaseUtils
 
columnName(int) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns the column name at the given zero-based column index
columnName(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
columnType(int) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns data type of the given column's value.
columnType(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
com.cloudant.android - package com.cloudant.android
 
com.cloudant.common - package com.cloudant.common
 
com.cloudant.http - package com.cloudant.http
 
com.cloudant.mazha - package com.cloudant.mazha
 
com.cloudant.mazha.json - package com.cloudant.mazha.json
 
com.cloudant.sync.datastore - package com.cloudant.sync.datastore
 
com.cloudant.sync.datastore.callables - package com.cloudant.sync.datastore.callables
 
com.cloudant.sync.datastore.encryption - package com.cloudant.sync.datastore.encryption
 
com.cloudant.sync.datastore.migrations - package com.cloudant.sync.datastore.migrations
 
com.cloudant.sync.notifications - package com.cloudant.sync.notifications
 
com.cloudant.sync.query - package com.cloudant.sync.query
 
com.cloudant.sync.replication - package com.cloudant.sync.replication
 
com.cloudant.sync.sqlite - package com.cloudant.sync.sqlite
 
com.cloudant.sync.sqlite.sqlite4java - package com.cloudant.sync.sqlite.sqlite4java
 
com.cloudant.sync.util - package com.cloudant.sync.util
 
compact() - Method in interface com.cloudant.sync.datastore.Datastore
Compacts the sqlDatabase storage by removing the bodies and attachments of obsolete revisions.
compactDatabase() - Method in class com.cloudant.sync.sqlite.SQLDatabase
For SQLite database, this is to call: this.execSQL("VACUUM");
compactDatabase() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
compareTo(Attachment) - Method in class com.cloudant.sync.datastore.Attachment
 
compareTo(BasicDocumentRevision) - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
compareTo(AbstractTreeNode<BasicDocumentRevision>) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree.DocumentRevisionNode
 
CONFLICT_ABORT - Static variable in class com.cloudant.sync.sqlite.SQLDatabase
When a constraint violation occurs,no ROLLBACK is executed so changes from prior commands within the same transaction are preserved.
CONFLICT_FAIL - Static variable in class com.cloudant.sync.sqlite.SQLDatabase
When a constraint violation occurs, the command aborts with a return code SQLITE_CONSTRAINT.
CONFLICT_IGNORE - Static variable in class com.cloudant.sync.sqlite.SQLDatabase
When a constraint violation occurs, the one row that contains the constraint violation is not inserted or changed.
CONFLICT_NONE - Static variable in class com.cloudant.sync.sqlite.SQLDatabase
Use the following when no conflict action is specified.
CONFLICT_REPLACE - Static variable in class com.cloudant.sync.sqlite.SQLDatabase
When a UNIQUE constraint violation occurs, the pre-existing rows that are causing the constraint violation are removed prior to inserting or updating the current row.
CONFLICT_ROLLBACK - Static variable in class com.cloudant.sync.sqlite.SQLDatabase
When a constraint violation occurs, an immediate ROLLBACK occurs, thus ending the current transaction, and the command aborts with a return code of SQLITE_CONSTRAINT.
ConflictException - Exception in com.cloudant.sync.datastore
Thrown when there is a conflict updating a datastore, for example trying to update a document but passing in an incorrect revision ID.
ConflictException(String) - Constructor for exception com.cloudant.sync.datastore.ConflictException
 
ConflictException(Exception) - Constructor for exception com.cloudant.sync.datastore.ConflictException
 
ConflictException(String, Exception) - Constructor for exception com.cloudant.sync.datastore.ConflictException
 
ConflictException() - Constructor for exception com.cloudant.sync.datastore.ConflictException
 
ConflictResolver - Interface in com.cloudant.sync.datastore
Interface to implement conflicts resolving algorithm.
connect(String, URL, String) - Static method in class com.cloudant.http.Http
 
connect(String, URI, String) - Static method in class com.cloudant.http.Http
 
connection - Variable in class com.cloudant.http.HttpConnectionInterceptorContext
 
contains(String) - Method in class com.cloudant.mazha.CouchClient
 
containsDocument(String, String) - Method in interface com.cloudant.sync.datastore.Datastore
Returns whether this datastore contains a particular revision of a document.
containsDocument(String) - Method in interface com.cloudant.sync.datastore.Datastore
Returns whether this datastore contains any revisions of a document.
containsKey(String) - Method in class com.cloudant.android.ContentValues
Returns true if this object has the named value.
ContentValues - Class in com.cloudant.android
 
ContentValues() - Constructor for class com.cloudant.android.ContentValues
Creates an empty set of values using the default initial size
ContentValues(int) - Constructor for class com.cloudant.android.ContentValues
Creates an empty set of values using the given initial size
ContentValues(ContentValues) - Constructor for class com.cloudant.android.ContentValues
Creates a set of values copied from the given set
ContentValues - Class in com.cloudant.sync.sqlite
 
ContentValues() - Constructor for class com.cloudant.sync.sqlite.ContentValues
 
CookieInterceptor - Class in com.cloudant.http
Adds cookie authentication support to http requests.
CookieInterceptor(String, String) - Constructor for class com.cloudant.http.CookieInterceptor
Constructs a cookie interceptor.
CouchClient - Class in com.cloudant.mazha
 
CouchClient(URI, List<HttpConnectionRequestInterceptor>, List<HttpConnectionResponseInterceptor>) - Constructor for class com.cloudant.mazha.CouchClient
 
CouchClient.MissingRevisions - Class in com.cloudant.mazha
 
CouchClientWrapper - Class in com.cloudant.sync.replication
 
CouchClientWrapper(CouchClient) - Constructor for class com.cloudant.sync.replication.CouchClientWrapper
 
CouchClientWrapper(URI, List<HttpConnectionRequestInterceptor>, List<HttpConnectionResponseInterceptor>) - Constructor for class com.cloudant.sync.replication.CouchClientWrapper
 
CouchConstants - Class in com.cloudant.common
 
CouchConstants() - Constructor for class com.cloudant.common.CouchConstants
 
CouchDbInfo - Class in com.cloudant.mazha
 
CouchDbInfo() - Constructor for class com.cloudant.mazha.CouchDbInfo
 
CouchException - Exception in com.cloudant.mazha
 
CouchException() - Constructor for exception com.cloudant.mazha.CouchException
 
CouchException(String, int) - Constructor for exception com.cloudant.mazha.CouchException
 
CouchException(String, Throwable, int) - Constructor for exception com.cloudant.mazha.CouchException
 
CouchURIHelper - Class in com.cloudant.mazha
Helper class to create url for Couch client.
CouchURIHelper(URI) - Constructor for class com.cloudant.mazha.CouchURIHelper
Returns a CouchURIHelper for a given Cloudant or CouchDB instance.
CouchUtils - Class in com.cloudant.common
 
CouchUtils() - Constructor for class com.cloudant.common.CouchUtils
 
CouchUtils - Class in com.cloudant.sync.util
Internal utility class
CouchUtils() - Constructor for class com.cloudant.sync.util.CouchUtils
 
create(Object) - Method in class com.cloudant.mazha.CouchClient
 
create(byte[]) - Static method in class com.cloudant.sync.datastore.DocumentBodyFactory
Returns a new DocumentBody object from JSON data.
create(Map) - Static method in class com.cloudant.sync.datastore.DocumentBodyFactory
Returns a new DocumentBody object from Map serializable as JSON.
create(Object) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
createDatabase() - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
createDb() - Method in class com.cloudant.mazha.CouchClient
 
createDocument(DocumentRevs) - Static method in class com.cloudant.sync.datastore.DocumentRevsUtils
 
createDocumentFromRevision(MutableDocumentRevision) - Method in interface com.cloudant.sync.datastore.Datastore
Adds a new document with body and attachments from rev.
createMultipartWriter(BasicDocumentRevision, List<? extends Attachment>, PushAttachmentsInline, int) - Static method in class com.cloudant.sync.datastore.RevisionHistoryHelper
Create a MultipartAttachmentWriter object needed to subsequently write the JSON body and attachments as a MIME multipart/related stream
createRevisionIdHistory(DocumentRevs) - Static method in class com.cloudant.sync.datastore.DocumentRevsUtils
Create the list of the revision ids in ascending order.
createSQLDatabase(String, KeyProvider) - Static method in class com.cloudant.sync.sqlite.SQLDatabaseFactory
SQLCipher-based implementation for creating database.
createUUID() - Static method in class com.cloudant.common.CouchUtils
 
createUUID() - Static method in class com.cloudant.sync.util.Misc
 
current - Variable in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
Cursor - Interface in com.cloudant.sync.sqlite
 

D

data - Variable in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
DatabaseClosed - Class in com.cloudant.sync.notifications
Event for database closed
DatabaseClosed(String) - Constructor for class com.cloudant.sync.notifications.DatabaseClosed
Event for database closed
DatabaseCreated - Class in com.cloudant.sync.notifications
Event for database created, it is only posted when the database is created on the disk.
DatabaseCreated(String) - Constructor for class com.cloudant.sync.notifications.DatabaseCreated
Event for database created for the first time.
DatabaseDeleted - Class in com.cloudant.sync.notifications
Event for database delete
DatabaseDeleted(String) - Constructor for class com.cloudant.sync.notifications.DatabaseDeleted
Event for database delete
DatabaseModified - Class in com.cloudant.sync.notifications
 
DatabaseModified(String) - Constructor for class com.cloudant.sync.notifications.DatabaseModified
Generic event for database create/delete
DatabaseNotCreatedException - Exception in com.cloudant.sync.datastore
Thrown when there is a problem creating a new datastore.
DatabaseNotCreatedException(String, Throwable) - Constructor for exception com.cloudant.sync.datastore.DatabaseNotCreatedException
 
DatabaseNotFoundException - Class in com.cloudant.sync.replication
 
DatabaseNotFoundException(String) - Constructor for class com.cloudant.sync.replication.DatabaseNotFoundException
 
DatabaseOpened - Class in com.cloudant.sync.notifications
Event for database opened.
DatabaseOpened(String) - Constructor for class com.cloudant.sync.notifications.DatabaseOpened
Event for database opened.
DatabaseUtils - Class in com.cloudant.sync.util
 
DatabaseUtils() - Constructor for class com.cloudant.sync.util.DatabaseUtils
 
Datastore - Interface in com.cloudant.sync.datastore
The Datastore is the core interaction point for create, delete and update operations (CRUD) for within Cloudant Sync.
DatastoreException - Exception in com.cloudant.sync.datastore
Created by Rhys Short on 05/02/15.
DatastoreException() - Constructor for exception com.cloudant.sync.datastore.DatastoreException
 
DatastoreException(String) - Constructor for exception com.cloudant.sync.datastore.DatastoreException
 
DatastoreException(Exception) - Constructor for exception com.cloudant.sync.datastore.DatastoreException
 
DatastoreException(String, Exception) - Constructor for exception com.cloudant.sync.datastore.DatastoreException
 
DatastoreExtended - Interface in com.cloudant.sync.datastore
DatastoreExtended adds further, lesser-used methods to the Datastore interface.
DatastoreManager - Class in com.cloudant.sync.datastore
Manages a set of Datastore objects, with their underlying disk storage residing in a given directory.
DatastoreManager(String) - Constructor for class com.cloudant.sync.datastore.DatastoreManager
Constructs a DatastoreManager to manage a directory.
DatastoreManager(File) - Constructor for class com.cloudant.sync.datastore.DatastoreManager
Constructs a DatastoreManager to manage a directory.
DatastoreNotCreatedException - Exception in com.cloudant.sync.datastore
Created by Rhys Short on 05/02/15.
DatastoreNotCreatedException() - Constructor for exception com.cloudant.sync.datastore.DatastoreNotCreatedException
 
DatastoreNotCreatedException(String) - Constructor for exception com.cloudant.sync.datastore.DatastoreNotCreatedException
 
DatastoreNotCreatedException(Exception) - Constructor for exception com.cloudant.sync.datastore.DatastoreNotCreatedException
 
DatastoreNotCreatedException(String, Exception) - Constructor for exception com.cloudant.sync.datastore.DatastoreNotCreatedException
 
dbName - Variable in class com.cloudant.sync.notifications.DatabaseModified
 
DBOperationResponse - Class in com.cloudant.mazha
 
DBOperationResponse() - Constructor for class com.cloudant.mazha.DBOperationResponse
 
DBUtils - Class in com.cloudant.sync.sqlite.sqlite4java
 
DBUtils() - Constructor for class com.cloudant.sync.sqlite.sqlite4java.DBUtils
 
DEFAULT_TRIES - Static variable in class com.cloudant.common.RetriableTask
 
DEFAULT_WAIT_TIME - Static variable in class com.cloudant.common.RetriableTask
 
DELETE(URL) - Static method in class com.cloudant.http.Http
 
DELETE(URI) - Static method in class com.cloudant.http.Http
 
delete(String, String) - Method in class com.cloudant.mazha.CouchClient
 
delete(String, String) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
delete(String, String, String[]) - Method in class com.cloudant.sync.sqlite.SQLDatabase
Convenience method for deleting rows in the database.
delete(String, String, String[]) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
deleted - Variable in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
deleteDatastore(String) - Method in class com.cloudant.sync.datastore.DatastoreManager
Deletes a datastore's files from disk.
deleteDb() - Method in class com.cloudant.mazha.CouchClient
 
deleteDocument(String) - Method in interface com.cloudant.sync.datastore.Datastore
Delete all leaf revisions for the document
deleteDocumentFromRevision(BasicDocumentRevision) - Method in interface com.cloudant.sync.datastore.Datastore
Deletes a document from the datastore.
deleteIndexNamed(String) - Method in class com.cloudant.sync.query.IndexManager
Delete an index.
deleteLocalDocument(String) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Deletes a local document.
depth(long) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the distance a revision is down the branch it's on.
depth() - Method in class com.cloudant.sync.util.AbstractTreeNode
 
describeContents() - Method in class com.cloudant.android.ContentValues
 
deserialize(JsonParser, DeserializationContext) - Method in class com.cloudant.mazha.json.OpenRevisionDeserializer
 
deserialize(byte[]) - Static method in class com.cloudant.sync.util.JSONUtils
 
deserialize(byte[], Class<T>) - Static method in class com.cloudant.sync.util.JSONUtils
 
disconnect() - Method in class com.cloudant.http.HttpConnection
Disconnect the underlying HttpURLConnection.
Doc() - Constructor for class com.cloudant.mazha.BulkGetResponse.Doc
 
docId - Variable in class com.cloudant.sync.datastore.LocalDocument
The ID of the local document
docId - Variable in class com.cloudant.sync.datastore.MutableDocumentRevision
 
docNumericId - Variable in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
docs - Variable in class com.cloudant.mazha.BulkGetResponse.Result
 
Document - Class in com.cloudant.mazha
 
Document() - Constructor for class com.cloudant.mazha.Document
 
Document - Class in com.cloudant.sync.util
DocumentRevisionTree is one revision of the document, and it meant to be immutable.
Document() - Constructor for class com.cloudant.sync.util.Document
 
DocumentBody - Interface in com.cloudant.sync.datastore
Interface for DocumentRevisionTree body.
DocumentBodyFactory - Class in com.cloudant.sync.datastore
Factory class to create DocumentBody objects from either JSON byte-streams or java Map objects.
DocumentBodyFactory() - Constructor for class com.cloudant.sync.datastore.DocumentBodyFactory
 
DocumentConflictException - Exception in com.cloudant.mazha
 
DocumentConflictException(String) - Constructor for exception com.cloudant.mazha.DocumentConflictException
 
DocumentCreated - Class in com.cloudant.sync.notifications
 
DocumentCreated(BasicDocumentRevision) - Constructor for class com.cloudant.sync.notifications.DocumentCreated
Event for document create
DocumentDeleted - Class in com.cloudant.sync.notifications
 
DocumentDeleted(BasicDocumentRevision, BasicDocumentRevision) - Constructor for class com.cloudant.sync.notifications.DocumentDeleted
Event for document delete
DocumentException - Exception in com.cloudant.sync.datastore
Created by Rhys Short on 05/02/15.
DocumentException() - Constructor for exception com.cloudant.sync.datastore.DocumentException
 
DocumentException(String) - Constructor for exception com.cloudant.sync.datastore.DocumentException
 
DocumentException(Exception) - Constructor for exception com.cloudant.sync.datastore.DocumentException
 
DocumentException(String, Exception) - Constructor for exception com.cloudant.sync.datastore.DocumentException
 
documentIds() - Method in class com.cloudant.sync.query.QueryResult
Returns a list of the document ids in this query result.
DocumentModified - Class in com.cloudant.sync.notifications
 
DocumentModified(BasicDocumentRevision, BasicDocumentRevision) - Constructor for class com.cloudant.sync.notifications.DocumentModified
Generic event for document create/update/delete
DocumentNotFoundException - Exception in com.cloudant.sync.datastore
Thrown when a document cannot be found.
DocumentNotFoundException() - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
 
DocumentNotFoundException(String, String) - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
Creates a document not found exception with the default message
DocumentNotFoundException(String) - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
 
DocumentNotFoundException(String, Exception) - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
 
DocumentNotFoundException(String, String, Exception) - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
 
DocumentNotFoundException(Exception) - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
 
DocumentRevision - Interface in com.cloudant.sync.datastore
A single revision of a document within a datastore.
DocumentRevisionBuilder - Class in com.cloudant.sync.datastore
Build DocumentRevisions in a chained manner.
DocumentRevisionBuilder() - Constructor for class com.cloudant.sync.datastore.DocumentRevisionBuilder
 
DocumentRevisionNode(BasicDocumentRevision) - Constructor for class com.cloudant.sync.datastore.DocumentRevisionTree.DocumentRevisionNode
 
DocumentRevisionTree - Class in com.cloudant.sync.datastore
Describes the document tree for a single document within the datastore.
DocumentRevisionTree() - Constructor for class com.cloudant.sync.datastore.DocumentRevisionTree
Construct an empty tree.
DocumentRevisionTree(BasicDocumentRevision) - Constructor for class com.cloudant.sync.datastore.DocumentRevisionTree
Construct a tree with a single root.
DocumentRevisionTree.DocumentRevisionNode - Class in com.cloudant.sync.datastore
A node in a document's revision tree history.
DocumentRevs - Class in com.cloudant.mazha
This is a typical response about the a others along its revisions history information.
DocumentRevs() - Constructor for class com.cloudant.mazha.DocumentRevs
 
DocumentRevs.Revisions - Class in com.cloudant.mazha
 
DocumentRevsList - Class in com.cloudant.sync.datastore
List of DocumentRevs.
DocumentRevsList(List<DocumentRevs>) - Constructor for class com.cloudant.sync.datastore.DocumentRevsList
 
DocumentRevsUtils - Class in com.cloudant.sync.datastore
 
DocumentRevsUtils() - Constructor for class com.cloudant.sync.datastore.DocumentRevsUtils
 
documentsReplicated - Variable in class com.cloudant.sync.notifications.ReplicationCompleted
The total number of documents replicated by the ReplicationCompleted.replicator
DocumentUpdated - Class in com.cloudant.sync.notifications
 
DocumentUpdated(BasicDocumentRevision, BasicDocumentRevision) - Constructor for class com.cloudant.sync.notifications.DocumentUpdated
Event for document update
documentUri(String) - Method in class com.cloudant.mazha.CouchURIHelper
Returns URI for documentId.
documentUri(String, Map<String, Object>) - Method in class com.cloudant.mazha.CouchURIHelper
Returns URI for documentId with query.

E

EMPTY - Static variable in class com.cloudant.sync.datastore.DocumentBodyFactory
Returns a DocumentBody object representing an empty document body.
EMPTY_JSON - Static variable in class com.cloudant.sync.util.JSONUtils
 
encodedLength - Variable in class com.cloudant.sync.datastore.PreparedAttachment
 
encoding - Variable in class com.cloudant.sync.datastore.Attachment
Encoding - Plain or GZIP
EncryptedAttachmentInputStream - Class in com.cloudant.sync.datastore.encryption
An EncryptedAttachmentInputStream handles reading AES encrypted data from disk, first reading the attachment file's header to determine the IV and checking the on-disk version is readable.
EncryptedAttachmentInputStream(InputStream, byte[]) - Constructor for class com.cloudant.sync.datastore.encryption.EncryptedAttachmentInputStream
Creates an input stream with a key.
EncryptedAttachmentOutputStream - Class in com.cloudant.sync.datastore.encryption
An EncryptedAttachmentOutputStream handles writing AES encrypted data to disk, combining the encrypted data with a header specifying the IV used during encryption.
EncryptedAttachmentOutputStream(OutputStream, byte[], byte[]) - Constructor for class com.cloudant.sync.datastore.encryption.EncryptedAttachmentOutputStream
Creates an output stream with a key and IV.
EncryptionConstants - Class in com.cloudant.sync.datastore.encryption
Class to hold encryption related constants.
EncryptionConstants() - Constructor for class com.cloudant.sync.datastore.encryption.EncryptionConstants
 
EncryptionKey - Class in com.cloudant.sync.datastore.encryption
Class to enforce restrictions on encryption keys used with the datastore.
EncryptionKey(byte[]) - Constructor for class com.cloudant.sync.datastore.encryption.EncryptionKey
 
endTransaction() - Method in class com.cloudant.sync.sqlite.SQLDatabase
End a transaction.
endTransaction() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
ensureIndexed(List<Object>) - Method in class com.cloudant.sync.query.IndexManager
Add a single, possibly compound, index for the given field names.
ensureIndexed(List<Object>, String) - Method in class com.cloudant.sync.query.IndexManager
Add a single, possibly compound, index for the given field names.
ensureIndexed(List<Object>, String, String) - Method in class com.cloudant.sync.query.IndexManager
Add a single, possibly compound, index for the given field names.
ensureIndexed(List<Object>, String, String, Map<String, String>) - Method in class com.cloudant.sync.query.IndexManager
Add a single, possibly compound, index for the given field names.
equals(Object) - Method in class com.cloudant.android.ContentValues
 
equals(Object) - Method in class com.cloudant.mazha.Document
 
equals(Object) - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
equals(Object) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree.DocumentRevisionNode
 
equals(Object) - Method in class com.cloudant.sync.notifications.ReplicationCompleted
 
equals(Object) - Method in class com.cloudant.sync.notifications.ReplicationErrored
 
equals(Object) - Method in class com.cloudant.sync.replication.BulkGetRequest
 
equals(Object) - Method in class com.cloudant.sync.util.AbstractTreeNode
 
equals(AbstractTreeNode<T>) - Method in class com.cloudant.sync.util.AbstractTreeNode
 
errorInfo - Variable in class com.cloudant.sync.notifications.ReplicationErrored
Error information about the error that occurred
ErrorInfo - Class in com.cloudant.sync.replication
Describes errors which happen during replication, and usually contains any exception thrown in the ErrorInfo.t field.
ErrorInfo(Throwable) - Constructor for class com.cloudant.sync.replication.ErrorInfo
Construct an instance with a Throwable.
execSQL(String, Object[]) - Method in class com.cloudant.sync.sqlite.SQLDatabase
Execute a single SQL statement that is NOT a SELECT/INSERT/UPDATE/DELETE.
execSQL(String) - Method in class com.cloudant.sync.sqlite.SQLDatabase
Execute a single SQL statement that is NOT a SELECT or any other SQL statement that returns data.
execSQL(String) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
execSQL(String, Object[]) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
execute() - Method in class com.cloudant.http.HttpConnection
Execute request without returning data from server.
exists() - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
extensionDataFolder(String) - Method in interface com.cloudant.sync.datastore.Datastore
Return the directory for specified extensionName

F

FIELD_TYPE_BLOB - Static variable in interface com.cloudant.sync.sqlite.Cursor
Value returned by Cursor.columnType(int) if the specified column type is blob
FIELD_TYPE_FLOAT - Static variable in interface com.cloudant.sync.sqlite.Cursor
Value returned by Cursor.columnType(int) if the specified column type is float
FIELD_TYPE_INTEGER - Static variable in interface com.cloudant.sync.sqlite.Cursor
Value returned by Cursor.columnType(int) if the specified column type is integer
FIELD_TYPE_NULL - Static variable in interface com.cloudant.sync.sqlite.Cursor
Value returned by Cursor.columnType(int) if the specified column is null
FIELD_TYPE_STRING - Static variable in interface com.cloudant.sync.sqlite.Cursor
Value returned by Cursor.columnType(int) if the specified column type is string
filename - Variable in class com.cloudant.sync.sqlite.SQLDatabase
 
filter(PullFilter) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Pull
Sets the filter to use for a pull replication
find(Map<String, Object>) - Method in class com.cloudant.sync.query.IndexManager
 
find(Map<String, Object>, long, long, List<String>, List<Map<String, String>>) - Method in class com.cloudant.sync.query.IndexManager
 
findRevisionsIdForOpenRev(String) - Method in class com.cloudant.mazha.GetOpenRevisionsResponse
 
flush() - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentOutputStream
 
forceInsert(List<ForceInsertItem>) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Inserts one or more revisions of a document into the database.
forceInsert(BasicDocumentRevision, List<String>, Map<String, Object>, Map<String[], List<PreparedAttachment>>, boolean) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Deprecated.
forceInsert(BasicDocumentRevision, String...) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Inserts a revision of a document with an existing revision ID
ForceInsertItem - Class in com.cloudant.sync.datastore
Created by tomblench on 22/01/16.
ForceInsertItem(BasicDocumentRevision, List<String>, Map<String, Object>, Map<String[], List<PreparedAttachment>>, boolean) - Constructor for class com.cloudant.sync.datastore.ForceInsertItem
 
from(S) - Method in class com.cloudant.sync.replication.ReplicatorBuilder
Sets the source database for the replication
fromJson(Reader, TypeReference<T>) - Method in class com.cloudant.mazha.json.JSONHelper
 
fromJson(Reader, Class<T>) - Method in class com.cloudant.mazha.json.JSONHelper
 
fromJson(Reader) - Method in class com.cloudant.mazha.json.JSONHelper
 
fromJsonToList(Reader, TypeReference<T>) - Method in class com.cloudant.mazha.json.JSONHelper
 

G

generateDocumentId() - Static method in class com.cloudant.common.CouchUtils
 
generateDocumentId() - Static method in class com.cloudant.sync.util.CouchUtils
 
generateNextLocalRevisionId(String) - Static method in class com.cloudant.common.CouchUtils
 
generateNextLocalRevisionId(String) - Static method in class com.cloudant.sync.util.CouchUtils
 
generateNextRevisionId(String) - Static method in class com.cloudant.common.CouchUtils
 
generateNextRevisionId(String) - Static method in class com.cloudant.sync.util.CouchUtils
 
generationFromRevId(String) - Static method in class com.cloudant.common.CouchUtils
 
generationFromRevId(String) - Static method in class com.cloudant.sync.util.CouchUtils
 
get(InputStream) - Static method in class com.cloudant.android.Base64InputStreamFactory
 
get(OutputStream) - Static method in class com.cloudant.android.Base64OutputStreamFactory
 
get(String) - Method in class com.cloudant.android.ContentValues
Gets a value.
GET(URL) - Static method in class com.cloudant.http.Http
 
GET(URI) - Static method in class com.cloudant.http.Http
 
get(int) - Method in class com.cloudant.sync.datastore.DocumentRevsList
 
get(Class<T>, String) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
getAllDocumentIds() - Method in interface com.cloudant.sync.datastore.Datastore
Enumerates the current winning revision for all documents in the datastore and return a list of their document identifiers.
GetAllDocumentIdsCallable - Class in com.cloudant.sync.datastore.callables
Retrieve all docIds from the database.
GetAllDocumentIdsCallable() - Constructor for class com.cloudant.sync.datastore.callables.GetAllDocumentIdsCallable
 
getAllDocuments(int, int, boolean) - Method in interface com.cloudant.sync.datastore.Datastore
Enumerates the current winning revision for all documents in the datastore.
getAllRevisionsOfDocument(String) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Returns DocumentRevisionTree of a document.
getAsBoolean(String) - Method in class com.cloudant.android.ContentValues
Gets a value and converts it to a Boolean.
getAsByte(String) - Method in class com.cloudant.android.ContentValues
Gets a value and converts it to a Byte.
getAsByteArray(String) - Method in class com.cloudant.android.ContentValues
Gets a value that is a byte array.
getAsDouble(String) - Method in class com.cloudant.android.ContentValues
Gets a value and converts it to a Double.
getAsFloat(String) - Method in class com.cloudant.android.ContentValues
Gets a value and converts it to a Float.
getAsInteger(String) - Method in class com.cloudant.android.ContentValues
Gets a value and converts it to an Integer.
getAsLong(String) - Method in class com.cloudant.android.ContentValues
Gets a value and converts it to a Long.
getAsShort(String) - Method in class com.cloudant.android.ContentValues
Gets a value and converts it to a Short.
getAsString(String) - Method in class com.cloudant.android.ContentValues
Gets a value and converts it to a String.
getAttachment(BasicDocumentRevision, String) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Returns attachment attachmentName for the revision.
getAttachments() - Method in class com.cloudant.mazha.DocumentRevs
 
getAttachments() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
getAttachments() - Method in interface com.cloudant.sync.datastore.DocumentRevision
 
getAttachments() - Method in class com.cloudant.sync.datastore.MutableDocumentRevision
 
getAttachmentStream(String, String, String, boolean) - Method in class com.cloudant.mazha.CouchClient
 
getAttachmentStream(String, String, String, String, String) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
getBlob(int) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns the value of the requested column as a byte array.
getBlob(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getBlob(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
getBody() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
getBody() - Method in interface com.cloudant.sync.datastore.DocumentRevision
 
getBody() - Method in class com.cloudant.sync.datastore.MutableDocumentRevision
 
getBoundary() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
 
getChanges() - Method in class com.cloudant.mazha.ChangesResult.Row
 
getCheckpoint(String) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
getColumnCount() - Method in interface com.cloudant.sync.sqlite.Cursor
Return total number of columns
getColumnCount() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getColumnIndex(String) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns the zero-based index for the given column name, or -1 if the column doesn't exist.
getColumnIndex(String) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getColumnIndexOrThrow(String) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns the zero-based index for the given column name, or throws IllegalArgumentException if the column doesn't exist.
getColumnIndexOrThrow(String) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getConflictedDocumentIds() - Method in interface com.cloudant.sync.datastore.Datastore
Return @Iterable<String> over ids to all the Documents with conflicted revisions.
getConnection() - Method in class com.cloudant.http.HttpConnection
Get the underlying HttpURLConnection object, allowing clients to set/get properties not exposed here.
getContentLength() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
 
getCouchClient() - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
getCount() - Method in interface com.cloudant.sync.sqlite.Cursor
 
getCount() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getCurrentRevision() - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the BasicDocumentRevision that is the current winning revision for this DocumentRevisionTree.
getData() - Method in class com.cloudant.sync.util.AbstractTreeNode
 
getDatabaseFile() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
getDataSize() - Method in class com.cloudant.mazha.CouchDbInfo
 
getDatastoreName() - Method in interface com.cloudant.sync.datastore.Datastore
Returns the name of this datastore.
getDbInfo() - Method in class com.cloudant.mazha.CouchClient
 
getDbName() - Method in class com.cloudant.mazha.CouchDbInfo
 
getDeleted() - Method in class com.cloudant.mazha.DocumentRevs
 
getDiskFormatVersion() - Method in class com.cloudant.mazha.CouchDbInfo
 
getDiskSize() - Method in class com.cloudant.mazha.CouchDbInfo
 
getDoc() - Method in class com.cloudant.mazha.ChangesResult.Row
 
getDocConflictRevs(String) - Method in class com.cloudant.mazha.CouchClient
Convenience method to get document with all the conflicts revisions.
getDocCount() - Method in class com.cloudant.mazha.CouchDbInfo
 
getDocDelCount() - Method in class com.cloudant.mazha.CouchDbInfo
 
getDocId() - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the document ID
getDocRevisions(String, String) - Method in class com.cloudant.mazha.CouchClient
Get document along with its revision history, and the result is converted to a DocumentRevs object.
getDocRevisions(String, String, TypeReference<T>) - Method in class com.cloudant.mazha.CouchClient
 
getDocument(String) - Method in class com.cloudant.mazha.CouchClient
 
getDocument(String, Class<T>) - Method in class com.cloudant.mazha.CouchClient
 
getDocument(String, Map<String, Object>, TypeReference<T>) - Method in class com.cloudant.mazha.CouchClient
 
getDocument(String, String) - Method in class com.cloudant.mazha.CouchClient
 
getDocument(String, String, TypeReference<T>) - Method in class com.cloudant.mazha.CouchClient
 
getDocument(String, String, Class<T>) - Method in class com.cloudant.mazha.CouchClient
 
getDocument(String) - Method in interface com.cloudant.sync.datastore.Datastore
Returns the current winning revision of a document.
getDocument(String, String) - Method in interface com.cloudant.sync.datastore.Datastore
Retrieves a given revision of a document.
getDocumentCount() - Method in interface com.cloudant.sync.datastore.Datastore
Return the number of documents in the datastore
getDocumentCount() - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Returns the number of documents in the database, including deleted documents.
getDocumentRevs() - Method in class com.cloudant.mazha.OkOpenRevision
 
getDocumentStream(String, String) - Method in class com.cloudant.mazha.CouchClient
 
getDocumentsWithIds(List<String>) - Method in interface com.cloudant.sync.datastore.Datastore
Returns the current winning revisions for a set of documents.
getDocWithOpenRevisions(String, Collection<String>, Collection<String>, boolean) - Method in class com.cloudant.mazha.CouchClient
Convenience method to get document with revision history for a given list of open revisions.
getEncodingFromString(String) - Static method in class com.cloudant.sync.datastore.Attachment
 
getEncryptionKey() - Method in class com.cloudant.sync.datastore.encryption.CachingKeyProvider
 
getEncryptionKey() - Method in interface com.cloudant.sync.datastore.encryption.KeyProvider
 
getEncryptionKey() - Method in class com.cloudant.sync.datastore.encryption.NullKeyProvider
 
getEncryptionKey() - Method in class com.cloudant.sync.datastore.encryption.SimpleKeyProvider
 
getError() - Method in exception com.cloudant.mazha.CouchException
 
getError() - Method in class com.cloudant.mazha.Response
 
getEventBus() - Method in interface com.cloudant.sync.datastore.Datastore
Returns the EventBus which this Datastore posts Document Notification Events to.
getEventBus() - Method in class com.cloudant.sync.datastore.DatastoreManager
Returns the EventBus which this DatastoreManager posts Database Notification Events to.
getEventBus() - Method in interface com.cloudant.sync.replication.Replicator
Returns an EventBus that clients can use to listen for state changes for this replicator.
getException() - Method in class com.cloudant.sync.replication.ErrorInfo
Returns the Throwable this instance was constructed with.
getFirstLocalDocRevisionId() - Static method in class com.cloudant.common.CouchUtils
 
getFirstLocalDocRevisionId() - Static method in class com.cloudant.sync.util.CouchUtils
 
getFirstRevisionId() - Static method in class com.cloudant.common.CouchUtils
 
getFirstRevisionId() - Static method in class com.cloudant.sync.util.CouchUtils
 
getFloat(int) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns the value of the requested column as a float.
getFloat(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getFloat(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
getGeneration() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
getId() - Method in class com.cloudant.mazha.ChangesResult.Row
 
getId() - Method in class com.cloudant.mazha.Document
 
getId() - Method in class com.cloudant.mazha.DocumentRevs
 
getId() - Method in class com.cloudant.mazha.Response
 
getId() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
getId() - Method in interface com.cloudant.sync.datastore.DocumentRevision
 
getId() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
 
getId() - Method in class com.cloudant.sync.datastore.MutableDocumentRevision
 
getId() - Method in interface com.cloudant.sync.replication.Replicator
 
getIdentifier() - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
getIds() - Method in class com.cloudant.mazha.DocumentRevs.Revisions
 
getIds() - Method in class com.cloudant.sync.datastore.Changes
Returns the list of document IDs for the DocumentRevisions in this change set.
getInputStream() - Method in interface com.cloudant.http.HttpConnection.InputStreamGenerator
 
getInputStream() - Method in class com.cloudant.sync.datastore.Attachment
Gets contents of attachments as a stream.
getInputStream() - Method in class com.cloudant.sync.datastore.SavedHttpAttachment
 
getInputStream() - Method in class com.cloudant.sync.datastore.UnsavedFileAttachment
 
getInputStream() - Method in class com.cloudant.sync.datastore.UnsavedStreamAttachment
 
getInstanceStartTime() - Method in class com.cloudant.mazha.CouchDbInfo
 
getInt(int) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns the value of the requested column as a long.
getInt(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getKey() - Method in class com.cloudant.sync.datastore.encryption.EncryptionKey
 
getKeyProvider() - Method in interface com.cloudant.sync.datastore.Datastore
Returns the encryption KeyProvider of this datastore.
getKeyProvider() - Method in class com.cloudant.sync.datastore.encryption.CachingKeyProvider
 
getLastSeq() - Method in class com.cloudant.mazha.ChangesResult
 
getLastSequence() - Method in class com.cloudant.sync.datastore.Changes
Returns the last sequence number of this change set.
getLastSequence() - Method in interface com.cloudant.sync.datastore.Datastore
Retrieves the datastore's current sequence number.
getLocalDocument(String) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Returns the current winning revision of a local document.
getLong(int) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns the value of the requested column as a long.
getLong(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getLong(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
getMissingRevisionsMap() - Method in class com.cloudant.mazha.GetOpenRevisionsResponse
 
getName() - Method in class com.cloudant.sync.replication.PullFilter
 
getNull(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
getOk() - Method in class com.cloudant.mazha.DBOperationResponse
 
getOk() - Method in class com.cloudant.mazha.Response
 
getOkRevisionMap() - Method in class com.cloudant.mazha.GetOpenRevisionsResponse
 
GetOpenRevisionsResponse - Class in com.cloudant.mazha
Convenience class to access the response of GET document request with open revision options.
GetOpenRevisionsResponse(List<OpenRevision>) - Constructor for class com.cloudant.mazha.GetOpenRevisionsResponse
 
getOthers() - Method in class com.cloudant.mazha.DocumentRevs
 
getParameters() - Method in class com.cloudant.sync.replication.PullFilter
 
getParent() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
Returns the sequence number of this revision's parent revision.
getPath() - Method in class com.cloudant.sync.datastore.DatastoreManager
Returns the path to the directory this object manages.
getPath(long) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the path as a list of revision IDs from the revision with the given sequence number to the root of the tree containing the revision.
getPathForNode(long) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the path (list of DocumentRevisions) from the revision with the given sequence number to the root of the tree containing the revision.
getPossibleAncestorRevisionIDs(String, String, int) - Method in interface com.cloudant.sync.datastore.Datastore
 
GetPossibleAncestorRevisionIdsCallable - Class in com.cloudant.sync.datastore.callables
Given a revision, retrieve all revision IDs that have a generation lower than the passed revision's generation.
GetPossibleAncestorRevisionIdsCallable(String, String, int) - Constructor for class com.cloudant.sync.datastore.callables.GetPossibleAncestorRevisionIdsCallable
Creates a GetPossibleAncestorRevisionIdsCallable object to retrieve revision IDs.
getPublicIdentifier() - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Returns the datastore's unique identifier.
getPurgeSeq() - Method in class com.cloudant.mazha.CouchDbInfo
 
getReason() - Method in exception com.cloudant.mazha.CouchException
 
getReason() - Method in class com.cloudant.mazha.Response
 
getResults() - Method in class com.cloudant.mazha.ChangesResult
 
getResults() - Method in class com.cloudant.sync.datastore.Changes
Returns the list of DocumentRevisions in this change set.
getRev() - Method in class com.cloudant.mazha.ChangesResult.Row.Rev
 
getRev() - Method in class com.cloudant.mazha.DocumentRevs
 
getRev() - Method in class com.cloudant.mazha.Response
 
getRevision() - Method in class com.cloudant.mazha.Document
 
getRevision() - Method in class com.cloudant.mazha.MissingOpenRevision
 
getRevision() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
getRevision() - Method in interface com.cloudant.sync.datastore.DocumentRevision
 
getRevision() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
 
getRevision() - Method in class com.cloudant.sync.datastore.MutableDocumentRevision
 
getRevisionIdsSuffix(String...) - Static method in class com.cloudant.common.CouchUtils
 
getRevisionIdSuffix(String) - Static method in class com.cloudant.common.CouchUtils
 
getRevisionIdSuffix(String) - Static method in class com.cloudant.sync.util.CouchUtils
 
getRevisionPath(DocumentRevs) - Static method in class com.cloudant.sync.datastore.RevisionHistoryHelper
Returns the list of revision IDs from a DocumentRevs object.
getRevisions() - Method in class com.cloudant.mazha.DocumentRevs
 
getRevisions(String, Collection<String>, Collection<String>, boolean) - Method in class com.cloudant.sync.replication.CouchClientWrapper
For each open revision, there should be a response of DocumentRevs returned.
getRootUri() - Method in class com.cloudant.mazha.CouchClient
 
getRootUri() - Method in class com.cloudant.mazha.CouchURIHelper
Returns the Root URI for this instance.
getSeq() - Method in class com.cloudant.mazha.ChangesResult.Row
 
getSequence() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
Returns the sequence number of this revision.
getSha1(InputStream) - Static method in class com.cloudant.sync.util.Misc
 
getSourceRevisionId() - Method in class com.cloudant.sync.datastore.MutableDocumentRevision
Get the previous revision id of this document
getStart() - Method in class com.cloudant.mazha.DocumentRevs.Revisions
 
getState() - Method in interface com.cloudant.sync.replication.Replicator
Returns the Replicator.State this replicator is in.
getStatusCode() - Method in exception com.cloudant.mazha.CouchException
 
getStatusCode() - Method in exception com.cloudant.mazha.ServerException
 
getString(int) - Method in interface com.cloudant.sync.sqlite.Cursor
Returns the value of the requested column as a String.
getString(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
getString(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
getTotalTries() - Method in class com.cloudant.common.RetriableTask
 
getTriesRemaining() - Method in class com.cloudant.common.RetriableTask
 
getType(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
getTypeName(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
getTypeOfObject(Object) - Static method in class com.cloudant.sync.sqlite.sqlite4java.DBUtils
 
getUpdateSeq() - Method in class com.cloudant.mazha.CouchDbInfo
 
getVersion() - Method in class com.cloudant.sync.sqlite.SQLDatabase
Gets the database version, and SQLDatabase's version is defined as:
getVersion() - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
Returns the current version of the database.
getVersion() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 

H

hasChildren() - Method in class com.cloudant.sync.util.AbstractTreeNode
 
hasConflicts() - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns whether this document is conflicted.
hashCode() - Method in class com.cloudant.android.ContentValues
 
hashCode() - Method in class com.cloudant.mazha.Document
 
hashCode() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
hashCode() - Method in class com.cloudant.sync.datastore.DocumentRevisionTree.DocumentRevisionNode
 
hashCode() - Method in class com.cloudant.sync.replication.BulkGetRequest
 
hashCode() - Method in class com.cloudant.sync.util.AbstractTreeNode
 
HEAD(URL) - Static method in class com.cloudant.http.Http
 
HEAD(URI) - Static method in class com.cloudant.http.Http
 
HierarchicalUriComponents - Class in com.cloudant.mazha
 
HierarchicalUriComponents() - Constructor for class com.cloudant.mazha.HierarchicalUriComponents
 
Http - Class in com.cloudant.http
Factory methods for obtaining HttpConnections.
Http() - Constructor for class com.cloudant.http.Http
 
HttpConnection - Class in com.cloudant.http
A wrapper for HttpURLConnections.
HttpConnection(String, URL, String) - Constructor for class com.cloudant.http.HttpConnection
 
HttpConnection.InputStreamGenerator - Interface in com.cloudant.http
 
HttpConnectionInterceptorContext - Class in com.cloudant.http
Created by tomblench on 30/03/15.
HttpConnectionInterceptorContext(HttpConnection) - Constructor for class com.cloudant.http.HttpConnectionInterceptorContext
Constructor
HttpConnectionInterceptorContext(HttpConnectionInterceptorContext) - Constructor for class com.cloudant.http.HttpConnectionInterceptorContext
Shallow copy constructor
HttpConnectionRequestInterceptor - Interface in com.cloudant.http
A Request Interceptor is run before the request is made to the server.
HttpConnectionResponseInterceptor - Interface in com.cloudant.http
A Response Interceptor is run after the response is obtained from the server but before the output stream is returned to the original client.

I

id - Variable in class com.cloudant.mazha.BulkGetRequest
 
id - Variable in class com.cloudant.mazha.BulkGetResponse.Result
 
ids - Static variable in class com.cloudant.common.CouchConstants
 
INDEX_METADATA_TABLE_NAME - Static variable in class com.cloudant.sync.query.IndexManager
 
IndexManager - Class in com.cloudant.sync.query
Main interface to Cloudant query.
IndexManager(Datastore) - Constructor for class com.cloudant.sync.query.IndexManager
Constructs a new IndexManager which indexes documents in 'datastore'
initialiseSequence(long) - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
insert(String, ContentValues) - Method in class com.cloudant.sync.sqlite.SQLDatabase
Convenience method for inserting a row into the database.
insert(String, ContentValues) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
insertBatchSize(int) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Pull
Sets the number of documents to insert into the SQLite database in one transaction
insertLocalDocument(String, DocumentBody) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Inserts a local document with an ID and body.
InsertRevisionCallable - Class in com.cloudant.sync.datastore.callables
Inserts a new row into the `revs` table, returning new database sequence number.
InsertRevisionCallable() - Constructor for class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
insertWithOnConflict(String, ContentValues, int) - Method in class com.cloudant.sync.sqlite.SQLDatabase
 
insertWithOnConflict(String, ContentValues, int) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
interceptRequest(HttpConnectionInterceptorContext) - Method in class com.cloudant.http.CookieInterceptor
 
interceptRequest(HttpConnectionInterceptorContext) - Method in interface com.cloudant.http.HttpConnectionRequestInterceptor
Intercept the request.
interceptResponse(HttpConnectionInterceptorContext) - Method in class com.cloudant.http.CookieInterceptor
 
interceptResponse(HttpConnectionInterceptorContext) - Method in interface com.cloudant.http.HttpConnectionResponseInterceptor
Intercept the response This method must not do any of the following Return null Read the response stream
IntervalTimerReplicationPolicyManager - Class in com.cloudant.sync.replication
This replication policy invokes replications at regular intervals.
IntervalTimerReplicationPolicyManager(int) - Constructor for class com.cloudant.sync.replication.IntervalTimerReplicationPolicyManager
 
intForQuery(SQLiteConnection, String, Object[]) - Static method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapperUtils
Utility method to run the query on the db and return the value in the first column of the first row.
InvalidDocumentException - Exception in com.cloudant.sync.datastore
Created by Rhys Short on 05/02/15.
InvalidDocumentException() - Constructor for exception com.cloudant.sync.datastore.InvalidDocumentException
 
InvalidDocumentException(String) - Constructor for exception com.cloudant.sync.datastore.InvalidDocumentException
 
InvalidDocumentException(Exception) - Constructor for exception com.cloudant.sync.datastore.InvalidDocumentException
 
InvalidDocumentException(String, Exception) - Constructor for exception com.cloudant.sync.datastore.InvalidDocumentException
 
isAfterLast() - Method in interface com.cloudant.sync.sqlite.Cursor
Returns whether the cursor is pointing to the position after the last row.
isAfterLast() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
isBulkSupported() - Method in class com.cloudant.mazha.CouchClient
 
isBulkSupported() - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
isCompactRunning() - Method in class com.cloudant.mazha.CouchDbInfo
 
isCurrent() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
isDeleted() - Method in class com.cloudant.mazha.ChangesResult.Row
 
isDeleted() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
isOpen() - Method in class com.cloudant.sync.sqlite.SQLDatabase
 
isOpen() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
isRunningOnAndroid() - Static method in class com.cloudant.sync.util.Misc
 
isShutdown() - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
Checks if SQLDatabaseQueue.shutdown() has been called
isTextSearchEnabled() - Method in class com.cloudant.sync.query.IndexManager
 
isValidDocumentId(String) - Static method in class com.cloudant.common.CouchUtils
 
isValidDocumentId(String) - Static method in class com.cloudant.sync.util.CouchUtils
 
isValidJSON(Map) - Static method in class com.cloudant.sync.util.JSONUtils
 
isValidJSON(String) - Static method in class com.cloudant.sync.util.JSONUtils
 
isValidJSON(byte[]) - Static method in class com.cloudant.sync.util.JSONUtils
 
isValidRevisionId(String) - Static method in class com.cloudant.common.CouchUtils
 
isValidRevisionId(String) - Static method in class com.cloudant.sync.util.CouchUtils
 
iterateChildren() - Method in class com.cloudant.sync.util.AbstractTreeNode
 
iterator() - Method in class com.cloudant.sync.datastore.DocumentRevsList
 
iterator() - Method in class com.cloudant.sync.query.QueryResult
 

J

JacksonModule - Class in com.cloudant.sync.util
Internal utility class
JacksonModule() - Constructor for class com.cloudant.sync.util.JacksonModule
 
JSONHelper - Class in com.cloudant.mazha.json
 
JSONHelper() - Constructor for class com.cloudant.mazha.json.JSONHelper
 
JSONUtils - Class in com.cloudant.sync.util
Internal utility class
JSONUtils() - Constructor for class com.cloudant.sync.util.JSONUtils
 

K

KEY_ALGORITHM - Static variable in class com.cloudant.sync.datastore.encryption.EncryptionConstants
 
KeyProvider - Interface in com.cloudant.sync.datastore.encryption
Classes implementing this interface provide encryption keys used by the datastore when encryption is enabled.
keySet() - Method in class com.cloudant.android.ContentValues
Returns a set of all of the keys
KeyUtils - Class in com.cloudant.sync.datastore.encryption
Utility methods for manipulating keys.
KeyUtils() - Constructor for class com.cloudant.sync.datastore.encryption.KeyUtils
 

L

leafRevisionIds() - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the revision IDs for the leaf revisions of this document.
leafRevisions() - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the leaf revisions
leafRevisions(boolean) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the leaf revisions
leafs() - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns a list of the DocumentRevisionTree.DocumentRevisionNodes which are leaf revisions of the branches in this document
length - Variable in class com.cloudant.sync.datastore.PreparedAttachment
 
listAllDatastores() - Method in class com.cloudant.sync.datastore.DatastoreManager
Lists all the names of Datastores managed by this DatastoreManager
listIndexes() - Method in class com.cloudant.sync.query.IndexManager
Get a list of indexes and their definitions as a Map.
LocalDocument - Class in com.cloudant.sync.datastore
A local Document, this document does not have a history, or the concept of revisions
LocalDocument(String, DocumentBody) - Constructor for class com.cloudant.sync.datastore.LocalDocument
Creates a local document
longForQuery(SQLiteConnection, String) - Static method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapperUtils
 
longForQuery(SQLiteConnection, String, Object[]) - Static method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapperUtils
Utility method to run the query on the db and return the value in the first column of the first row.
lookup(String, String) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the BasicDocumentRevision for a document ID and revision ID.
lookupChildByRevId(BasicDocumentRevision, String) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the child with a given revision ID of a parent BasicDocumentRevision.

M

makeInputStream() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
 
makeInputStreamGenerator() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
 
makePlaceholders(int) - Static method in class com.cloudant.sync.util.DatabaseUtils
 
markSupported() - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentInputStream
 
MigrateDatabase6To100 - Class in com.cloudant.sync.datastore.migrations
Migration from datastore JSON database version 6 to 100, which requires migration of data between tables with a transform in Java code along the way.
MigrateDatabase6To100() - Constructor for class com.cloudant.sync.datastore.migrations.MigrateDatabase6To100
 
Migration - Interface in com.cloudant.sync.datastore.migrations
Interface defining methods for running migration.
Misc - Class in com.cloudant.sync.util
Internal utility class
Misc() - Constructor for class com.cloudant.sync.util.Misc
 
missing - Variable in class com.cloudant.mazha.CouchClient.MissingRevisions
 
MissingOpenRevision - Class in com.cloudant.mazha
 
MissingOpenRevision() - Constructor for class com.cloudant.mazha.MissingOpenRevision
 
MissingRevisions() - Constructor for class com.cloudant.mazha.CouchClient.MissingRevisions
 
moveToFirst() - Method in interface com.cloudant.sync.sqlite.Cursor
Move the cursor to the first row.
moveToFirst() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
moveToNext() - Method in interface com.cloudant.sync.sqlite.Cursor
Move the cursor to the next row.
moveToNext() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
MultipartAttachmentWriter - Class in com.cloudant.sync.datastore
A class for writing MIME Multipart/Related (RFC 2387) streams to CouchDB.
MultipartAttachmentWriter() - Constructor for class com.cloudant.sync.datastore.MultipartAttachmentWriter
Construct a MultipartAttachmentWriter with a default boundary
MultipartAttachmentWriter(String) - Constructor for class com.cloudant.sync.datastore.MultipartAttachmentWriter
Construct a MultipartAttachmentWriter with a specific boundary
mutableCopy() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
Return a mutable copy of this DocumentRevision.
mutableCopy() - Method in class com.cloudant.sync.datastore.ProjectedDocumentRevision
 
MutableDocumentRevision - Class in com.cloudant.sync.datastore
Created by tomblench on 06/08/2014.
MutableDocumentRevision() - Constructor for class com.cloudant.sync.datastore.MutableDocumentRevision
 

N

name - Variable in class com.cloudant.sync.datastore.Attachment
Name of the attachment, must be unique for a given revision
newDocument - Variable in class com.cloudant.sync.notifications.DocumentModified
 
NoResourceException - Exception in com.cloudant.mazha
 
NoResourceException(String) - Constructor for exception com.cloudant.mazha.NoResourceException
 
NoResourceException(String, Throwable) - Constructor for exception com.cloudant.mazha.NoResourceException
 
NullKeyProvider - Class in com.cloudant.sync.datastore.encryption
This implementation of KeyProvider always returns a null key.
NullKeyProvider() - Constructor for class com.cloudant.sync.datastore.encryption.NullKeyProvider
 
numberOfChildren() - Method in class com.cloudant.sync.util.AbstractTreeNode
 

O

ok - Variable in class com.cloudant.mazha.BulkGetResponse.Doc
 
OkOpenRevision - Class in com.cloudant.mazha
 
OkOpenRevision() - Constructor for class com.cloudant.mazha.OkOpenRevision
 
onDatabaseClosed(DatabaseClosed) - Method in class com.cloudant.sync.datastore.DatastoreManager
 
open() - Method in class com.cloudant.sync.sqlite.SQLDatabase
Open the database
open() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
openDatastore(String) - Method in class com.cloudant.sync.datastore.DatastoreManager
Opens a datastore.
openDatastore(String, KeyProvider) - Method in class com.cloudant.sync.datastore.DatastoreManager
Opens a datastore.
OpenRevision - Interface in com.cloudant.mazha
 
OpenRevisionDeserializer - Class in com.cloudant.mazha.json
 
OpenRevisionDeserializer() - Constructor for class com.cloudant.mazha.json.OpenRevisionDeserializer
 
openSqlDatabase(String, KeyProvider) - Static method in class com.cloudant.sync.sqlite.SQLDatabaseFactory
SQLCipher-based implementation for opening database.
openSQLiteWrapper(String) - Static method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 

P

parentSequence - Variable in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
parseCouchDBRevisionHistory(Map<String, Object>) - Static method in class com.cloudant.common.CouchUtils
 
parseCouchDBRevisionHistory(Map<String, Object>) - Static method in class com.cloudant.sync.util.CouchUtils
 
possible_ancestors - Variable in class com.cloudant.mazha.CouchClient.MissingRevisions
 
POST(URL, String) - Static method in class com.cloudant.http.Http
 
POST(URI, String) - Static method in class com.cloudant.http.Http
 
prepareAttachment(Attachment, long, long) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Read attachment stream to a temporary location and calculate sha1, prior to being added to the datastore.
PreparedAttachment - Class in com.cloudant.sync.datastore
An attachment which has been been copied to a temporary location and had its sha1 calculated, prior to being added to the datastore.
PreparedAttachment(Attachment, String, long, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.PreparedAttachment
Prepare an attachment by copying it to a temp location and calculating its sha1.
preparedAttachments - Variable in class com.cloudant.sync.datastore.ForceInsertItem
 
prevDocument - Variable in class com.cloudant.sync.notifications.DocumentModified
 
ProjectedDocumentRevision - Class in com.cloudant.sync.datastore
A document revision that has been projected.
PropertyFilterMixIn - Class in com.cloudant.common
 
PropertyFilterMixIn() - Constructor for class com.cloudant.common.PropertyFilterMixIn
 
pull() - Static method in class com.cloudant.sync.replication.ReplicatorBuilder
Creates a pull replication builder.
Pull() - Constructor for class com.cloudant.sync.replication.ReplicatorBuilder.Pull
 
pullAttachmentsInline - Variable in class com.cloudant.sync.datastore.ForceInsertItem
 
pullAttachmentsInline(boolean) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Pull
Sets whether to pull attachments inline or separately
PullFilter - Class in com.cloudant.sync.replication
Provides the name and parameters for a filter function to be used when a pull replication calls the source database's _changes feed.
PullFilter(String) - Constructor for class com.cloudant.sync.replication.PullFilter
Constructs a filter object for a function that requires no parameters.
PullFilter(String, Map<String, String>) - Constructor for class com.cloudant.sync.replication.PullFilter
Constructs a filter object for a function that requires no parameters.
push() - Static method in class com.cloudant.sync.replication.ReplicatorBuilder
Creates a ReplicatorBuilder.Push replication builder.
Push() - Constructor for class com.cloudant.sync.replication.ReplicatorBuilder.Push
 
PushAttachmentsInline - Enum in com.cloudant.sync.replication
Strategy to decide whether to push attachments inline:
pushAttachmentsInline(PushAttachmentsInline) - Method in class com.cloudant.sync.replication.ReplicatorBuilder.Push
Sets the strategy to decide whether to push attachments inline or separately
put(String, String) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
put(String, Byte) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
put(String, Short) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
put(String, Integer) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
put(String, Long) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
put(String, Float) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
put(String, Double) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
put(String, Boolean) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
put(String, byte[]) - Method in class com.cloudant.android.ContentValues
Adds a value to the set.
PUT(URL, String) - Static method in class com.cloudant.http.Http
 
PUT(URI, String) - Static method in class com.cloudant.http.Http
 
put(int) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
put(int, String) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
put(int, long) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
put(int, float) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
put(int, byte[]) - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
putAll(ContentValues) - Method in class com.cloudant.android.ContentValues
Adds all values from the passed in ContentValues.
putAttachmentStream(String, String, String, String, byte[]) - Method in class com.cloudant.mazha.CouchClient
 
putCheckpoint(String, String) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
putMultipart(MultipartAttachmentWriter) - Method in class com.cloudant.mazha.CouchClient
 
putMultiparts(List<MultipartAttachmentWriter>) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
putNull(String) - Method in class com.cloudant.android.ContentValues
Adds a null value to the set.

Q

QueryBuilder - Class in com.cloudant.sync.sqlite.sqlite4java
 
QueryBuilder() - Constructor for class com.cloudant.sync.sqlite.sqlite4java.QueryBuilder
 
QueryResult - Class in com.cloudant.sync.query
Iterable result of a query executed with IndexManager.
QueryResult(List<String>, Datastore, List<String>, long, long, UnindexedMatcher) - Constructor for class com.cloudant.sync.query.QueryResult
 

R

rawQuery(String, String[]) - Method in class com.cloudant.sync.sqlite.SQLDatabase
Runs the provided SQL and returns a Cursor over the result set.
rawQuery(String, String[]) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
read() - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentInputStream
 
read(byte[]) - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentInputStream
 
read(byte[], int, int) - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentInputStream
 
remove(String) - Method in class com.cloudant.android.ContentValues
Remove a single value.
replayRequest - Variable in class com.cloudant.http.HttpConnectionInterceptorContext
 
ReplicationCompleted - Class in com.cloudant.sync.notifications
Event posted when a state transition to COMPLETE or STOPPED is completed.
ReplicationCompleted(Replicator, int, int) - Constructor for class com.cloudant.sync.notifications.ReplicationCompleted
 
replicationCompleted(int) - Method in interface com.cloudant.sync.replication.ReplicationPolicyManager.ReplicationsCompletedListener
 
ReplicationErrored - Class in com.cloudant.sync.notifications
Event posted when a state transition to ERROR is completed.
ReplicationErrored(Replicator, ErrorInfo) - Constructor for class com.cloudant.sync.notifications.ReplicationErrored
 
replicationErrored(int) - Method in interface com.cloudant.sync.replication.ReplicationPolicyManager.ReplicationsCompletedListener
 
ReplicationPolicyManager - Class in com.cloudant.sync.replication
 
ReplicationPolicyManager() - Constructor for class com.cloudant.sync.replication.ReplicationPolicyManager
 
ReplicationPolicyManager.ReplicationsCompletedListener - Interface in com.cloudant.sync.replication
 
replicator - Variable in class com.cloudant.sync.notifications.ReplicationCompleted
The Replicator issuing the event
replicator - Variable in class com.cloudant.sync.notifications.ReplicationErrored
The Replicator issuing the event
Replicator - Interface in com.cloudant.sync.replication
Manages replication between a local Datastore and a remote Cloudant or CouchDB database.
Replicator.State - Enum in com.cloudant.sync.replication
Describes the state of a Replicator at a given moment.
ReplicatorBuilder<S,T,E> - Class in com.cloudant.sync.replication
A Builder to create a Object
ReplicatorBuilder() - Constructor for class com.cloudant.sync.replication.ReplicatorBuilder
 
ReplicatorBuilder.Pull - Class in com.cloudant.sync.replication
A Pull Replication Builder
ReplicatorBuilder.Push - Class in com.cloudant.sync.replication
A Push Replication Builder
requestInterceptors - Variable in class com.cloudant.http.HttpConnection
 
requestProperties - Variable in class com.cloudant.http.HttpConnection
 
resolve(String, List<BasicDocumentRevision>) - Method in interface com.cloudant.sync.datastore.ConflictResolver
Return resolved DocumentRevision, the returned DocumentRevision will be added to the Document tree as the child of the current winner, and all the other revisions passed in be deleted.
resolveConflictsForDocument(String, ConflictResolver) - Method in interface com.cloudant.sync.datastore.Datastore
Resolve conflicts for specified Document using the given ConflictResolver
Response - Class in com.cloudant.mazha
Represents CouchDB response as a result of a request.
Response() - Constructor for class com.cloudant.mazha.Response
 
responseAsBytes() - Method in class com.cloudant.http.HttpConnection
Return response body data from server as a byte array.
responseAsInputStream() - Method in class com.cloudant.http.HttpConnection
Return response body data from server as an InputStream.
responseAsString() - Method in class com.cloudant.http.HttpConnection
Return response body data from server as a String.
responseInterceptors - Variable in class com.cloudant.http.HttpConnection
 
Result() - Constructor for class com.cloudant.mazha.BulkGetResponse.Result
 
results - Variable in class com.cloudant.mazha.BulkGetResponse
 
RetriableTask<T> - Class in com.cloudant.common
 
RetriableTask(Callable<T>) - Constructor for class com.cloudant.common.RetriableTask
 
RetriableTask(int, long, Callable<T>) - Constructor for class com.cloudant.common.RetriableTask
 
RetryException - Exception in com.cloudant.common
 
RetryException(String, Exception) - Constructor for exception com.cloudant.common.RetryException
 
rev - Variable in class com.cloudant.mazha.BulkGetRequest
 
Rev() - Constructor for class com.cloudant.mazha.ChangesResult.Row.Rev
 
rev - Variable in class com.cloudant.sync.datastore.ForceInsertItem
 
revId - Variable in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
revisionHistory - Variable in class com.cloudant.sync.datastore.ForceInsertItem
 
RevisionHistoryHelper - Class in com.cloudant.sync.datastore
Methods to help managing document revision histories.
RevisionHistoryHelper() - Constructor for class com.cloudant.sync.datastore.RevisionHistoryHelper
 
revisionHistoryToJson(List<BasicDocumentRevision>) - Static method in class com.cloudant.sync.datastore.RevisionHistoryHelper
Serialise a branch's revision history, without attachments.
revisionHistoryToJson(List<BasicDocumentRevision>, List<? extends Attachment>, PushAttachmentsInline, int) - Static method in class com.cloudant.sync.datastore.RevisionHistoryHelper
Serialise a branch's revision history, in the form of a list of BasicDocumentRevisions, into the JSON format expected by CouchDB's _bulk_docs endpoint.
Revisions() - Constructor for class com.cloudant.mazha.DocumentRevs.Revisions
 
revsDiff(Map<String, Set<String>>) - Method in class com.cloudant.mazha.CouchClient
Returns the subset of given the documentId/revisions that are not stored in the database.
revsDiff(Multimap<String, String>) - Method in interface com.cloudant.sync.datastore.DatastoreExtended
Returns the subset of given the document id/revisions that are not stored in the database.
revsDiff(Map<String, Set<String>>) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
revsDiffUri() - Method in class com.cloudant.mazha.CouchURIHelper
Returns URI for _revs_diff endpoi
root(long) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the root revision of this document with a given sequence number.
roots() - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
Returns the root revisions of this document in a mapping of sequence number to DocumentRevisionTree.DocumentRevisionNode.
Row() - Constructor for class com.cloudant.mazha.ChangesResult.Row
 
runMigration(SQLDatabase) - Method in class com.cloudant.sync.datastore.migrations.MigrateDatabase6To100
 
runMigration(SQLDatabase) - Method in interface com.cloudant.sync.datastore.migrations.Migration
Implementors should run all migration steps in this method.
runMigration(SQLDatabase) - Method in class com.cloudant.sync.datastore.migrations.SchemaOnlyMigration
 

S

SavedHttpAttachment - Class in com.cloudant.sync.datastore
Created by rhys on 20/11/14.
SavedHttpAttachment(String, Map<String, Object>, URI) - Constructor for class com.cloudant.sync.datastore.SavedHttpAttachment
Creates a SavedHttpAttachment (a fully initialised attachment) with the provided properties
SchemaOnlyMigration - Class in com.cloudant.sync.datastore.migrations
Runs a database migration which consists only of SQL statements.
SchemaOnlyMigration(String[]) - Constructor for class com.cloudant.sync.datastore.migrations.SchemaOnlyMigration
 
SEQUENCE_NUMBER_START - Static variable in interface com.cloudant.sync.datastore.Datastore
The sequence number of the datastore when no updates have been made, -1L.
serializeAsBytes(Map) - Static method in class com.cloudant.sync.util.JSONUtils
 
serializeAsBytes(Document) - Static method in class com.cloudant.sync.util.JSONUtils
 
serializeAsString(Map) - Static method in class com.cloudant.sync.util.JSONUtils
 
serializeAsString(Document) - Static method in class com.cloudant.sync.util.JSONUtils
 
ServerException - Exception in com.cloudant.mazha
 
ServerException(Exception) - Constructor for exception com.cloudant.mazha.ServerException
 
ServerException(String) - Constructor for exception com.cloudant.mazha.ServerException
 
ServerException(int) - Constructor for exception com.cloudant.mazha.ServerException
 
setAttachments(Map<String, Object>) - Method in class com.cloudant.mazha.DocumentRevs
 
setAttachments(List<? extends Attachment>) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets the attachments associated with the document for this builder.
setBody(DocumentBody) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets the document body for this builder.
setBody(BasicDocumentRevision) - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
Set the JSON body (the first MIME body) for the writer.
setChanges(List<ChangesResult.Row.Rev>) - Method in class com.cloudant.mazha.ChangesResult.Row
 
setCurrent(boolean) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets whether this builder is creating the winning revision.
setData(T) - Method in class com.cloudant.sync.util.AbstractTreeNode
 
setDataSize(long) - Method in class com.cloudant.mazha.CouchDbInfo
 
setDatastore(Datastore) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets the datastore for this builder.
setDeleted(boolean) - Method in class com.cloudant.mazha.ChangesResult.Row
 
setDeleted(Boolean) - Method in class com.cloudant.mazha.DocumentRevs
 
setDeleted(boolean) - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
setDeleted(boolean) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets whether this builder is creating a deleted revsion.
setDoc(Map) - Method in class com.cloudant.mazha.ChangesResult.Row
 
setDocId(String) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets the document ID for this builder.
setDocumentRevs(DocumentRevs) - Method in class com.cloudant.mazha.OkOpenRevision
 
setError(String) - Method in exception com.cloudant.mazha.CouchException
 
setError(String) - Method in class com.cloudant.mazha.Response
 
setId(String) - Method in class com.cloudant.mazha.ChangesResult.Row
 
setId(String) - Method in class com.cloudant.mazha.Document
 
setId(String) - Method in class com.cloudant.mazha.DocumentRevs
 
setId(String) - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
setIds(List<String>) - Method in class com.cloudant.mazha.DocumentRevs.Revisions
 
setInternalId(long) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets the internal ID for this builder.
setLastSeq(Object) - Method in class com.cloudant.mazha.ChangesResult
 
setNumberOfRetries(int) - Method in class com.cloudant.http.HttpConnection
Sets the number of times this request can be retried.
setOk(boolean) - Method in class com.cloudant.mazha.DBOperationResponse
 
setOthers(String, Object) - Method in class com.cloudant.mazha.DocumentRevs
Jackson will automatically put any field it can not find match to this @JsonAnySetter bucket.
setParent(long) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets the parent sequence number for this builder.
setReason(String) - Method in exception com.cloudant.mazha.CouchException
 
setReason(String) - Method in class com.cloudant.mazha.Response
 
setReplicationsCompletedListener(ReplicationPolicyManager.ReplicationsCompletedListener) - Method in class com.cloudant.sync.replication.ReplicationPolicyManager
 
setRequestBody(String) - Method in class com.cloudant.http.HttpConnection
Set the String of request body data to be sent to the server.
setRequestBody(byte[]) - Method in class com.cloudant.http.HttpConnection
Set the byte array of request body data to be sent to the server.
setRequestBody(HttpConnection.InputStreamGenerator) - Method in class com.cloudant.http.HttpConnection
Set the InputStream of request body data to be sent to the server.
setRequestBody(HttpConnection.InputStreamGenerator, long) - Method in class com.cloudant.http.HttpConnection
Set the InputStream of request body data, of known length, to be sent to the server.
setResults(List<ChangesResult.Row>) - Method in class com.cloudant.mazha.ChangesResult
 
setRev(String) - Method in class com.cloudant.mazha.ChangesResult.Row.Rev
 
setRev(String) - Method in class com.cloudant.mazha.DocumentRevs
 
setRevId(String) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets the revision ID for this builder.
setRevision(String) - Method in class com.cloudant.mazha.Document
 
setRevision(String) - Method in class com.cloudant.mazha.MissingOpenRevision
 
setRevision(String) - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
setRevisions(DocumentRevs.Revisions) - Method in class com.cloudant.mazha.DocumentRevs
 
setSeq(Object) - Method in class com.cloudant.mazha.ChangesResult.Row
 
setSequence(long) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
Sets the sequence number for this builder.
setStart(int) - Method in class com.cloudant.mazha.DocumentRevs.Revisions
 
setStatusCode(int) - Method in exception com.cloudant.mazha.CouchException
 
setStatusCode(int) - Method in exception com.cloudant.mazha.ServerException
 
setTransactionSuccessful() - Method in class com.cloudant.sync.sqlite.SQLDatabase
Marks the current transaction as successful.
setTransactionSuccessful() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
setupModule(Module.SetupContext) - Method in class com.cloudant.sync.util.JacksonModule
 
sha1 - Variable in class com.cloudant.sync.datastore.PreparedAttachment
 
shutdown() - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
Shuts down this database queue and closes the underlying database connection.
SIMPLE_FILTER_NAME - Static variable in class com.cloudant.common.PropertyFilterMixIn
 
SimpleKeyProvider - Class in com.cloudant.sync.datastore.encryption
SimpleKeyProvider simply takes raw key bytes in its constructor and uses these to provide that key to datastore methods.
SimpleKeyProvider(byte[]) - Constructor for class com.cloudant.sync.datastore.encryption.SimpleKeyProvider
 
size() - Method in class com.cloudant.android.ContentValues
Returns the number of values.
size() - Method in class com.cloudant.mazha.ChangesResult
this.getResults().size()
size() - Method in class com.cloudant.sync.datastore.Changes
Returns the number of DocumentRevisions in this change set.
size() - Method in class com.cloudant.sync.query.QueryResult
Returns the number of documents in this query result.
size() - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
skip(long) - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentInputStream
 
sqlCipherKeyForKeyProvider(KeyProvider) - Static method in class com.cloudant.sync.datastore.encryption.KeyUtils
Take a KeyProvider and return a hex-encoded string version of the key suitable for passing directly to SQLCipher (i.e., including `x'` prefix and `'` suffix).
SQLDatabase - Class in com.cloudant.sync.sqlite
 
SQLDatabase() - Constructor for class com.cloudant.sync.sqlite.SQLDatabase
 
SQLDatabaseFactory - Class in com.cloudant.sync.sqlite
Factory class to create SQLDatabase, and update schema
SQLDatabaseFactory() - Constructor for class com.cloudant.sync.sqlite.SQLDatabaseFactory
 
SQLDatabaseQueue - Class in com.cloudant.sync.sqlite
SQLDatabaseQuue provides the ability to ensure that the only a single thread accesses the SQLDatabase.
SQLDatabaseQueue(String) - Constructor for class com.cloudant.sync.sqlite.SQLDatabaseQueue
Creates an SQLQueue for the database specified.
SQLDatabaseQueue(String, KeyProvider) - Constructor for class com.cloudant.sync.sqlite.SQLDatabaseQueue
Creates an SQLQueue for the SQLCipher-based database specified.
SQLiteCursor - Class in com.cloudant.sync.sqlite.sqlite4java
 
SQLiteCursor(List<String>, List<Tuple>) - Constructor for class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
SQLiteWrapper - Class in com.cloudant.sync.sqlite.sqlite4java
Implementation of SQLDatabase backed by sqlite4java.
SQLiteWrapper(String) - Constructor for class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
SQLiteWrapperUtils - Class in com.cloudant.sync.sqlite.sqlite4java
 
SQLiteWrapperUtils() - Constructor for class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapperUtils
 
SQLQueueCallable<T> - Class in com.cloudant.sync.sqlite
A task which performs actions on a SQLDatabase passed in when called.
SQLQueueCallable() - Constructor for class com.cloudant.sync.sqlite.SQLQueueCallable
 
start - Static variable in class com.cloudant.common.CouchConstants
 
start() - Method in class com.cloudant.sync.replication.IntervalTimerReplicationPolicyManager
 
start() - Method in interface com.cloudant.sync.replication.Replicator
Starts a replication.
start() - Method in class com.cloudant.sync.replication.ReplicatorBuilder
Builds a replicator by calling ReplicatorBuilder.build() and then Replicator.start() on the replicator returned.
stop() - Method in class com.cloudant.sync.replication.IntervalTimerReplicationPolicyManager
 
stop() - Method in interface com.cloudant.sync.replication.Replicator
Stops an in-progress replication.
STRING_LIST_TYPE_DEF - Static variable in class com.cloudant.mazha.json.JSONHelper
 
STRING_MAP_TYPE_DEF - Static variable in class com.cloudant.mazha.json.JSONHelper
 
submit(SQLQueueCallable<T>) - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
Submits a database task for execution
submitTransaction(SQLQueueCallable<T>) - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
Submits a database task for execution in a transaction

T

TAG - Static variable in class com.cloudant.android.ContentValues
 
tempFile - Variable in class com.cloudant.sync.datastore.PreparedAttachment
 
ThreadUtils - Class in com.cloudant.sync.util
Internal utility class
ThreadUtils() - Constructor for class com.cloudant.sync.util.ThreadUtils
 
to(T) - Method in class com.cloudant.sync.replication.ReplicatorBuilder
Sets the target database for the replication
toJson(Object) - Method in class com.cloudant.mazha.json.JSONHelper
 
toPrettyJson(Object) - Method in class com.cloudant.mazha.json.JSONHelper
 
toPrettyJson(Object) - Static method in class com.cloudant.sync.util.JSONUtils
 
toQueryString() - Method in class com.cloudant.sync.replication.PullFilter
Generate a string representation of this Filter object that is consistent for a given name and parameter set.
toString() - Method in class com.cloudant.android.ContentValues
Returns a string containing a concise, human-readable description of this object.
toString() - Method in class com.cloudant.mazha.CouchDbInfo
 
toString() - Method in exception com.cloudant.mazha.CouchException
 
toString() - Method in class com.cloudant.mazha.DBOperationResponse
 
toString() - Method in class com.cloudant.mazha.DocumentRevs
 
toString() - Method in class com.cloudant.mazha.OkOpenRevision
 
toString() - Method in class com.cloudant.mazha.Response
 
toString() - Method in class com.cloudant.sync.datastore.Attachment
 
toString() - Method in class com.cloudant.sync.datastore.BasicDocumentRevision
 
toString() - Method in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
 
toString() - Method in class com.cloudant.sync.datastore.DocumentRevsList
 
toString() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
 
toString() - Method in class com.cloudant.sync.replication.BulkGetRequest
 
toString() - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
 
toString() - Method in class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
toString() - Method in class com.cloudant.sync.util.AbstractTreeNode
 
Tuple - Class in com.cloudant.sync.sqlite.sqlite4java
 
Tuple(List<Integer>) - Constructor for class com.cloudant.sync.sqlite.sqlite4java.Tuple
 
type - Variable in class com.cloudant.sync.datastore.Attachment
MIME type of the attachment

U

UnsavedFileAttachment - Class in com.cloudant.sync.datastore
An Attachment which has been prepared by the user for saving to the database
UnsavedFileAttachment(File, String) - Constructor for class com.cloudant.sync.datastore.UnsavedFileAttachment
 
UnsavedFileAttachment(File, String, Attachment.Encoding) - Constructor for class com.cloudant.sync.datastore.UnsavedFileAttachment
 
UnsavedStreamAttachment - Class in com.cloudant.sync.datastore
An Attachment which is read from a stream before saving to the database
UnsavedStreamAttachment(InputStream, String, String) - Constructor for class com.cloudant.sync.datastore.UnsavedStreamAttachment
 
UnsavedStreamAttachment(InputStream, String, String, Attachment.Encoding) - Constructor for class com.cloudant.sync.datastore.UnsavedStreamAttachment
 
update(String, Object) - Method in class com.cloudant.mazha.CouchClient
 
update(String, Object) - Method in class com.cloudant.sync.replication.CouchClientWrapper
 
update(String, ContentValues, String, String[]) - Method in class com.cloudant.sync.sqlite.SQLDatabase
Convenience method for updating rows in the database.
update(String, ContentValues, String, String[]) - Method in class com.cloudant.sync.sqlite.sqlite4java.SQLiteWrapper
 
updateAllIndexes() - Method in class com.cloudant.sync.query.IndexManager
Update all indexes.
updateDocumentFromRevision(MutableDocumentRevision) - Method in interface com.cloudant.sync.datastore.Datastore
Updates a document that exists in the datastore with with body and attachments from rev.
updateSchema(SQLDatabase, Migration, int) - Static method in class com.cloudant.sync.sqlite.SQLDatabaseFactory
Update schema for SQLDatabase
updateSchema(Migration, int) - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
Updates the schema of the database.
url - Variable in class com.cloudant.http.HttpConnection
 

V

validateDocumentId(String) - Static method in class com.cloudant.common.CouchUtils
 
validateDocumentId(String) - Static method in class com.cloudant.sync.util.CouchUtils
 
validateRevisionId(String) - Static method in class com.cloudant.common.CouchUtils
 
validateRevisionId(String) - Static method in class com.cloudant.sync.util.CouchUtils
 
valueOf(String) - Static method in enum com.cloudant.sync.datastore.Attachment.Encoding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.cloudant.sync.replication.PushAttachmentsInline
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.cloudant.sync.replication.Replicator.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.cloudant.sync.datastore.Attachment.Encoding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.cloudant.sync.replication.PushAttachmentsInline
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.cloudant.sync.replication.Replicator.State
Returns an array containing the constants of this enum type, in the order they are declared.
valueSet() - Method in class com.cloudant.android.ContentValues
Returns a set of all of the keys and values

W

withId(int) - Method in class com.cloudant.sync.replication.ReplicatorBuilder
 
write(byte[]) - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentOutputStream
 
write(byte[], int, int) - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentOutputStream
 
write(int) - Method in class com.cloudant.sync.datastore.encryption.EncryptedAttachmentOutputStream
 

_

_attachments - Static variable in class com.cloudant.common.CouchConstants
 
_conflicts - Static variable in class com.cloudant.common.CouchConstants
 
_deleted - Static variable in class com.cloudant.common.CouchConstants
 
_deleted_conflicts - Static variable in class com.cloudant.common.CouchConstants
 
_design_prefix - Static variable in class com.cloudant.common.CouchConstants
 
_design_prefix_encoded - Static variable in class com.cloudant.common.CouchConstants
 
_id - Static variable in class com.cloudant.common.CouchConstants
 
_local_prefix - Static variable in class com.cloudant.common.CouchConstants
 
_local_prefix_encoded - Static variable in class com.cloudant.common.CouchConstants
 
_local_seq - Static variable in class com.cloudant.common.CouchConstants
 
_rev - Static variable in class com.cloudant.common.CouchConstants
 
_revisions - Static variable in class com.cloudant.common.CouchConstants
 
_revs_info - Static variable in class com.cloudant.common.CouchConstants
 
A B C D E F G H I J K L M N O P Q R S T U V W _ 
Skip navigation links