- AbstractTreeNode<T> - Class in com.cloudant.sync.util
-
Internal utility class
- AbstractTreeNode(T) - Constructor for class com.cloudant.sync.util.AbstractTreeNode
-
- add(DocumentRevision) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree
-
- addAttachment(SQLDatabase, String, DocumentRevision, PreparedAttachment) - Static method in class com.cloudant.sync.datastore.AttachmentManager
-
- addAttachment(Attachment, long) - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
-
Add an attachment to be streamed as a subsequent MIME body.
- addAttachmentsToRevision(SQLDatabase, String, DocumentRevision, List<PreparedAttachment>) - Static method in class com.cloudant.sync.datastore.AttachmentManager
-
- addChild(AbstractTreeNode<T>) - Method in class com.cloudant.sync.util.AbstractTreeNode
-
- addListener(ReplicationService.ReplicationCompleteListener) - Method in class com.cloudant.sync.replication.ReplicationService
-
- 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.
- addValuesToKey(K, Collection<V>) - Method in class com.cloudant.common.ValueListMap
-
Add a collection of one or more values to the map under the existing key or creating a new key
if it does not yet exist in the map.
- addValueToKey(K, V) - Method in class com.cloudant.common.ValueListMap
-
Add a value to the map under the existing key or creating a new key if it does not
yet exist.
- allReplicationsComplete() - Method in interface com.cloudant.sync.replication.ReplicationService.ReplicationCompleteListener
-
- allReplicationsComplete() - Method in class com.cloudant.sync.replication.ReplicationService.SimpleReplicationCompleteListener
-
- allReplicationsCompleted() - Method in interface com.cloudant.sync.replication.ReplicationPolicyManager.ReplicationsCompletedListener
-
- allReplicationsCompleted() - Method in class com.cloudant.sync.replication.ReplicationService
-
- ANDROID_RUNTIME - Static variable in class com.cloudant.sync.util.Misc
-
- AndroidSQLite - Class in com.cloudant.sync.sqlite.android
-
- AndroidSQLite(SQLiteDatabase) - Constructor for class com.cloudant.sync.sqlite.android.AndroidSQLite
-
- AndroidSQLiteCursor - Class in com.cloudant.sync.sqlite.android
-
- AndroidSQLiteCursor(Cursor) - Constructor for class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- asBytes() - Method in interface com.cloudant.sync.datastore.DocumentBody
-
Returns copy of the data as a byte array.
- asBytes() - Method in class com.cloudant.sync.datastore.DocumentRevision
-
Returns the JSON body of the document revision as a byte
array.
- asMap() - Method in interface com.cloudant.sync.datastore.DocumentBody
-
Returns a shallow copy of the underlying data as a map.
- asMap() - Method in class com.cloudant.sync.datastore.DocumentRevision
-
Returns the JSON body of the document revision as a Map
object.
- 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
-
- AttachmentManager - Class in com.cloudant.sync.datastore
-
An AttachmentManager handles attachment related tasks: adding, removing and retrieving
attachments for documents from disk.
- AttachmentManager() - Constructor for class com.cloudant.sync.datastore.AttachmentManager
-
- AttachmentManager.NameGenerationException - Exception in com.cloudant.sync.datastore
-
- 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
-
- attachmentsForRevision(DocumentRevision) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
Returns all attachments for the revision.
- AttachmentsForRevisionCallable - Class in com.cloudant.sync.datastore.callables
-
Get all Attachments for a given internal sequence number
- AttachmentsForRevisionCallable(String, AttachmentStreamFactory, long) - Constructor for class com.cloudant.sync.datastore.callables.AttachmentsForRevisionCallable
-
- AttachmentStreamFactory - Class in com.cloudant.sync.datastore
-
Class to manage returning appropriate streams to access on disk attachments.
- AttachmentStreamFactory(KeyProvider) - Constructor for class com.cloudant.sync.datastore.AttachmentStreamFactory
-
Creates a factory Attachment objects can use to read/write attachments.
- 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
-
- CachingKeyProvider - Class in com.cloudant.sync.datastore.encryption
-
- CachingKeyProvider(KeyProvider) - Constructor for class com.cloudant.sync.datastore.encryption.CachingKeyProvider
-
- call() - Method in class com.cloudant.common.RetriableTask
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.AttachmentsForRevisionCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.ChangesCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.CompactCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.DeleteAllRevisionsCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.DeleteDocumentCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.DeleteLocalDocumentCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.DoForceInsertExistingDocumentWithHistoryCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.DoForceInsertNewDocumentWithHistoryCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.ForceInsertCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetAllDocumentIdsCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetAllDocumentsCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetAllRevisionsOfDocumentCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetConflictedDocumentIdsCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetDocumentCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetDocumentCountCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetDocumentsWithIdsCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetDocumentsWithInternalIdsCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetLastSequenceCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetLocalDocumentCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetNumericIdCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetPossibleAncestorRevisionIdsCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.GetSequenceCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.InsertDocumentHistoryIntoExistingTreeCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.InsertDocumentHistoryToNewTreeCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.InsertDocumentIDCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.InsertLocalDocumentCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.InsertRevisionCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.PickWinningRevisionCallable
-
Execute the callable, selecting and marking the new winning revision.
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.ResolveConflictsForDocumentCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.RevsDiffBatchCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.SetCurrentCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.UpdateDocumentBodyCallable
-
- call(SQLDatabase) - Method in class com.cloudant.sync.datastore.callables.UpdateDocumentFromRevisionCallable
-
- call(SQLDatabase) - Method in interface com.cloudant.sync.sqlite.SQLCallable
-
- 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
- ChangeNotifyingMap<K,V> - Interface in com.cloudant.common
-
- 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, List<DocumentRevision>) - Constructor for class com.cloudant.sync.datastore.Changes
-
Construct a list of changes
- changes(long, int) - Method in interface com.cloudant.sync.datastore.Datastore
-
Returns a list of changed documents, from since
to
since + limit
, inclusive.
- changes(long, int) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- changes(Object, int) - Method in class com.cloudant.sync.replication.CouchClientWrapper
-
- changes(PullFilter, Object, int) - Method in class com.cloudant.sync.replication.CouchClientWrapper
-
- ChangesCallable - Class in com.cloudant.sync.datastore.callables
-
Return the list of changes to the datastore, starting at a given `since` sequence value, limited
to a maximum number of `limit` changes
- ChangesCallable(long, int, String, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.callables.ChangesCallable
-
- 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
.
- checkArgument(boolean, String) - Static method in class com.cloudant.sync.util.Misc
-
Check an argument meets a condition and throw an IllegalArgumentException if it doesn't.
- checkCurrentRevisionIsInRevisionHistory(DocumentRevision, List<String>) - Static method in class com.cloudant.sync.datastore.DatastoreImpl
-
- checkInterrupted() - Static method in class com.cloudant.sync.util.ThreadUtils
-
- checkNotNull(Object, String) - Static method in class com.cloudant.sync.util.Misc
-
Check that a parameter is not null and throw IllegalArgumentException with a message of
errorMessagePrefix + " must not be null." if it is null, defaulting to "Parameter must not be
null.".
- checkNotNullOrEmpty(String, String) - Static method in class com.cloudant.sync.util.Misc
-
Check that a string parameter is not null or empty and throw IllegalArgumentException with a
message of errorMessagePrefix + " must not be empty." if it is empty, defaulting to
"Parameter must not be empty".
- checkState(boolean, String) - Static method in class com.cloudant.sync.util.Misc
-
Check if a condition is true and throw an IllegalStateException with the given
errorMessage if it is not.
- 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.DatastoreImpl
-
- 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 class com.cloudant.sync.sqlite.android.AndroidSQLite
-
- close() - Method in class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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
-
- closeCursorQuietly(Cursor) - Static method in class com.cloudant.sync.util.DatabaseUtils
-
- CollectionUtils - Class in com.cloudant.sync.util
-
- CollectionUtils() - Constructor for class com.cloudant.sync.util.CollectionUtils
-
- columnName(int) - Method in class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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 class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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.library - package com.cloudant.library
-
- 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.event - package com.cloudant.sync.event
-
- 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.android - package com.cloudant.sync.sqlite.android
-
- com.cloudant.sync.sqlite.sqlite4java - package com.cloudant.sync.sqlite.sqlite4java
-
- com.cloudant.sync.util - package com.cloudant.sync.util
-
- COMMAND_DEVICE_REBOOTED - Static variable in class com.cloudant.sync.replication.PeriodicReplicationService
-
- COMMAND_NONE - Static variable in class com.cloudant.sync.replication.ReplicationService
-
- COMMAND_START_PERIODIC_REPLICATION - Static variable in class com.cloudant.sync.replication.PeriodicReplicationService
-
- COMMAND_START_REPLICATION - Static variable in class com.cloudant.sync.replication.ReplicationService
-
- COMMAND_STOP_PERIODIC_REPLICATION - Static variable in class com.cloudant.sync.replication.PeriodicReplicationService
-
- COMMAND_STOP_REPLICATION - Static variable in class com.cloudant.sync.replication.ReplicationService
-
- compact() - Method in interface com.cloudant.sync.datastore.Datastore
-
Compacts the sqlDatabase storage by removing the bodies and attachments of obsolete revisions.
- compact() - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- CompactCallable - Class in com.cloudant.sync.datastore.callables
-
Compact datastore by deleting JSON and attachments of non-leaf revisions
- CompactCallable(String) - Constructor for class com.cloudant.sync.datastore.callables.CompactCallable
-
- compactDatabase() - Method in class com.cloudant.sync.sqlite.android.AndroidSQLite
-
- compactDatabase() - Method in class com.cloudant.sync.sqlite.SQLDatabase
-
For SQLite database, this is to call:
this.execSQL("VACUUM");
- compareTo(Attachment) - Method in class com.cloudant.sync.datastore.Attachment
-
- compareTo(DocumentRevision) - Method in class com.cloudant.sync.datastore.DocumentRevision
-
- compareTo(AbstractTreeNode<DocumentRevision>) - Method in class com.cloudant.sync.datastore.DocumentRevisionTree.DocumentRevisionNode
-
- complete(ReplicationCompleted) - Method in class com.cloudant.sync.replication.ReplicationPolicyManager.ReplicationListener
-
- complete(ReplicationStrategyCompleted) - Method in class com.cloudant.sync.replication.ReplicatorImpl
-
- 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.
- 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.
- containsDocument(String, String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- containsDocument(String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- 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
- copyAttachment(SQLDatabase, long, long, String) - Static method in class com.cloudant.sync.datastore.AttachmentManager
-
Copy a single attachment for a given revision to a new revision.
- copyAttachmentsToRevision(SQLDatabase, List<SavedAttachment>, DocumentRevision) - Static method in class com.cloudant.sync.datastore.AttachmentManager
-
- 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
-
- 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
-
- createAndroidSQLite(String) - Static method in class com.cloudant.sync.sqlite.android.AndroidSQLite
-
- 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(DocumentRevision) - Method in interface com.cloudant.sync.datastore.Datastore
-
Adds a new document with body and attachments from rev
.
- createDocumentFromRevision(DocumentRevision) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- createMultipartWriter(Map<String, Object>, List<? extends Attachment>, boolean, 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
-
- CURRENT_REVISION_CLAUSES - Static variable in class com.cloudant.sync.datastore.DatastoreImpl
-
- Cursor - Interface in com.cloudant.sync.sqlite
-
- 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
- DatabaseNotFoundException - Exception in com.cloudant.sync.replication
-
- DatabaseNotFoundException(String) - Constructor for exception 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(Throwable) - Constructor for exception com.cloudant.sync.datastore.DatastoreException
-
- DatastoreException(String, Throwable) - Constructor for exception com.cloudant.sync.datastore.DatastoreException
-
- DatastoreImpl - Class in com.cloudant.sync.datastore
-
- DatastoreImpl(String, String) - Constructor for class com.cloudant.sync.datastore.DatastoreImpl
-
- DatastoreImpl(String, String, KeyProvider) - Constructor for class com.cloudant.sync.datastore.DatastoreImpl
-
Constructor for single thread SQLCipher-based datastore.
- 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
-
- DatastoreManager(File) - Constructor for class com.cloudant.sync.datastore.DatastoreManager
-
- 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(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.android.AndroidSQLite
-
- delete(String, String, String[]) - Method in class com.cloudant.sync.sqlite.SQLDatabase
-
Convenience method for deleting rows in the database.
- DeleteAllRevisionsCallable - Class in com.cloudant.sync.datastore.callables
-
Delete all Revisions for a given Document ID
- DeleteAllRevisionsCallable(String) - Constructor for class com.cloudant.sync.datastore.callables.DeleteAllRevisionsCallable
-
- 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
- deleteDocument(String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- DeleteDocumentCallable - Class in com.cloudant.sync.datastore.callables
-
Delete a Document for given Document ID and Revision ID.
- DeleteDocumentCallable(String, String) - Constructor for class com.cloudant.sync.datastore.callables.DeleteDocumentCallable
-
- deleteDocumentFromRevision(DocumentRevision) - Method in interface com.cloudant.sync.datastore.Datastore
-
Deletes a document from the datastore.
- deleteDocumentFromRevision(DocumentRevision) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- deleteIndexNamed(String) - Method in class com.cloudant.sync.query.IndexManager
-
Delete an index.
- deleteLocalDocument(String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
Deletes a local document.
- DeleteLocalDocumentCallable - Class in com.cloudant.sync.datastore.callables
-
Delete a local (non-replicated) Document
- DeleteLocalDocumentCallable(String) - Constructor for class com.cloudant.sync.datastore.callables.DeleteLocalDocumentCallable
-
- 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
-
- Doc() - Constructor for class com.cloudant.mazha.BulkGetResponse.Doc
-
- docId - Variable in class com.cloudant.sync.datastore.LocalDocument
-
The ID of the local document
- 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
-
- 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(DocumentRevision) - Constructor for class com.cloudant.sync.notifications.DocumentCreated
-
Event for document create
- DocumentDeleted - Class in com.cloudant.sync.notifications
-
- DocumentDeleted(DocumentRevision, DocumentRevision) - 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(Throwable) - Constructor for exception com.cloudant.sync.datastore.DocumentException
-
- DocumentException(String, Throwable) - 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(DocumentRevision, DocumentRevision) - 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, Throwable) - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
-
- DocumentNotFoundException(String, String, Throwable) - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
-
- DocumentNotFoundException(Exception) - Constructor for exception com.cloudant.sync.datastore.DocumentNotFoundException
-
- DocumentRevision - Class in com.cloudant.sync.datastore
-
A single revision of a document within a datastore.
- DocumentRevision() - Constructor for class com.cloudant.sync.datastore.DocumentRevision
-
- DocumentRevision(String) - Constructor for class com.cloudant.sync.datastore.DocumentRevision
-
- DocumentRevision(String, String) - Constructor for class com.cloudant.sync.datastore.DocumentRevision
-
- DocumentRevisionBuilder - Class in com.cloudant.sync.datastore
-
- DocumentRevisionBuilder() - Constructor for class com.cloudant.sync.datastore.DocumentRevisionBuilder
-
- DocumentRevisionNode(DocumentRevision) - 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(DocumentRevision) - 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
-
- DocumentUpdated - Class in com.cloudant.sync.notifications
-
- DocumentUpdated(DocumentRevision, DocumentRevision) - 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
.
- DoForceInsertExistingDocumentWithHistoryCallable - Class in com.cloudant.sync.datastore.callables
-
Force insert a Revision where the Document already exists in the local database (ie at least one
Revision already exists)
- DoForceInsertExistingDocumentWithHistoryCallable(DocumentRevision, long, List<String>, Map<String, Object>, String, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.callables.DoForceInsertExistingDocumentWithHistoryCallable
-
- DoForceInsertNewDocumentWithHistoryCallable - Class in com.cloudant.sync.datastore.callables
-
Force insert a Revision where the Document does not exist in the local database (ie no Revisions
exist).
- DoForceInsertNewDocumentWithHistoryCallable(DocumentRevision, List<String>) - Constructor for class com.cloudant.sync.datastore.callables.DoForceInsertNewDocumentWithHistoryCallable
-
- EMPTY - Static variable in class com.cloudant.sync.datastore.DocumentBodyFactory
-
Returns a
DocumentBody
object representing an empty document body.
- emptyJSONObjectAsBytes() - Static method 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.android.AndroidSQLite
-
- endTransaction() - Method in class com.cloudant.sync.sqlite.SQLDatabase
-
End a transaction.
- 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, IndexType) - Method in class com.cloudant.sync.query.IndexManager
-
Add a single, possibly compound, index for the given field names.
- ensureIndexed(List<Object>, String, IndexType, Map<String, String>) - Method in class com.cloudant.sync.query.IndexManager
-
Add a single, possibly compound, index for the given field names.
- enumValue(String) - Static method in enum com.cloudant.sync.query.IndexType
-
Converts a string to its Enum value.
- 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.DocumentRevision
-
- 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
-
- error(ReplicationErrored) - Method in class com.cloudant.sync.replication.ReplicationPolicyManager.ReplicationListener
-
- error(ReplicationStrategyErrored) - Method in class com.cloudant.sync.replication.ReplicatorImpl
-
- 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
.
- EventBus - Class in com.cloudant.sync.event
-
A publish/subscribe event bus for sync notifications.
- EventBus() - Constructor for class com.cloudant.sync.event.EventBus
-
- execSQL(String) - Method in class com.cloudant.sync.sqlite.android.AndroidSQLite
-
- execSQL(String, Object[]) - Method in class com.cloudant.sync.sqlite.android.AndroidSQLite
-
- 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.
- executeRequest(Q) - Method in class com.cloudant.sync.replication.QueuingExecutorCompletionService
-
Subclasses should override this method with the desired execution method, which will
ultimately be wrapped in a Callable for submission to the ExecutorCompletionService.
- exists() - Method in class com.cloudant.sync.replication.CouchClientWrapper
-
- extensionDataFolder(String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- EXTRA_COMMAND - Static variable in class com.cloudant.sync.replication.ReplicationService
-
- EXTRA_INTENT - Static variable in class com.cloudant.sync.replication.ReplicationService
-
- 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(Future<T>) - Static method in class com.cloudant.sync.datastore.DatastoreImpl
-
- get(int) - Method in class com.cloudant.sync.datastore.DocumentRevsList
-
- get(Class<T>, String) - Method in class com.cloudant.sync.replication.CouchClientWrapper
-
- GET_ALL_LEAFS - Static variable in class com.cloudant.sync.datastore.callables.PickWinningRevisionCallable
-
- GET_DOC_NUMERIC_ID - Static variable in class com.cloudant.sync.datastore.DatastoreImpl
-
- GET_DOCUMENT_CURRENT_REVISION - Static variable in class com.cloudant.sync.datastore.DatastoreImpl
-
- GET_DOCUMENT_GIVEN_REVISION - Static variable in class com.cloudant.sync.datastore.DatastoreImpl
-
- GET_METADATA_CURRENT_REVISION - Static variable in class com.cloudant.sync.datastore.DatastoreImpl
-
- GET_METADATA_GIVEN_REVISION - Static variable in class com.cloudant.sync.datastore.DatastoreImpl
-
- GET_NON_DELETED_LEAFS - Static variable in class com.cloudant.sync.datastore.callables.PickWinningRevisionCallable
-
- 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.
- getAllDocumentIds() - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- 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.
- getAllDocuments(int, int, boolean) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- GetAllDocumentsCallable - Class in com.cloudant.sync.datastore.callables
-
Get all non-deleted winning Revisions of Documents, ordered by Document ID, starting from
`offset` and with maximum `limit` results.
- GetAllDocumentsCallable(int, int, boolean, String, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.callables.GetAllDocumentsCallable
-
- getAllRevisionsOfDocument(String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
Returns DocumentRevisionTree
of a document.
- GetAllRevisionsOfDocumentCallable - Class in com.cloudant.sync.datastore.callables
-
Get all Revisions for a given Document ID, in the form of a DocumentRevisionTree
- GetAllRevisionsOfDocumentCallable(String, String, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.callables.GetAllRevisionsOfDocumentCallable
-
- 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(String, String, String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
Returns attachment attachmentName
for the revision.
- getAttachments() - Method in class com.cloudant.mazha.DocumentRevs
-
- getAttachments() - Method in class com.cloudant.sync.datastore.DocumentRevision
-
top level key: _attachments
- 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 class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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.DocumentRevision
-
the rest of the document
- 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 class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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 class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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 class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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.
- getConflictedDocumentIds() - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- GetConflictedDocumentIdsCallable - Class in com.cloudant.sync.datastore.callables
-
Get all document IDs of Documents having conflicted Revisions: more than one non-deleted leaf
Revision
- GetConflictedDocumentIdsCallable() - Constructor for class com.cloudant.sync.datastore.callables.GetConflictedDocumentIdsCallable
-
- getContentLength() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
-
- getCouchClient() - Method in class com.cloudant.sync.replication.CouchClientWrapper
-
- getCount() - Method in class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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
DocumentRevision
that is the current winning revision
for this
DocumentRevisionTree
.
- getData() - Method in class com.cloudant.sync.util.AbstractTreeNode
-
- getDataSize() - Method in class com.cloudant.mazha.CouchDbInfo
-
- getDatastoreName() - Method in interface com.cloudant.sync.datastore.Datastore
-
Returns the name of this datastore.
- getDatastoreName() - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- 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.
- getDocument(String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- getDocument(String, String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- GetDocumentCallable - Class in com.cloudant.sync.datastore.callables
-
Get the Document for a given Document ID and Revision ID
- GetDocumentCallable(String, String, String, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.callables.GetDocumentCallable
-
- getDocumentCount() - Method in interface com.cloudant.sync.datastore.Datastore
-
Return the number of documents in the datastore
- getDocumentCount() - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- GetDocumentCountCallable - Class in com.cloudant.sync.datastore.callables
-
Get the total number of Documents in the database.
- GetDocumentCountCallable() - Constructor for class com.cloudant.sync.datastore.callables.GetDocumentCountCallable
-
- 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.
- getDocumentsWithIds(List<String>) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- GetDocumentsWithIdsCallable - Class in com.cloudant.sync.datastore.callables
-
Get a List of Document Revisions by Document ID
- GetDocumentsWithIdsCallable(List<String>, String, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.callables.GetDocumentsWithIdsCallable
-
- GetDocumentsWithInternalIdsCallable - Class in com.cloudant.sync.datastore.callables
-
Get a list of the winning (current) Revisions matching a list of internal (numeric) Document IDs
- GetDocumentsWithInternalIdsCallable(List<Long>, String, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.callables.GetDocumentsWithInternalIdsCallable
-
- 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
-
- getEventBus() - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- getEventBus() - Method in class com.cloudant.sync.datastore.DatastoreManager
-
- getEventBus() - Method in interface com.cloudant.sync.replication.Replicator
-
Returns an EventBus that clients can use to listen for state changes
for this replicator.
- getEventBus() - Method in class com.cloudant.sync.replication.ReplicatorImpl
-
- 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 class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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
-
- getFullRevisionFromCurrentCursor(Cursor, List<? extends Attachment>) - Static method in class com.cloudant.sync.datastore.DatastoreImpl
-
- getGeneration() - Method in class com.cloudant.sync.datastore.DocumentRevision
-
- 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.DocumentRevision
-
- getId() - Method in class com.cloudant.sync.datastore.MultipartAttachmentWriter
-
- getId() - Method in interface com.cloudant.sync.replication.Replicator
-
- getId() - Method in class com.cloudant.sync.replication.ReplicatorImpl
-
- 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 DocumentRevision
s in this
change set.
- getInputStream() - Method in class com.cloudant.sync.datastore.Attachment
-
Gets contents of attachments as a stream.
- getInputStream(File, Attachment.Encoding) - Method in class com.cloudant.sync.datastore.AttachmentStreamFactory
-
Return a stream to be used to read from the file on disk.
- getInputStream() - Method in class com.cloudant.sync.datastore.SavedAttachment
-
- getInputStream() - Method in class com.cloudant.sync.datastore.UnsavedFileAttachment
-
- getInputStream() - Method in class com.cloudant.sync.datastore.UnsavedStreamAttachment
-
- getInstance(String) - Static method in class com.cloudant.sync.datastore.DatastoreManager
-
Gets a DatastoreManager
to manage the specified directory of datastores.
- getInstance(File) - Static method in class com.cloudant.sync.datastore.DatastoreManager
-
Gets a DatastoreManager
to manage the specified directory of datastores.
- getInstanceStartTime() - Method in class com.cloudant.mazha.CouchDbInfo
-
- getInt(int) - Method in class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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 class com.cloudant.sync.datastore.DatastoreImpl
-
- 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.
- getLastSequence() - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- GetLastSequenceCallable - Class in com.cloudant.sync.datastore.callables
-
Get the most recent (highest) sequence number for the database
- GetLastSequenceCallable() - Constructor for class com.cloudant.sync.datastore.callables.GetLastSequenceCallable
-
- getLocalDocument(String) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
Returns the current winning revision of a local document.
- GetLocalDocumentCallable - Class in com.cloudant.sync.datastore.callables
-
Get the local Document for a given Document ID
- GetLocalDocumentCallable(String) - Constructor for class com.cloudant.sync.datastore.callables.GetLocalDocumentCallable
-
- getLong(int) - Method in class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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
-
- GetNumericIdCallable - Class in com.cloudant.sync.datastore.callables
-
Get the internal numeric ID for a given Document ID
- GetNumericIdCallable(String) - Constructor for class com.cloudant.sync.datastore.callables.GetNumericIdCallable
-
- 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
-
- getOutputStream(File, Attachment.Encoding) - Method in class com.cloudant.sync.datastore.AttachmentStreamFactory
-
Get stream for writing attachment data to disk.
- getParameters() - Method in class com.cloudant.sync.replication.PullFilter
-
- 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 DocumentRevision
s) from the revision with
the given sequence number to the root of the tree containing the
revision.
- getPossibleAncestorRevisionIDs(String, String, int) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- 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 class com.cloudant.sync.datastore.DatastoreImpl
-
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 DocumentRevision
s 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.DocumentRevision
-
- 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.
- getRevisionsFromRawQuery(SQLDatabase, String, String[], String, AttachmentStreamFactory) - Static method in class com.cloudant.sync.datastore.DatastoreImpl
-
- 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.DocumentRevision
-
Returns the sequence number of this revision.
- GetSequenceCallable - Class in com.cloudant.sync.datastore.callables
-
Get the internal sequence number for a given a revision
- GetSequenceCallable(String, String) - Constructor for class com.cloudant.sync.datastore.callables.GetSequenceCallable
-
- getService() - Method in class com.cloudant.sync.replication.ReplicationService.LocalBinder
-
- getSha1(InputStream) - Static method in class com.cloudant.sync.util.Misc
-
- getSQLiteVersion() - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
-
Returns the SQLite Version.
- getStart() - Method in class com.cloudant.mazha.DocumentRevs.Revisions
-
- getState() - Method in interface com.cloudant.sync.replication.Replicator
-
- getState() - Method in class com.cloudant.sync.replication.ReplicatorImpl
-
- getStatusCode() - Method in exception com.cloudant.mazha.CouchException
-
- getStatusCode() - Method in exception com.cloudant.mazha.ServerException
-
- getString(int) - Method in class com.cloudant.sync.sqlite.android.AndroidSQLiteCursor
-
- 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
-
- getUserAgentString() - Method in class com.cloudant.library.LibraryVersion
-
- getVersion() - Method in class com.cloudant.sync.sqlite.android.AndroidSQLite
-
- 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.
- 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
-
- partition(List<E>, int) - Static method in class com.cloudant.sync.util.CollectionUtils
-
- PeriodicReplicationReceiver<T extends PeriodicReplicationService> - Class in com.cloudant.sync.replication
-
This class implements a WakefulBroadcastReceiver
that handles events related to
periodic replication.
- PeriodicReplicationService<T extends PeriodicReplicationReceiver> - Class in com.cloudant.sync.replication
-
This Service
is an abstract class that is the basis for creating a service
that performs periodic replications (i.e.
- PickWinningRevisionCallable - Class in com.cloudant.sync.datastore.callables
-
Callable that evaluates leaf nodes to identify the winning revision for a particular document ID.
- PickWinningRevisionCallable(long) - Constructor for class com.cloudant.sync.datastore.callables.PickWinningRevisionCallable
-
Identify and set the winning revision for the document specified by the supplied internal
document ID.
- poll() - Method in class com.cloudant.sync.replication.QueuingExecutorCompletionService
-
- poll(long, TimeUnit) - Method in class com.cloudant.sync.replication.QueuingExecutorCompletionService
-
- possible_ancestors - Variable in class com.cloudant.mazha.CouchClient.MissingRevisions
-
- post(Object) - Method in class com.cloudant.sync.event.EventBus
-
Post an event to the bus.
- prepareAttachment(String, AttachmentStreamFactory, Attachment) - Static method in class com.cloudant.sync.datastore.AttachmentManager
-
Creates a PreparedAttachment from attachment
, preparing it for insertion into
the datastore.
- prepareAttachment(Attachment, long, long) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
Read attachment stream to a temporary location and calculate sha1,
prior to being added to the datastore.
- prepareAttachments(String, AttachmentStreamFactory, List<Attachment>) - Static method in class com.cloudant.sync.datastore.AttachmentManager
-
Download each attachment in attachments
to a temporary location, and
return a list of attachments suitable for passing to setAttachments
.
- 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.
- purgeAttachments(SQLDatabase, String) - Static method in class com.cloudant.sync.datastore.AttachmentManager
-
Called by BasicDatastore on the execution queue, this needs have the db passed ot it
- push() - Static method in class com.cloudant.sync.replication.ReplicatorBuilder
-
- 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
- PushFilter - Interface in com.cloudant.sync.replication
-
Interface for filtering documents during a push replication.
- 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(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.
- rawQuery(String, String[]) - Method in class com.cloudant.sync.sqlite.android.AndroidSQLite
-
- rawQuery(String, String[]) - Method in class com.cloudant.sync.sqlite.SQLDatabase
-
Runs the provided SQL and returns a
Cursor
over the result set.
- 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
-
- register(Object) - Method in class com.cloudant.sync.event.EventBus
-
Register an instance containing one or more subscriber methods to receive events.
- remove(String) - Method in class com.cloudant.android.ContentValues
-
Remove a single value.
- removeListener(ReplicationService.ReplicationCompleteListener) - Method in class com.cloudant.sync.replication.ReplicationService
-
- replicationComplete(int) - Method in interface com.cloudant.sync.replication.ReplicationService.ReplicationCompleteListener
-
Callback to indicate that the individual replication with the given id
is
complete.
- replicationComplete(int) - Method in class com.cloudant.sync.replication.ReplicationService.SimpleReplicationCompleteListener
-
- 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
-
- replicationCompleted(int) - Method in class com.cloudant.sync.replication.ReplicationService
-
- 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
-
- replicationErrored(int) - Method in interface com.cloudant.sync.replication.ReplicationService.ReplicationCompleteListener
-
Callback to indicate that the individual replication with the given id
has
errored.
- replicationErrored(int) - Method in class com.cloudant.sync.replication.ReplicationService
-
- replicationErrored(int) - Method in class com.cloudant.sync.replication.ReplicationService.SimpleReplicationCompleteListener
-
- ReplicationPolicyManager - Class in com.cloudant.sync.replication
-
- ReplicationPolicyManager() - Constructor for class com.cloudant.sync.replication.ReplicationPolicyManager
-
- ReplicationPolicyManager.ReplicationListener - Class in com.cloudant.sync.replication
-
This class is not intended as API, it is public for EventBus access only.
- ReplicationPolicyManager.ReplicationsCompletedListener - Interface in com.cloudant.sync.replication
-
- ReplicationService - Class in com.cloudant.sync.replication
-
This abstract class forms the basis for creating replication policies on Android.
- ReplicationService() - Constructor for class com.cloudant.sync.replication.ReplicationService
-
- ReplicationService.LocalBinder - Class in com.cloudant.sync.replication
-
- ReplicationService.ReplicationCompleteListener - Interface in com.cloudant.sync.replication
-
- ReplicationService.SimpleReplicationCompleteListener - Class 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
-
- 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
- ReplicatorImpl - Class in com.cloudant.sync.replication
-
This class is not intended as API, it is public for EventBus access only.
- ReplicatorImpl(ReplicationStrategy) - Constructor for class com.cloudant.sync.replication.ReplicatorImpl
-
- ReplicatorImpl(ReplicationStrategy, int) - Constructor for class com.cloudant.sync.replication.ReplicatorImpl
-
- resolve(String, List<DocumentRevision>) - 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
- resolveConflictsForDocument(String, ConflictResolver) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
- ResolveConflictsForDocumentCallable - Class in com.cloudant.sync.datastore.callables
-
Delete and mark non-current all Document Revisions except the one with the Revision ID
revIdKeep
- ResolveConflictsForDocumentCallable(DocumentRevisionTree, String) - Constructor for class com.cloudant.sync.datastore.callables.ResolveConflictsForDocumentCallable
-
- Response - Class in com.cloudant.mazha
-
Represents CouchDB response as a result of a request.
- Response() - Constructor for class com.cloudant.mazha.Response
-
- 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<DocumentRevision>) - Static method in class com.cloudant.sync.datastore.RevisionHistoryHelper
-
Serialise a branch's revision history, without attachments.
- revisionHistoryToJson(List<DocumentRevision>, List<? extends Attachment>, boolean, int) - Static method in class com.cloudant.sync.datastore.RevisionHistoryHelper
-
Serialise a branch's revision history, in the form of a list of
DocumentRevision
s, 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(Map<String, List<String>>) - Method in class com.cloudant.sync.datastore.DatastoreImpl
-
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
-
- RevsDiffBatchCallable - Class in com.cloudant.sync.datastore.callables
-
Checks the supplied collection of revisions for the given document ID and returns a
collection containing only those entries that are missing from the database.
- RevsDiffBatchCallable(String, Collection<String>) - Constructor for class com.cloudant.sync.datastore.callables.RevsDiffBatchCallable
-
- 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
-
- Row() - Constructor for class com.cloudant.mazha.ChangesResult.Row
-
- runMigration(SQLDatabase) - Method in class com.cloudant.sync.datastore.migrations.MigrateDatabase100To200
-
- 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
-
- SavedAttachment - Class in com.cloudant.sync.datastore
-
An Attachment which has been retrieved from the Database
- SavedAttachment(long, String, byte[], String, Attachment.Encoding, long, long, long, File, AttachmentStreamFactory) - Constructor for class com.cloudant.sync.datastore.SavedAttachment
-
- 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(Map<String, Attachment>) - Method in class com.cloudant.sync.datastore.DocumentRevision
-
- 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.DocumentRevision
-
- setBody(DocumentBody) - Method in class com.cloudant.sync.datastore.DocumentRevisionBuilder
-
Sets the document body for this builder.
- setBody(Map<String, Object>) - 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.
- SetCurrentCallable - Class in com.cloudant.sync.datastore.callables
-
Set the current
field in the revs table to true or false.
- SetCurrentCallable(long, boolean) - Constructor for class com.cloudant.sync.datastore.callables.SetCurrentCallable
-
- 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.DocumentRevision
-
- 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
-
- 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
-
- setOk(boolean) - Method in class com.cloudant.mazha.DBOperationResponse
-
- setOperationStartedListener(ReplicationService.OperationStartedListener) - Method in class com.cloudant.sync.replication.ReplicationService
-
Set a listener to be notified when an operation has started.
- 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
-
- setReplicationPolicyManager(ReplicationPolicyManager) - Method in class com.cloudant.sync.replication.ReplicationService
-
- setReplicationsCompletedListener(ReplicationPolicyManager.ReplicationsCompletedListener) - Method in class com.cloudant.sync.replication.ReplicationPolicyManager
-
- setReplicators(Replicator[]) - Method in class com.cloudant.sync.replication.ReplicationService
-
Set the
Replicator
objects configured to perform the required replications.
- 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.DocumentRevision
-
- 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.android.AndroidSQLite
-
- setTransactionSuccessful() - Method in class com.cloudant.sync.sqlite.SQLDatabase
-
Marks the current transaction as successful.
- setupModule(Module.SetupContext) - Method in class com.cloudant.sync.util.JacksonModule
-
- sha1 - Variable in class com.cloudant.sync.datastore.PreparedAttachment
-
- shouldInline(List<? extends Attachment>, PushAttachmentsInline, int) - Static method in class com.cloudant.sync.datastore.RevisionHistoryHelper
-
Determine whether to upload attachments inline or separately via multipart/related.
- shouldInline(PushAttachmentsInline) - Method in class com.cloudant.sync.datastore.SavedAttachment
-
- shouldReplicateDocument(DocumentRevision) - Method in interface com.cloudant.sync.replication.PushFilter
-
Determines if a DocumentRevision should be replicated to the remote database
- 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
-
- SimpleChangeNotifyingMap - Class in com.cloudant.common
-
Created by tomblench on 10/02/16.
- SimpleChangeNotifyingMap() - Constructor for class com.cloudant.common.SimpleChangeNotifyingMap
-
- 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
-
- SimpleReplicationCompleteListener() - Constructor for class com.cloudant.sync.replication.ReplicationService.SimpleReplicationCompleteListener
-
- 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 DocumentRevision
s 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
-
- sortDocumentsAccordingToIdList(List<String>, List<DocumentRevision>) - Static method in class com.cloudant.sync.datastore.DatastoreImpl
-
- SQL_ATTACHMENTS_SELECT - Static variable in class com.cloudant.sync.datastore.AttachmentManager
-
- SQL_ATTACHMENTS_SELECT_ALL - Static variable in class com.cloudant.sync.datastore.AttachmentManager
-
- SQL_CHANGE_IDS_SINCE_LIMIT - Static variable in class com.cloudant.sync.datastore.DatastoreImpl
-
- SQLCallable<T> - Interface in com.cloudant.sync.sqlite
-
Created by tomblench on 25/08/16.
- 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
-
- 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.
- SQLITE_QUERY_PLACEHOLDERS_LIMIT - Static variable in class com.cloudant.sync.datastore.DatastoreImpl
-
- SQLiteCursor - Class in com.cloudant.sync.sqlite.sqlite4java
-
- SQLiteCursor(List<String>, List<Tuple>) - Constructor for class com.cloudant.sync.sqlite.sqlite4java.SQLiteCursor
-
- 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
-
- start() - Method in class com.cloudant.sync.replication.ReplicatorImpl
-
- startPeriodicReplication() - Method in class com.cloudant.sync.replication.PeriodicReplicationService
-
Start periodic replications.
- stop() - Method in class com.cloudant.sync.replication.IntervalTimerReplicationPolicyManager
-
- stop() - Method in interface com.cloudant.sync.replication.Replicator
-
Stops an in-progress replication.
- stop() - Method in class com.cloudant.sync.replication.ReplicatorImpl
-
- stopPeriodicReplication() - Method in class com.cloudant.sync.replication.PeriodicReplicationService
-
Stop replications currently in progress and cancel future scheduled replications.
- 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(SQLCallable<T>) - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
-
Submits a database task for execution
- submitTransaction(SQLCallable<T>) - Method in class com.cloudant.sync.sqlite.SQLDatabaseQueue
-
Submits a database task for execution in a transaction
- Subscribe - Annotation Type in com.cloudant.sync.event
-
Annotation to indicate a method should be subscribed to events posted to the
EventBus
on
which the method's owning instance is registered.