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

A

ACCEPTED - Static variable in class com.couchbase.lite.Status
 
acquireConnection(String, int, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Acquires a connection from the pool.
acquireReference() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteClosable
Acquires a reference to the object.
Action - Class in com.couchbase.lite.support.action
An AtomicAction implementation to provide an ability to perform actions, back them out if there is an error, and clean up.
Action() - Constructor for class com.couchbase.lite.support.action.Action
 
Action(ActionBlock, ActionBlock, ActionBlock) - Constructor for class com.couchbase.lite.support.action.Action
 
ActionBlock - Interface in com.couchbase.lite.support.action
An action block interface.
ActionException - Exception in com.couchbase.lite.support.action
 
ActionException() - Constructor for exception com.couchbase.lite.support.action.ActionException
 
ActionException(String) - Constructor for exception com.couchbase.lite.support.action.ActionException
 
ActionException(String, Throwable) - Constructor for exception com.couchbase.lite.support.action.ActionException
 
ActionException(Throwable) - Constructor for exception com.couchbase.lite.support.action.ActionException
 
actionToChangeEncryptionKey(SymmetricKey) - Method in class com.couchbase.lite.BlobStore
 
actionToChangeEncryptionKey(SymmetricKey) - Method in interface com.couchbase.lite.store.EncryptableStore
Action for changing the encryption key of the storage.
actionToChangeEncryptionKey(SymmetricKey) - Method in class com.couchbase.lite.store.SQLiteStore
 
add(String, String, Map<String, Object>, boolean, boolean, StorageValidation, Status) - Method in class com.couchbase.lite.store.SQLiteStore
Creates a new revision of a document.
add(String, String, Map<String, Object>, boolean, boolean, StorageValidation, Status) - Method in interface com.couchbase.lite.store.Store
Creates a new revision of a document.
add(AtomicAction) - Method in class com.couchbase.lite.support.action.Action
Adds an action as a step of thid one.
add(ActionBlock, ActionBlock, ActionBlock) - Method in class com.couchbase.lite.support.action.Action
Adds an action as a step of this one.
add(ActionBlock, ActionBlock) - Method in class com.couchbase.lite.support.action.Action
Adds an action as a step of this one.
add(E) - Method in class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
addActiveReplication(Replication) - Method in class com.couchbase.lite.Database
 
addAttachment(Attachment, String) - Method in class com.couchbase.lite.UnsavedRevision
Creates or updates an attachment.
addChangeListener(Database.ChangeListener) - Method in class com.couchbase.lite.Database
Adds a Database change delegate that will be called whenever a Document within the Database changes.
addChangeListener(Document.ChangeListener) - Method in class com.couchbase.lite.Document
 
addChangeListener(LiveQuery.ChangeListener) - Method in class com.couchbase.lite.LiveQuery
Add a change listener to be notified when the live query result set changes.
addChangeListener(Replication.ChangeListener) - Method in class com.couchbase.lite.replicator.Replication
Adds a change delegate that will be called whenever the Replication changes.
addCookies(List<Cookie>) - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
addCookies(List<Cookie>) - Method in interface com.couchbase.lite.support.HttpClientFactory
 
addDatabaseListener(Database.DatabaseListener) - Method in class com.couchbase.lite.Database
 
addHeaders(Request.Builder) - Method in class com.couchbase.lite.replicator.RemoteBulkDownloaderRequest
set headers
addHeaders(Request.Builder) - Method in class com.couchbase.lite.replicator.RemoteMultipartDownloaderRequest
set headers
addHeaders(Request.Builder) - Method in class com.couchbase.lite.replicator.RemoteMultipartRequest
set headers
addHeaders(Request.Builder) - Method in class com.couchbase.lite.replicator.RemoteRequest
set headers
addNetworkReachabilityListener(NetworkReachabilityListener) - Method in class com.couchbase.lite.NetworkReachabilityManager
Add Network Reachability Listener
addRequestHeaders(Request.Builder) - Method in class com.couchbase.lite.replicator.RemoteRequest
 
addValue(String) - Method in class com.couchbase.lite.support.SequenceMap
Adds a value to the map, assigning it a sequence number and returning it.
allKeys() - Method in class com.couchbase.lite.BlobStore
 
allOpenDatabases() - Method in class com.couchbase.lite.Manager
 
allowSelfSignedSSLCertificates() - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
This is a convenience method to allow couchbase lite to connect to servers that use self-signed SSL certs.
appendColumns(StringBuilder, String[]) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Add the names that are non-null in columns to s, separating them with commas.
appendData(byte[]) - Method in class com.couchbase.lite.BlobStoreWriter
Appends data to the blob.
appendData(byte[], int, int) - Method in class com.couchbase.lite.BlobStoreWriter
 
appendData(byte[]) - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
appendData(byte[], int, int) - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
appendData(byte[]) - Method in class com.couchbase.lite.support.MultipartReader
 
appendData(byte[], int, int) - Method in class com.couchbase.lite.support.MultipartReader
 
appendEscapedSQLString(StringBuilder, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Appends an SQL string to the given StringBuilder, including the opening and closing single quotes.
appendSelectionArgs(String[], String[]) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Appends one set of selection args to another.
appendToPart(byte[]) - Method in class com.couchbase.lite.replicator.RemoteBulkDownloaderRequest
This method is called to append data to a part's body.
appendToPart(byte[], int, int) - Method in class com.couchbase.lite.replicator.RemoteBulkDownloaderRequest
 
appendToPart(byte[]) - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
appendToPart(byte[], int, int) - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
appendToPart(byte[]) - Method in interface com.couchbase.lite.support.MultipartReaderDelegate
 
appendToPart(byte[], int, int) - Method in interface com.couchbase.lite.support.MultipartReaderDelegate
 
appendValueToSql(StringBuilder, Object) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Appends an Object to an SQL string with the proper escaping, etc.
appendWhere(CharSequence) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Append a chunk to the WHERE clause of the query.
appendWhereEscapeString(String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Append a chunk to the WHERE clause of the query.
apply(T) - Method in interface com.couchbase.lite.Predicate
 
apply(T) - Method in interface com.couchbase.lite.util.CollectionUtils.Predicate
 
arePropertiesAvailable() - Method in class com.couchbase.lite.SavedRevision
Has this object fetched its contents from the database yet?
ArrayUtils - Class in com.couchbase.lite.util
Useful ArrayUtils taken from android security package.
asCanonicalJSON(RevisionInternal) - Static method in class com.couchbase.lite.support.RevisionUtils
 
asCanonicalJSON(Map<String, Object>) - Static method in class com.couchbase.lite.support.RevisionUtils
 
asJSONDictionary() - Method in class com.couchbase.lite.QueryRow
 
ASSERT - Static variable in class com.couchbase.lite.util.Log
 
ASSERTION_FIELD_EMAIL - Static variable in class com.couchbase.lite.auth.PersonaAuthorizer
 
ASSERTION_FIELD_EXPIRATION - Static variable in class com.couchbase.lite.auth.PersonaAuthorizer
 
ASSERTION_FIELD_ORIGIN - Static variable in class com.couchbase.lite.auth.PersonaAuthorizer
 
assertionForEmailAndSite(String, URL) - Static method in class com.couchbase.lite.auth.PersonaAuthorizer
 
assertNotNull(Object, String) - Static method in class com.couchbase.lite.util.Utils
 
asStubDictionary() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
AsyncTask - Interface in com.couchbase.lite
A delegate that can be run in a transaction on a Database.
AtomicAction - Interface in com.couchbase.lite.support.action
An abstraction whose instances can perform some action and back it out.
Attachment - Class in com.couchbase.lite
A Couchbase Lite Document Attachment.
Attachment(InputStream, String) - Constructor for class com.couchbase.lite.Attachment
Constructor
Attachment(Revision, String, Map<String, Object>) - Constructor for class com.couchbase.lite.Attachment
Constructor
ATTACHMENT_ERROR - Static variable in class com.couchbase.lite.Status
 
ATTACHMENT_NOT_FOUND - Static variable in class com.couchbase.lite.Status
 
AttachmentInternal - Class in com.couchbase.lite.internal
A simple container for attachment metadata.
AttachmentInternal(String, String) - Constructor for class com.couchbase.lite.internal.AttachmentInternal
- (instancetype) initWithName: (NSString*)name contentType: (NSString*)contentType
AttachmentInternal(String, Map<String, Object>) - Constructor for class com.couchbase.lite.internal.AttachmentInternal
- (instancetype) initWithName: (NSString*)name info: (NSDictionary*)attachInfo status: (CBLStatus*)outStatus
AttachmentInternal.AttachmentEncoding - Enum in com.couchbase.lite.internal
 
attachments - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
Authenticator - Interface in com.couchbase.lite.auth
 
authenticator - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
authenticator - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
AuthenticatorFactory - Class in com.couchbase.lite.auth
A factory to create instances of supported Authenticators.
AuthenticatorFactory() - Constructor for class com.couchbase.lite.auth.AuthenticatorFactory
 
Authorizer - Interface in com.couchbase.lite.auth
Internal protocol for authenticating a user to a server.
authorizeURLRequest(Request.Builder) - Method in interface com.couchbase.lite.auth.CustomHeadersAuthorizer
May add a header to the request (usually "Authorization:") to convey the authorization token.
authorizeURLRequest(Request.Builder) - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
authorizeURLRequest(Request.Builder) - Method in class com.couchbase.lite.auth.PasswordAuthorizer
 
authURL - Variable in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
authUserInfo() - Method in interface com.couchbase.lite.auth.CredentialAuthorizer
 
authUserInfo() - Method in class com.couchbase.lite.auth.PasswordAuthorizer
 
await() - Method in class com.couchbase.lite.util.RefCounter
 

B

backoff - Variable in class com.couchbase.lite.replicator.ChangeTracker
 
backOut() - Method in class com.couchbase.lite.DatabaseUpgrade
 
backout() - Method in class com.couchbase.lite.support.action.Action
 
backout() - Method in interface com.couchbase.lite.support.action.AtomicAction
Backs out the completed action.
BAD_ATTACHMENT - Static variable in class com.couchbase.lite.Status
 
BAD_CHANGES_FEED - Static variable in class com.couchbase.lite.Status
 
BAD_ENCODING - Static variable in class com.couchbase.lite.Status
 
BAD_ID - Static variable in class com.couchbase.lite.Status
 
BAD_JSON - Static variable in class com.couchbase.lite.Status
 
BAD_PARAM - Static variable in class com.couchbase.lite.Status
 
BAD_REQUEST - Static variable in class com.couchbase.lite.Status
 
BAD_URL - Static variable in exception com.couchbase.lite.replicator.RemoteRequestResponseException
 
Base64 - Class in com.couchbase.lite.support
Encodes and decodes to and from Base64 notation.
Base64 - Class in com.couchbase.lite.util
Utilities for encoding and decoding the Base64 representation of binary data.
Base64.InputStream - Class in com.couchbase.lite.support
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream - Class in com.couchbase.lite.support
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
base64Digest() - Method in class com.couchbase.lite.BlobKey
 
BaseAuthorizer - Class in com.couchbase.lite.auth
Created by hideki on 6/14/16.
BaseAuthorizer() - Constructor for class com.couchbase.lite.auth.BaseAuthorizer
 
BasicAuthenticator - Class in com.couchbase.lite.auth
Deprecated.
Class name was changed to PasswordAuthorizer. To be consistent with other platforms, please use `Authenticator AuthenticatorFactory.createBasicAuthenticator(String username, String password)` to create authenticator for Basic authentication.
BasicAuthenticator(String, String) - Constructor for class com.couchbase.lite.auth.BasicAuthenticator
Deprecated.
 
Batcher<T> - Class in com.couchbase.lite.support
Utility that queues up objects until the queue fills up or a time interval elapses, then passes objects, in groups of its capacity, to a client-supplied processor block.
Batcher(ScheduledExecutorService, int, long, BatchProcessor<T>) - Constructor for class com.couchbase.lite.support.Batcher
Initializes a batcher.
BatchProcessor<T> - Interface in com.couchbase.lite.support
 
beginQuery(String, Object[], int, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
 
beginReplicating() - Method in class com.couchbase.lite.replicator.PullerInternal
Actual work of starting the replication process.
beginReplicating() - Method in class com.couchbase.lite.replicator.PusherInternal
- (void) beginReplicating in CBL_Replicator.m
beginTransaction() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Begins a transaction in EXCLUSIVE mode.
beginTransaction(int, SQLiteTransactionListener, int, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Begins a transaction.
beginTransaction() - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
beginTransaction() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
beginTransaction() - Method in class com.couchbase.lite.store.SQLiteStore
Begins a storageEngine transaction.
beginTransactionNonExclusive() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Begins a transaction in IMMEDIATE mode.
beginTransactionWithListener(SQLiteTransactionListener) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Begins a transaction in EXCLUSIVE mode.
beginTransactionWithListenerNonExclusive(SQLiteTransactionListener) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Begins a transaction in IMMEDIATE mode.
bind(int, double) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Bind the value to an index.
bind(int, float) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Bind the value to an index.
bind(int, long) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Bind the value to an index.
bind(int, int) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Bind the value to an index.
bind(int, boolean) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Bind the value to an index.
bind(int, byte[]) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Bind the value to an index.
bind(int, String) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Bind the value to an index.
bindAllArgsAsStrings(String[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
Given an array of String bindArgs, this method binds all of them in one single call.
bindBlob(int, byte[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
Bind a byte array value to this statement.
bindDouble(int, double) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
Bind a double value to this statement.
bindLong(int, long) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
Bind a long value to this statement.
bindNull(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
Bind a NULL value to this statement.
bindNull(int) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Bind null to an index.
bindObjectToProgram(SQLiteProgram, int, Object) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Binds the given Object to the given SQLiteProgram using the proper typing.
bindString(int, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
Bind a String value to this statement.
blobForKey(BlobKey) - Method in class com.couchbase.lite.BlobStore
 
BlobKey - Class in com.couchbase.lite
Key identifying a data blob.
BlobKey() - Constructor for class com.couchbase.lite.BlobKey
 
BlobKey(byte[]) - Constructor for class com.couchbase.lite.BlobKey
 
BlobKey(String) - Constructor for class com.couchbase.lite.BlobKey
Constructor
BlobRequestBody - Class in com.couchbase.lite.replicator
Created by hideki on 5/16/16.
BlobRequestBody() - Constructor for class com.couchbase.lite.replicator.BlobRequestBody
 
BlobStore - Class in com.couchbase.lite
A persistent content-addressable store for arbitrary-size data blobs.
BlobStore(Context, String, SymmetricKey) - Constructor for class com.couchbase.lite.BlobStore
 
BlobStore(Context, String, SymmetricKey, boolean) - Constructor for class com.couchbase.lite.BlobStore
 
BlobStoreWriter - Class in com.couchbase.lite
Lets you stream a large attachment to a BlobStore asynchronously, e.g.
BlobStoreWriter(BlobStore) - Constructor for class com.couchbase.lite.BlobStoreWriter
 
blobStoreWriterForBody(InputStream, Database) - Static method in class com.couchbase.lite.Attachment
 
blobStreamForKey(BlobKey) - Method in class com.couchbase.lite.BlobStore
 
BlockingQueueListener<E> - Interface in com.couchbase.lite.support
Created by hideki on 12/17/14.
BlockingQueueListener.EventType - Enum in com.couchbase.lite.support
 
Body - Class in com.couchbase.lite.internal
A request/response/document body, stored as either JSON or a Map
Body(byte[]) - Constructor for class com.couchbase.lite.internal.Body
 
Body(Map<String, Object>) - Constructor for class com.couchbase.lite.internal.Body
 
Body(byte[], long) - Constructor for class com.couchbase.lite.internal.Body
 
Body(Map<String, Object>, long) - Constructor for class com.couchbase.lite.internal.Body
 
Body(List<?>) - Constructor for class com.couchbase.lite.internal.Body
 
Body(byte[], String, String, boolean) - Constructor for class com.couchbase.lite.internal.Body
 
body - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
body - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
booleanForQuery(SQLiteStorageEngine, String, String[]) - Static method in class com.couchbase.lite.util.SQLiteUtils
 
buf() - Method in class com.couchbase.lite.support.CustomByteArrayOutputStream
 
BufferInputStream - Class in com.couchbase.lite.router
 
BufferInputStream(BufferOutputStream) - Constructor for class com.couchbase.lite.router.BufferInputStream
 
BufferOutputStream - Class in com.couchbase.lite.router
 
BufferOutputStream() - Constructor for class com.couchbase.lite.router.BufferOutputStream
 
buildQuery(String[], String, String, String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery.
buildQuery(String[], String, String[], String, String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Deprecated.
This method's signature is misleading since no SQL parameter substitution is carried out. The selection arguments parameter does not get used at all. To avoid confusion, call SQLiteQueryBuilder.buildQuery(String[], String, String, String, String, String) instead.
buildQueryString(boolean, String, String[], String, String, String, String, String) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Build an SQL query string from the given clauses.
buildRelativeURLString(String) - Method in class com.couchbase.lite.replicator.Replication
 
buildUnionQuery(String[], String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Given a set of subqueries, all of which are SELECT statements, construct a query that returns the union of what those subqueries return.
buildUnionSubQuery(String, String[], Set<String>, int, String, String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery.
buildUnionSubQuery(String, String[], Set<String>, int, String, String, String[], String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Deprecated.
This method's signature is misleading since no SQL parameter substitution is carried out. The selection arguments parameter does not get used at all. To avoid confusion, call SQLiteQueryBuilder.buildUnionSubQuery(java.lang.String, java.lang.String[], java.util.Set<java.lang.String>, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String) instead.
bulkRevsToPull - Variable in class com.couchbase.lite.replicator.PullerInternal
 
byteArrayResultForQuery(SQLiteStorageEngine, String, String[]) - Static method in class com.couchbase.lite.util.SQLiteUtils
 
ByteBuffer - Class in com.couchbase.lite.router
Created by pum on 29.06.2015.
ByteBuffer() - Constructor for class com.couchbase.lite.router.ByteBuffer
 
bytesToHex(byte[]) - Static method in class com.couchbase.lite.util.Utils
 

C

Cache<K,V> - Class in com.couchbase.lite
An in-memory object cache.
Cache() - Constructor for class com.couchbase.lite.Cache
 
Cache(int) - Constructor for class com.couchbase.lite.Cache
 
call(boolean, Throwable) - Method in interface com.couchbase.lite.auth.LoginAuthorizer.ContinuationBlock
 
call - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
callback(URL, URL, OIDCLoginContinuation) - Method in interface com.couchbase.lite.auth.OIDCLoginCallback
A callback method called when the OpenID Connect Login flow requires the user to authenticate with the Originating Party (OP).
callback(URL, Throwable) - Method in interface com.couchbase.lite.auth.OIDCLoginContinuation
Callback method that should be called when the login UI completes, so that Couchbase Lite's replicator can continue or stop.
callback(String[]) - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.CustomFunction
 
CALLBACK_ERROR - Static variable in class com.couchbase.lite.Status
 
canBulkGet - Variable in class com.couchbase.lite.replicator.PullerInternal
 
cancel() - Method in class com.couchbase.lite.BlobStoreWriter
Call this to cancel before finishing the data.
cancel() - Method in class com.couchbase.lite.internal.database.CancellationSignal
Cancels the operation and signals the cancellation listener.
cancel() - Method in class com.couchbase.lite.replicator.RemoteRequest
 
cancel(boolean) - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
cancel() - Method in interface com.couchbase.lite.util.CancellableRunnable
 
CancellableRunnable - Interface in com.couchbase.lite.util
 
CancellationSignal - Class in com.couchbase.lite.internal.database
Provides the ability to cancel an operation in progress.
CancellationSignal() - Constructor for class com.couchbase.lite.internal.database.CancellationSignal
Creates a cancellation signal, initially not canceled.
CancellationSignal.OnCancelListener - Interface in com.couchbase.lite.internal.database
Listens for cancellation.
canRemoveOldAttachmentsDir() - Method in class com.couchbase.lite.DatabaseUpgrade
 
CBLCollateRevIDs(String, String) - Static method in class com.couchbase.lite.internal.RevisionInternal
 
CBLCompareRevIDs(String, String) - Static method in class com.couchbase.lite.internal.RevisionInternal
 
CHANGE_TRACKER_RESTART_DELAY_MS - Static variable in class com.couchbase.lite.replicator.PullerInternal
 
changed(Database.ChangeEvent) - Method in interface com.couchbase.lite.Database.ChangeListener
 
changed(Document.ChangeEvent) - Method in interface com.couchbase.lite.Document.ChangeListener
 
changed(Database.ChangeEvent) - Method in class com.couchbase.lite.LiveQuery
 
changed(LiveQuery.ChangeEvent) - Method in interface com.couchbase.lite.LiveQuery.ChangeListener
 
changed(BlockingQueueListener.EventType, Object, BlockingQueue) - Method in class com.couchbase.lite.replicator.PullerInternal
Implementation of BlockingQueueListener.changed(EventType, Object, BlockingQueue) for Pull Replication

Note: Pull replication needs to send IDLE after PUT /{db}/_local.

changed(Database.ChangeEvent) - Method in class com.couchbase.lite.replicator.PusherInternal
- (void) dbChanged: (NSNotification*)n in CBLRestPusher.m
changed(Replication.ChangeEvent) - Method in class com.couchbase.lite.replicator.Replication
This is called back for changes from the ReplicationInternal.
changed(Replication.ChangeEvent) - Method in interface com.couchbase.lite.replicator.Replication.ChangeListener
 
changed(Database.ChangeEvent) - Method in class com.couchbase.lite.router.Router
Implementation of ChangeListener
changed(BlockingQueueListener.EventType, E, BlockingQueue<E>) - Method in interface com.couchbase.lite.support.BlockingQueueListener
 
changeEncryptionKey(SymmetricKey) - Method in class com.couchbase.lite.BlobStore
 
changeEncryptionKey(Object) - Method in class com.couchbase.lite.Database
Changes the database's encryption key, or removes encryption if the new key is null.
ChangeEvent(Database, boolean, List<DocumentChange>) - Constructor for class com.couchbase.lite.Database.ChangeEvent
 
ChangeEvent(Document, DocumentChange) - Constructor for class com.couchbase.lite.Document.ChangeEvent
 
ChangeEvent(ReplicationInternal) - Constructor for class com.couchbase.lite.replicator.Replication.ChangeEvent
 
ChangeEvent(ReplicationInternal, ReplicationStateTransition) - Constructor for class com.couchbase.lite.replicator.Replication.ChangeEvent
 
ChangeEvent(ReplicationInternal, Throwable) - Constructor for class com.couchbase.lite.replicator.Replication.ChangeEvent
 
changes(SQLiteStorageEngine) - Static method in class com.couchbase.lite.util.SQLiteUtils
 
CHANGES_FEED_TRUNCATED - Static variable in class com.couchbase.lite.Status
 
changesFeedPOSTBody() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
changesFeedPOSTBodyMap() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
ChangesOptions - Class in com.couchbase.lite
Options for _changes feed
ChangesOptions() - Constructor for class com.couchbase.lite.ChangesOptions
 
ChangesOptions(int, boolean, boolean, boolean) - Constructor for class com.couchbase.lite.ChangesOptions
 
changesSince(long, ChangesOptions, ReplicationFilter, Map<String, Object>) - Method in class com.couchbase.lite.Database
 
changesSince(long, ChangesOptions, ReplicationFilter, Map<String, Object>) - Method in class com.couchbase.lite.store.SQLiteStore
 
changesSince(long, ChangesOptions, ReplicationFilter, Map<String, Object>) - Method in interface com.couchbase.lite.store.Store
Returns all database changes with sequences greater than `lastSequence`.
ChangeTracker - Class in com.couchbase.lite.replicator
Reads the continuous-mode _changes feed of a database, and sends the individual change entries to its client's changeTrackerReceivedChange()
ChangeTracker(URL, ChangeTracker.ChangeTrackerMode, boolean, Object, ChangeTrackerClient) - Constructor for class com.couchbase.lite.replicator.ChangeTracker
 
ChangeTracker.ChangeTrackerMode - Enum in com.couchbase.lite.replicator
 
ChangeTrackerBackoff - Class in com.couchbase.lite.replicator
 
ChangeTrackerBackoff() - Constructor for class com.couchbase.lite.replicator.ChangeTrackerBackoff
 
changeTrackerCaughtUp() - Method in interface com.couchbase.lite.replicator.ChangeTrackerClient
 
changeTrackerCaughtUp() - Method in class com.couchbase.lite.replicator.PullerInternal
 
ChangeTrackerClient - Interface in com.couchbase.lite.replicator
 
changeTrackerFinished(ChangeTracker) - Method in interface com.couchbase.lite.replicator.ChangeTrackerClient
 
changeTrackerFinished(ChangeTracker) - Method in class com.couchbase.lite.replicator.PullerInternal
 
changeTrackerReceivedChange(Map<String, Object>) - Method in interface com.couchbase.lite.replicator.ChangeTrackerClient
 
changeTrackerReceivedChange(Map<String, Object>) - Method in class com.couchbase.lite.replicator.PullerInternal
 
changeTrackerStopped(ChangeTracker) - Method in interface com.couchbase.lite.replicator.ChangeTrackerClient
 
changeTrackerStopped(ChangeTracker) - Method in class com.couchbase.lite.replicator.PullerInternal
 
ChangeValidator - Interface in com.couchbase.lite
A delegate that can validate a key/value change.
CHUNK_SIZE - Static variable in class com.couchbase.lite.util.Utils
 
cleanDirectory(File) - Static method in class com.couchbase.lite.support.FileDirUtils
 
cleanup() - Method in class com.couchbase.lite.support.action.Action
 
cleanup() - Method in interface com.couchbase.lite.support.action.AtomicAction
Cleans up after all actions have completed.
clear() - Method in class com.couchbase.lite.Cache
 
clear() - Method in class com.couchbase.lite.internal.database.ContentValues
Removes all values.
clear() - Method in class com.couchbase.lite.support.Batcher
Empties the queue without processing any of the objects in it.
clear() - Method in interface com.couchbase.lite.support.ClearableCookieJar
 
clear() - Method in class com.couchbase.lite.support.LazyJsonObject
 
clear() - Method in class com.couchbase.lite.support.PersistentCookieJar
 
clear() - Method in class com.couchbase.lite.support.WeakValueHashMap
 
ClearableCookieJar - Interface in com.couchbase.lite.support
Created by hideki on 5/18/16.
clearAuthenticationStores() - Method in class com.couchbase.lite.replicator.Replication
Deletes any persistent credentials (passwords, auth tokens...) associated with this replication's CBLAuthenticator.
clearBindings() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
Clears all existing bindings.
clearDocumentCache() - Method in class com.couchbase.lite.Database
Empties the cache of recently used Document objects.
clearExpired(Date) - Method in interface com.couchbase.lite.support.ClearableCookieJar
 
clearExpired(Date) - Method in class com.couchbase.lite.support.PersistentCookieJar
 
clientFactory - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
clientFactory - Variable in class com.couchbase.lite.replicator.Replication
 
clone() - Method in class com.couchbase.lite.RevisionList
 
cloneIfNotEmpty(String[]) - Static method in class com.couchbase.lite.util.ArrayUtils
 
close() - Method in class com.couchbase.lite.Database
 
close() - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Closes the Cursor, releasing all of its resources and making it completely invalid.
close() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteClosable
Releases a reference to the object, closing the object if the last reference was released.
close() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Closes the connection pool.
close() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
close() - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Close this object and release any resources associated with it.
close() - Method in class com.couchbase.lite.Manager
Releases all resources used by the Manager instance and closes all its databases.
close() - Method in class com.couchbase.lite.router.BufferOutputStream
 
close() - Method in interface com.couchbase.lite.storage.Cursor
 
close() - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
close() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
close() - Method in class com.couchbase.lite.store.SQLiteStore
 
close() - Method in class com.couchbase.lite.store.SQLiteViewStore
 
close() - Method in interface com.couchbase.lite.store.Store
Closes storage before it's deallocated.
close() - Method in interface com.couchbase.lite.store.ViewStore
Closes the storage.
close() - Method in class com.couchbase.lite.support.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close() - Method in class com.couchbase.lite.View
 
CollatorUtils - Class in com.couchbase.lite.internal.database.util
 
CollatorUtils() - Constructor for class com.couchbase.lite.internal.database.util.CollatorUtils
 
collectDbStats(ArrayList<SQLiteDebug.DbStats>) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Collects statistics about database connection memory usage.
CollectionUtils - Class in com.couchbase.lite.util
Created by andy on 15/04/2014.
CollectionUtils() - Constructor for class com.couchbase.lite.util.CollectionUtils
 
CollectionUtils.Functor<T,U> - Interface in com.couchbase.lite.util
 
CollectionUtils.Predicate<T> - Interface in com.couchbase.lite.util
 
columnNames - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteStatementInfo
The names of all columns in the result set of the statement.
com.couchbase.lite - package com.couchbase.lite
 
com.couchbase.lite.auth - package com.couchbase.lite.auth
 
com.couchbase.lite.internal - package com.couchbase.lite.internal
 
com.couchbase.lite.internal.database - package com.couchbase.lite.internal.database
 
com.couchbase.lite.internal.database.cursor - package com.couchbase.lite.internal.database.cursor
 
com.couchbase.lite.internal.database.log - package com.couchbase.lite.internal.database.log
 
com.couchbase.lite.internal.database.security - package com.couchbase.lite.internal.database.security
 
com.couchbase.lite.internal.database.sqlite - package com.couchbase.lite.internal.database.sqlite
 
com.couchbase.lite.internal.database.sqlite.exception - package com.couchbase.lite.internal.database.sqlite.exception
 
com.couchbase.lite.internal.database.util - package com.couchbase.lite.internal.database.util
 
com.couchbase.lite.replicator - package com.couchbase.lite.replicator
 
com.couchbase.lite.router - package com.couchbase.lite.router
 
com.couchbase.lite.storage - package com.couchbase.lite.storage
 
com.couchbase.lite.store - package com.couchbase.lite.store
 
com.couchbase.lite.support - package com.couchbase.lite.support
 
com.couchbase.lite.support.action - package com.couchbase.lite.support.action
 
com.couchbase.lite.support.security - package com.couchbase.lite.support.security
 
com.couchbase.lite.util - package com.couchbase.lite.util
 
compact() - Method in class com.couchbase.lite.Database
Compacts the database file by purging non-current JSON bodies, pruning revisions older than the maxRevTreeDepth, deleting unused attachment files, and vacuuming the SQLite database.
compact() - Method in class com.couchbase.lite.internal.Body
 
compact() - Method in class com.couchbase.lite.store.SQLiteStore
 
compact() - Method in interface com.couchbase.lite.store.Store
Explicitly compacts document storage.
compactEasy() - Method in class com.couchbase.lite.internal.Body
 
compareStringsUnicode(String, String) - Static method in class com.couchbase.lite.internal.database.util.CollatorUtils
 
compareStringsUnicode(String, String) - Static method in class com.couchbase.lite.storage.SQLiteJsonCollator
 
compileFilterFunction(String, String) - Method in interface com.couchbase.lite.ReplicationFilterCompiler
Compile Filter Function
compileMap(String, String) - Method in interface com.couchbase.lite.ViewCompiler
Compiles source code into a MapDelegate.
compileReduce(String, String) - Method in interface com.couchbase.lite.ViewCompiler
Compiles source code into a ReduceDelegate.
compileStatement(String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Compiles an SQL statement into a reusable pre-compiled statement object.
completed(QueryEnumerator, Throwable) - Method in interface com.couchbase.lite.Query.QueryCompleteListener
 
compressByGzip(byte[]) - Static method in class com.couchbase.lite.util.Utils
 
compressedRequest - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
concat(byte[], byte[]) - Static method in class com.couchbase.lite.util.ArrayUtils
 
concat(byte[], int, int, byte[], int, int) - Static method in class com.couchbase.lite.util.ArrayUtils
 
concatenateWhere(String, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Concatenates two SQL WHERE clauses, handling empty or null values.
CONFLICT - Static variable in class com.couchbase.lite.Status
 
CONFLICT_ABORT - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
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.couchbase.lite.internal.database.sqlite.SQLiteDatabase
When a constraint violation occurs, the command aborts with a return code SQLITE_CONSTRAINT.
CONFLICT_IGNORE - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
When a constraint violation occurs, the one row that contains the constraint violation is not inserted or changed.
CONFLICT_IGNORE - Static variable in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
CONFLICT_NONE - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Use the following when no conflict action is specified.
CONFLICT_NONE - Static variable in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
CONFLICT_REPLACE - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
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_REPLACE - Static variable in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
CONFLICT_ROLLBACK - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
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.
connect() - Method in class com.couchbase.lite.router.URLConnection
 
CONNECTION_FLAG_INTERACTIVE - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Connection flag: Connection is being used interactively.
CONNECTION_FLAG_PRIMARY_CONNECTION_AFFINITY - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Connection flag: Primary connection affinity.
CONNECTION_FLAG_READ_ONLY - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Connection flag: Read-only.
contains(Object) - Method in class com.couchbase.lite.support.LazyJsonArray
 
containsKey(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Returns true if this object has the named value.
containsKey(Object) - Method in class com.couchbase.lite.support.LazyJsonObject
 
containsKey(Object) - Method in class com.couchbase.lite.support.WeakValueHashMap
 
containsValue(Object) - Method in class com.couchbase.lite.support.LazyJsonObject
 
containsValue(Object) - Method in class com.couchbase.lite.support.WeakValueHashMap
 
ContentValues - Class in com.couchbase.lite.internal.database
This class is used to store a set of values that the ContentResolver can process.
ContentValues() - Constructor for class com.couchbase.lite.internal.database.ContentValues
Creates an empty set of values using the default initial size
ContentValues(int) - Constructor for class com.couchbase.lite.internal.database.ContentValues
Creates an empty set of values using the given initial size
ContentValues(ContentValues) - Constructor for class com.couchbase.lite.internal.database.ContentValues
Creates a set of values copied from the given set
Context - Interface in com.couchbase.lite
The Couchbase Lite context is an abstract wrapper around platform specific context.
ConversionUtils - Class in com.couchbase.lite.util
Utility class for converting
ConversionUtils() - Constructor for class com.couchbase.lite.util.ConversionUtils
 
convertFromHex(String) - Static method in class com.couchbase.lite.BlobKey
 
convertToHex(byte[]) - Static method in class com.couchbase.lite.BlobKey
 
convertToHex(byte[]) - Static method in class com.couchbase.lite.Misc
 
copy() - Method in class com.couchbase.lite.internal.RevisionInternal
 
copy(InputStream, OutputStream) - Static method in class com.couchbase.lite.util.IOUtils
 
copyFile(File, File) - Static method in class com.couchbase.lite.support.FileDirUtils
 
copyFolder(File, File) - Static method in class com.couchbase.lite.support.FileDirUtils
 
copyLarge(InputStream, OutputStream) - Static method in class com.couchbase.lite.util.IOUtils
 
copyStream(InputStream, OutputStream) - Static method in class com.couchbase.lite.util.StreamUtils
 
copyStreamsToFolder(Iterator<Map.Entry<String, InputStream>>, File) - Static method in class com.couchbase.lite.util.StreamUtils
 
copyStreamToFile(InputStream, File) - Static method in class com.couchbase.lite.util.StreamUtils
 
copyWithDocID(String, String) - Method in class com.couchbase.lite.internal.RevisionInternal
 
copyWithoutBody() - Method in class com.couchbase.lite.internal.RevisionInternal
 
CORRUPT_ERROR - Static variable in class com.couchbase.lite.Status
 
CouchbaseLiteException - Exception in com.couchbase.lite
 
CouchbaseLiteException(int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteException(Status) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteException(String, Status) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteException(String, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteException(String, Throwable, Status) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteException(String, Throwable, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteException(Throwable, Status) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteException(Throwable, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteHttpClientFactory - Class in com.couchbase.lite.support
 
CouchbaseLiteHttpClientFactory(ClearableCookieJar) - Constructor for class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
Constructor
CouchbaseLiteRuntimeException - Exception in com.couchbase.lite
Created by hideki on 9/30/16.
CouchbaseLiteRuntimeException() - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
 
CouchbaseLiteRuntimeException(String) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
 
CouchbaseLiteRuntimeException(String, Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
 
count() - Method in class com.couchbase.lite.BlobStore
 
count() - Method in class com.couchbase.lite.support.Batcher
The number of objects currently in the queue.
count() - Method in class com.couchbase.lite.support.CustomByteArrayOutputStream
 
count() - Method in class com.couchbase.lite.support.SequenceMap
 
count() - Method in class com.couchbase.lite.util.RefCounter
 
CountDown - Class in com.couchbase.lite.util
Created by hideki on 9/14/15.
CountDown(int) - Constructor for class com.couchbase.lite.util.CountDown
 
countDown() - Method in class com.couchbase.lite.util.CountDown
 
create(SQLiteDatabase.CursorFactory) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Create a memory backed SQLite database.
create(K) - Method in class com.couchbase.lite.internal.database.util.LruCache
Called after a cache miss to compute a value for the corresponding key.
create(A, B) - Static method in class com.couchbase.lite.internal.database.util.Pair
Convenience method for creating an appropriately typed pair.
create(Printer, String) - Static method in class com.couchbase.lite.internal.database.util.PrefixPrinter
Creates a new PrefixPrinter.
create(MediaType, BlobStore, BlobKey, long, boolean) - Static method in class com.couchbase.lite.replicator.BlobRequestBody
 
create(K) - Method in class com.couchbase.lite.util.LruCache
Called after a cache miss to compute a value for the corresponding key.
CREATE_IF_NECESSARY - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
createAllDocumentsQuery() - Method in class com.couchbase.lite.Database
Returns a query that matches all documents in the database.
createBasicAuthenticator(String, String) - Static method in class com.couchbase.lite.auth.AuthenticatorFactory
 
createCount() - Method in class com.couchbase.lite.internal.database.util.LruCache
Returns the number of times LruCache.create(Object) returned a value.
createCount() - Method in class com.couchbase.lite.util.LruCache
Returns the number of times LruCache.create(Object) returned a value.
CREATED - Static variable in class com.couchbase.lite.Status
 
createDocument() - Method in class com.couchbase.lite.Database
Creates a new Document object with no properties and a new (random) UUID.
createEncryptor() - Method in class com.couchbase.lite.support.security.SymmetricKey
Create an Encryptor object.
createFacebookAuthenticator(String) - Static method in class com.couchbase.lite.auth.AuthenticatorFactory
 
createLogger() - Static method in class com.couchbase.lite.util.LoggerFactory
 
createOpenIDConnectAuthenticator(OIDCLoginCallback, TokenStore) - Static method in class com.couchbase.lite.auth.AuthenticatorFactory
 
createPersonaAuthenticator(String) - Static method in class com.couchbase.lite.auth.AuthenticatorFactory
 
createPullReplication(URL) - Method in class com.couchbase.lite.Database
Creates a new Replication that will pull from the source Database at the given url.
createPushReplication(URL) - Method in class com.couchbase.lite.Database
Creates a new Replication that will push to the target Database at the given url.
createQuery() - Method in class com.couchbase.lite.View
Creates a new query object for this view.
createRevision() - Method in class com.couchbase.lite.Document
Creates an unsaved new revision whose parent is the currentRevision, or which will be the first revision if the document doesn't exist yet.
createRevision() - Method in class com.couchbase.lite.SavedRevision
Creates a new mutable child revision whose properties and attachments are initially identical to this one's, which you can modify and then save.
createRevision(Map<String, Object>) - Method in class com.couchbase.lite.SavedRevision
Creates and saves a new revision with the given properties.
createStorageEngine() - Method in interface com.couchbase.lite.storage.SQLiteStorageEngineFactory
 
createURLStreamHandler(String) - Method in class com.couchbase.lite.router.URLStreamHandlerFactory
 
CreateUUID() - Static method in class com.couchbase.lite.Misc
 
CredentialAuthorizer - Interface in com.couchbase.lite.auth
Created by hideki on 6/16/16.
CRLF - Static variable in class com.couchbase.lite.util.Base64
Encoder flag bit to indicate lines should be terminated with a CRLF pair instead of just an LF.
Cursor - Interface in com.couchbase.lite.internal.database.cursor
 
Cursor - Interface in com.couchbase.lite.storage
 
cursorClosed() - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteCursorDriver
Called by a SQLiteCursor when it it closed to destroy this object as well.
cursorClosed() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver
 
cursorDeactivated() - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteCursorDriver
Called by a SQLiteCursor when it is released.
cursorDeactivated() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver
 
cursorDoubleToContentValuesIfPresent(Cursor, ContentValues, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Reads a Double out of a column in a Cursor and writes it to a ContentValues.
cursorFloatToContentValuesIfPresent(Cursor, ContentValues, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Reads a Float out of a column in a Cursor and writes it to a ContentValues.
cursorIntToContentValuesIfPresent(Cursor, ContentValues, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Reads a Integer out of a column in a Cursor and writes it to a ContentValues.
cursorLongToContentValuesIfPresent(Cursor, ContentValues, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Reads a Long out of a column in a Cursor and writes it to a ContentValues.
cursorRequeried(Cursor) - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteCursorDriver
Called by a SQLiteCursor when it is requeried.
cursorRequeried(Cursor) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver
 
cursorShortToContentValuesIfPresent(Cursor, ContentValues, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Reads a Short out of a column in a Cursor and writes it to a ContentValues.
cursorStringToContentValuesIfPresent(Cursor, ContentValues, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Reads a String out of a column in a Cursor and writes it to a ContentValues.
CustomByteArrayOutputStream - Class in com.couchbase.lite.support
Created by hideki on 5/20/16.
CustomByteArrayOutputStream(int) - Constructor for class com.couchbase.lite.support.CustomByteArrayOutputStream
 
CustomFuture<V> - Interface in com.couchbase.lite.support
Created by hideki on 5/21/15.
CustomHeadersAuthorizer - Interface in com.couchbase.lite.auth
Authorizer that adds custom headers to an HTTP request
CustomLinkedBlockingQueue<E> - Class in com.couchbase.lite.support
Created by hideki on 12/17/14.
CustomLinkedBlockingQueue() - Constructor for class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
CustomLinkedBlockingQueue(BlockingQueueListener) - Constructor for class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
CustomLinkedBlockingQueue(int) - Constructor for class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
CustomLinkedBlockingQueue(Collection) - Constructor for class com.couchbase.lite.support.CustomLinkedBlockingQueue
 

D

d(String, String) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a DEBUG message.
d(String, String, Throwable) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a DEBUG message and log the exception.
d(String, String, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a DEBUG message.
d(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a DEBUG message and log the exception.
d(String, String) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send a DEBUG message.
d(String, String, Throwable) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send a DEBUG message and log the exception.
d(String, String) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
d(String, String, Throwable) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
d(String, String) - Static method in class com.couchbase.lite.util.Log
Send a DEBUG message.
d(String, String, Throwable) - Static method in class com.couchbase.lite.util.Log
Send a DEBUG message and log the exception.
d(String, String, Object...) - Static method in class com.couchbase.lite.util.Log
Send a DEBUG message.
d(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.util.Log
Send a DEBUG message and log the exception.
d(String, String) - Method in interface com.couchbase.lite.util.Logger
Send a DEBUG message.
d(String, String, Throwable) - Method in interface com.couchbase.lite.util.Logger
Send a DEBUG message and log the exception.
d(String, String) - Method in class com.couchbase.lite.util.SystemLogger
 
d(String, String, Throwable) - Method in class com.couchbase.lite.util.SystemLogger
 
Database - Class in com.couchbase.lite
A CouchbaseLite Database.
Database(String, String, Manager, boolean) - Constructor for class com.couchbase.lite.Database
Constructor
Database.ChangeEvent - Class in com.couchbase.lite
The type of event raised when a Database changes.
Database.ChangeListener - Interface in com.couchbase.lite
A delegate that can be used to listen for Database changes.
Database.DatabaseListener - Interface in com.couchbase.lite
 
databaseClosing() - Method in interface com.couchbase.lite.Database.DatabaseListener
 
databaseClosing() - Method in class com.couchbase.lite.router.Router
implementation of Database.DatabaseListener
DatabaseErrorHandler - Interface in com.couchbase.lite.internal.database
An interface to let the apps define the actions to take when the following errors are detected database corruption
databaseExists(String) - Method in class com.couchbase.lite.store.SQLiteStore
 
databaseExists(String) - Method in interface com.couchbase.lite.store.Store
Preflight to see if a database file exists in this directory.
DatabaseOptions - Class in com.couchbase.lite
Options for opening a database.
DatabaseOptions() - Constructor for class com.couchbase.lite.DatabaseOptions
 
DatabasePlatformSupport - Interface in com.couchbase.lite.internal.database
Provide platform dependent support to the Database.
databaseStorageChanged(DocumentChange) - Method in class com.couchbase.lite.Database
in CBLDatabase+Internal.m - (void) databaseStorageChanged:(CBLDatabaseChange *)change
databaseStorageChanged(DocumentChange) - Method in interface com.couchbase.lite.store.StoreDelegate
Called whenever a revision is added to the database (but not for local docs or for purges.)
DatabaseUpgrade - Class in com.couchbase.lite
Imports from the v1.0 SQLite database format into a CBLDatabase.
DatabaseUpgrade(Manager, Database, String) - Constructor for class com.couchbase.lite.DatabaseUpgrade
 
DatabaseUtils - Class in com.couchbase.lite.internal.database.util
Static utility methods for dealing with databases and Cursors.
DatabaseUtils() - Constructor for class com.couchbase.lite.internal.database.util.DatabaseUtils
 
DatabaseUtils.InsertHelper - Class in com.couchbase.lite.internal.database.util
Deprecated.
Use SQLiteStatement instead.
db - Variable in class com.couchbase.lite.replicator.Replication
 
DB_BUSY - Static variable in class com.couchbase.lite.Status
 
DB_ERROR - Static variable in class com.couchbase.lite.Status
 
dbName - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDebug.DbStats
name of the database
dbSize - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDebug.DbStats
the database size
DbStats(String, long, long, int) - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteDebug.DbStats
 
DEBUG - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
DEBUG - Static variable in class com.couchbase.lite.util.Log
 
DEBUG_LOG_SLOW_QUERIES - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDebug
 
DECODE - Static variable in class com.couchbase.lite.support.Base64
Specify decoding in first bit.
decode(byte[]) - Static method in class com.couchbase.lite.support.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class com.couchbase.lite.support.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class com.couchbase.lite.support.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class com.couchbase.lite.support.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String) - Method in class com.couchbase.lite.support.SerializableCookie
 
decode(String, int) - Static method in class com.couchbase.lite.util.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(byte[], int) - Static method in class com.couchbase.lite.util.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(byte[], int, int, int) - Static method in class com.couchbase.lite.util.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(String) - Static method in class com.couchbase.lite.util.URIUtils
 
decode(String, boolean, Charset) - Static method in class com.couchbase.lite.util.URIUtils
 
decodeFileToFile(String, String) - Static method in class com.couchbase.lite.support.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class com.couchbase.lite.support.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class com.couchbase.lite.support.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class com.couchbase.lite.support.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int, ClassLoader) - Static method in class com.couchbase.lite.support.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decompressByGzip(byte[]) - Static method in class com.couchbase.lite.util.Utils
 
decryptData(byte[]) - Method in class com.couchbase.lite.support.security.SymmetricKey
Decrypt the encrypted byte array data.
decryptStream(InputStream) - Method in class com.couchbase.lite.support.security.SymmetricKey
Decrypt the input stream.
DeepClone - Class in com.couchbase.lite.util
Deep clone instead of shallow cloning.
deepClone(T) - Static method in class com.couchbase.lite.util.DeepClone
 
DEFAULT - Static variable in class com.couchbase.lite.util.Base64
Default values for encoder/decoder flags.
DEFAULT_CONNECTION_TIMEOUT_SECONDS - Static variable in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
DEFAULT_HEARTBEAT - Static variable in class com.couchbase.lite.replicator.Replication
 
DEFAULT_MAX_REVS - Static variable in class com.couchbase.lite.Database
 
DEFAULT_MAX_TIMEOUT_FOR_SHUTDOWN - Static variable in class com.couchbase.lite.replicator.Replication
 
DEFAULT_OPTIONS - Static variable in class com.couchbase.lite.Manager
 
DEFAULT_READ_TIMEOUT - Static variable in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
DEFAULT_SLOW_QUERY_THRESHOLD - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDebug
 
DEFAULT_SO_TIMEOUT_SECONDS - Static variable in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
DEFAULT_TIME_TO_WAIT_4_SHUTDOWN - Static variable in class com.couchbase.lite.util.Utils
 
DEFAULT_TIME_TO_WAIT_4_SHUTDOWNNOW - Static variable in class com.couchbase.lite.util.Utils
 
DEFAULT_WRITE_TIMEOUT - Static variable in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
DefaultDatabaseErrorHandler - Class in com.couchbase.lite.internal.database
Default class used to define the actions to take when the database corruption is reported by sqlite.
DefaultDatabaseErrorHandler() - Constructor for class com.couchbase.lite.internal.database.DefaultDatabaseErrorHandler
 
delete() - Method in class com.couchbase.lite.Database
Deletes the database.
delete() - Method in class com.couchbase.lite.Document
Deletes this document by adding a deletion revision.
delete(String, String, String[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Convenience method for deleting rows in the database.
delete(String, String, String[]) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
delete(String, String, String[]) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
delete() - Method in class com.couchbase.lite.View
Deletes the view, persistently.
deleteBlobs() - Method in class com.couchbase.lite.BlobStore
 
deleteBlobsExceptWithKeys(List<BlobKey>) - Method in class com.couchbase.lite.BlobStore
 
deleteCookie(String) - Method in class com.couchbase.lite.replicator.Replication
Deletes an HTTP cookie for the Replication.
deleteCookie(String) - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
deleteCookie(URL) - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
deleteCookie(String) - Method in interface com.couchbase.lite.support.HttpClientFactory
 
deleteCookie(URL) - Method in interface com.couchbase.lite.support.HttpClientFactory
 
deleteCookie(Cookie) - Method in class com.couchbase.lite.support.PersistentCookieJar
Non-standard helper method, to delete cookie
DELETED - Static variable in class com.couchbase.lite.Status
 
deleteDatabase(File) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Deletes a database including its journal file and other auxiliary files that may have been created by the database engine.
deleteDocument() - Method in class com.couchbase.lite.SavedRevision
Deletes the document by creating a new deletion-marker revision.
deletedRevsToPull - Variable in class com.couchbase.lite.replicator.PullerInternal
 
deleteFile(String, String) - Static method in class com.couchbase.lite.support.action.Action
Deletes the file/directory at the given path, if it exists.
deleteIndex() - Method in class com.couchbase.lite.store.SQLiteViewStore
 
deleteIndex() - Method in interface com.couchbase.lite.store.ViewStore
Erases the view's _index.
deleteIndex() - Method in class com.couchbase.lite.View
Deletes the view's persistent index.
deleteLocalDocument(String) - Method in class com.couchbase.lite.Database
Deletes the local document with the given ID.
deleteRecursive(File) - Static method in class com.couchbase.lite.support.FileDirUtils
 
deleteSQLiteFiles() - Method in class com.couchbase.lite.DatabaseUpgrade
 
deleteTokens(URL, String) - Method in class com.couchbase.lite.auth.MemTokenStore
 
deleteTokens(URL, String) - Method in interface com.couchbase.lite.auth.TokenStore
Delete tokens from the token store
deleteView() - Method in class com.couchbase.lite.store.SQLiteViewStore
 
deleteView() - Method in interface com.couchbase.lite.store.ViewStore
Deletes the view's storage (metadata and _index), removing it from the database.
derivePBKDF2SHA256Key(String, byte[], int) - Static method in class com.couchbase.lite.internal.database.security.Key
 
derivePBKDF2SHA256Key(String, byte[], int) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
derivePBKDF2SHA256Key(String, byte[], int) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
derivePBKDF2SHA256Key(String, byte[], int) - Method in interface com.couchbase.lite.store.EncryptableStore
A utility method for deriving PBKDF2-SHA256 based key from the password.
derivePBKDF2SHA256Key(String, byte[], int) - Method in class com.couchbase.lite.store.SQLiteStore
 
digestFromRevID(String) - Static method in class com.couchbase.lite.internal.RevisionInternal
 
direction - Variable in class com.couchbase.lite.replicator.Replication
 
disableWriteAheadLogging() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
This method disables the features enabled by SQLiteDatabase.enableWriteAheadLogging().
disconnect() - Method in class com.couchbase.lite.router.URLConnection
 
DLog - Class in com.couchbase.lite.internal.database.log
 
DLog() - Constructor for class com.couchbase.lite.internal.database.log.DLog
 
DO_BREAK_LINES - Static variable in class com.couchbase.lite.support.Base64
Do break lines when encoding.
do_DELETE_Attachment(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_DELETE_Database(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_DELETE_Document(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GET_active_tasks(Database, String, String) - Method in class com.couchbase.lite.router.Router
TODO: CBL Java Core codes are out of sync with CBL iOS.
do_GET_all_dbs(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GET_Attachment(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GET_Database(Database, String, String) - Method in class com.couchbase.lite.router.Router
DATABASE REQUESTS: *
do_GET_DesignDocument(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GET_Document(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GET_Document_all_docs(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GET_Document_changes(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GET_session(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GET_uuids(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_GETRoot(Database, String, String) - Method in class com.couchbase.lite.router.Router
SERVER REQUESTS: *
do_METHOD_NOT_ALLOWED(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_Database(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_DesignDocument(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_Document_all_docs(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_Document_bulk_docs(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_Document_changes(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_Document_compact(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_Document_ensure_full_commit(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_Document_purge(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_Document_revs_diff(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_facebook_token(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_persona_assertion(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_POST_replicate(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_PUT_Attachment(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_PUT_Database(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_PUT_Document(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
do_UNKNOWN(Database, String, String) - Method in class com.couchbase.lite.router.Router
 
Document - Class in com.couchbase.lite
A CouchbaseLite document.
Document(Database, String) - Constructor for class com.couchbase.lite.Document
Constructor
document - Variable in class com.couchbase.lite.Revision
The document this is a revision of
Document.ChangeEvent - Class in com.couchbase.lite
The type of event raised when a Document changes.
Document.ChangeListener - Interface in com.couchbase.lite
A delegate that can be used to listen for Document changes.
Document.DocumentUpdater - Interface in com.couchbase.lite
A delegate that can be used to update a Document.
DocumentChange - Class in com.couchbase.lite
Identifies a change to a database, that is, a newly added document revision.
DocumentChange(RevisionInternal, String, boolean, URL) - Constructor for class com.couchbase.lite.DocumentChange
 
DocumentChange(String) - Constructor for class com.couchbase.lite.DocumentChange
 
documentPropertiesFromJSON(byte[], String, String, boolean, long) - Method in class com.couchbase.lite.store.SQLiteStore
 
DONT_GUNZIP - Static variable in class com.couchbase.lite.support.Base64
Specify that gzipped data should not be automatically gunzipped.
dontLog404 - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
downloadsToInsert - Variable in class com.couchbase.lite.replicator.PullerInternal
 
dump(Printer, boolean) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Dumps debugging information about this connection.
dump(Printer, boolean) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Dumps debugging information about this connection pool.
dump() - Method in class com.couchbase.lite.store.SQLiteViewStore
 
dump() - Method in interface com.couchbase.lite.store.ViewStore
Methods for debugging
dump() - Method in class com.couchbase.lite.View
 
DUPLICATE - Static variable in class com.couchbase.lite.Status
 

E

e(String, String) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send an ERROR message.
e(String, String, Throwable) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a ERROR message and log the exception.
e(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a ERROR message and log the exception.
e(String, String, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a ERROR message.
e(String, String) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send an ERROR message.
e(String, String, Throwable) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send a ERROR message and log the exception.
e(String, String) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
e(String, String, Throwable) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
e(String, String) - Static method in class com.couchbase.lite.util.Log
Send an ERROR message.
e(String, String, Throwable) - Static method in class com.couchbase.lite.util.Log
Send a ERROR message and log the exception.
e(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.util.Log
Send a ERROR message and log the exception.
e(String, String, Object...) - Static method in class com.couchbase.lite.util.Log
Send a ERROR message.
e(String, String) - Method in interface com.couchbase.lite.util.Logger
Send an ERROR message.
e(String, String, Throwable) - Method in interface com.couchbase.lite.util.Logger
Send a ERROR message and log the exception.
e(String, String) - Method in class com.couchbase.lite.util.SystemLogger
 
e(String, String, Throwable) - Method in class com.couchbase.lite.util.SystemLogger
 
emit(Object, Object) - Method in interface com.couchbase.lite.Emitter
 
emit(Object, Object, long) - Method in class com.couchbase.lite.store.SQLiteViewStore
 
Emitter - Interface in com.couchbase.lite
A delegate that can be invoked to add key/values to a View during a MapDelegate call.
ENABLE_WRITE_AHEAD_LOGGING - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Open flag: Flag for SQLiteDatabase.openDatabase(java.lang.String, com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.CursorFactory, int) to open the database file with write-ahead logging enabled by default.
enableLogging(String, int) - Static method in class com.couchbase.lite.internal.database.log.DLog
Enable logging for a particular tag / loglevel combo
enableLogging(String, int) - Static method in class com.couchbase.lite.Manager
Enable logging for a particular tag / loglevel combo
enableLogging(String, int) - Static method in class com.couchbase.lite.util.Log
Enable logging for a particular tag / loglevel combo
enableWriteAheadLogging() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
This method enables parallel execution of queries from multiple threads on the same database.
ENCODE - Static variable in class com.couchbase.lite.support.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - Static method in class com.couchbase.lite.support.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class com.couchbase.lite.support.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
encode(Cookie) - Method in class com.couchbase.lite.support.SerializableCookie
 
encode(byte[], int) - Static method in class com.couchbase.lite.util.Base64
Base64-encode the given data and return a newly allocated byte[] with the result.
encode(byte[], int, int, int) - Static method in class com.couchbase.lite.util.Base64
Base64-encode the given data and return a newly allocated byte[] with the result.
encode(String) - Static method in class com.couchbase.lite.util.URIUtils
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme.
encode(String, String) - Static method in class com.couchbase.lite.util.URIUtils
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme.
encodeBytes(byte[]) - Static method in class com.couchbase.lite.support.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class com.couchbase.lite.support.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class com.couchbase.lite.support.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class com.couchbase.lite.support.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class com.couchbase.lite.support.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - Static method in class com.couchbase.lite.support.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeFileToFile(String, String) - Static method in class com.couchbase.lite.support.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class com.couchbase.lite.support.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class com.couchbase.lite.support.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class com.couchbase.lite.support.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class com.couchbase.lite.support.Base64
Convenience method for encoding data to a file.
encodeToString(byte[], int) - Static method in class com.couchbase.lite.util.Base64
Base64-encode the given data and return a newly allocated String with the result.
encodeToString(byte[], int, int, int) - Static method in class com.couchbase.lite.util.Base64
Base64-encode the given data and return a newly allocated String with the result.
encrypt(byte[]) - Method in class com.couchbase.lite.support.security.SymmetricKey.Encryptor
Incrementally encrypt the data.
encrypt(byte[], int, int) - Method in class com.couchbase.lite.support.security.SymmetricKey.Encryptor
Incrementally encrypt a subset of the data with given offset and length information.
EncryptableStore - Interface in com.couchbase.lite.store
 
encryptData(byte[]) - Method in class com.couchbase.lite.support.security.SymmetricKey
Encrypt the byte array data
ENCRYPTION_ALGORITHM - Static variable in class com.couchbase.lite.BlobStore
 
ENCRYPTION_MARKER_FILENAME - Static variable in class com.couchbase.lite.BlobStore
 
Encryptor() - Constructor for class com.couchbase.lite.support.security.SymmetricKey.Encryptor
Create an Encryptor object.
endQuery(SQLiteConnection.PreparedStatement) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
 
endTransaction() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
End a transaction.
endTransaction(CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Ends the current transaction and commits or rolls back changes.
endTransaction() - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
endTransaction() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
endTransaction(boolean) - Method in class com.couchbase.lite.store.SQLiteStore
Commits or aborts (rolls back) a transaction.
entryRemoved(boolean, K, V, V) - Method in class com.couchbase.lite.internal.database.util.LruCache
Called for entries that have been evicted or removed.
entryRemoved(boolean, K, V, V) - Method in class com.couchbase.lite.util.LruCache
Called for entries that have been evicted or removed.
entrySet() - Method in class com.couchbase.lite.support.LazyJsonObject
 
entrySet() - Method in class com.couchbase.lite.support.WeakValueHashMap
 
equals(Object) - Method in class com.couchbase.lite.BlobKey
 
equals(Object) - Method in class com.couchbase.lite.internal.database.ContentValues
 
equals(Object) - Method in class com.couchbase.lite.internal.database.util.Pair
Checks the two objects for equality by delegating to their respective Object.equals(Object) methods.
equals(Object) - Method in class com.couchbase.lite.internal.RevisionInternal
 
equals(Object) - Method in class com.couchbase.lite.QueryEnumerator
Compare this to given QueryEnumerator to check if equals.
equals(Object) - Method in class com.couchbase.lite.QueryRow
Compare this against the given QueryRow for equality.
equals(Object) - Method in class com.couchbase.lite.replicator.ReplicationStateTransition
 
equals(Object) - Method in class com.couchbase.lite.Revision
Compare this revision to the given revision to check for equality.
ERROR - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
ERROR - Static variable in class com.couchbase.lite.util.Log
 
estimate(Object) - Static method in class com.couchbase.lite.util.JSONUtils
 
evictAll() - Method in class com.couchbase.lite.internal.database.util.LruCache
Clear the cache, calling LruCache.entryRemoved(boolean, K, V, V) on each removed entry.
evictAll() - Method in class com.couchbase.lite.util.LruCache
Clear the cache, calling LruCache.entryRemoved(boolean, K, V, V) on each removed entry.
evictAllConnectionsInPool() - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
evictAllConnectionsInPool() - Method in interface com.couchbase.lite.support.HttpClientFactory
 
evictionCount() - Method in class com.couchbase.lite.internal.database.util.LruCache
Returns the number of values that have been evicted.
evictionCount() - Method in class com.couchbase.lite.util.LruCache
Returns the number of values that have been evicted.
EXCEPTION - Static variable in class com.couchbase.lite.Status
 
execSQL(String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Execute a single SQL statement that is NOT a SELECT or any other SQL statement that returns data.
execSQL(String, Object[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Execute a single SQL statement that is NOT a SELECT/INSERT/UPDATE/DELETE.
execSQL(String) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
execSQL(String, Object[]) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
execSQL(String) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
execSQL(String, Object[]) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
execute(String, Object[], CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Executes a statement that does not return a result.
execute(String, Object[], int, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Executes a statement that does not return a result.
execute() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteStatement
Execute this SQL statement, if it is not a SELECT / INSERT / DELETE / UPDATE, for example CREATE / DROP table, view, trigger, index etc.
execute() - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Execute the previously prepared insert or replace using the bound values since the last call to prepareForInsert or prepareForReplace.
execute() - Method in class com.couchbase.lite.replicator.RemoteRequest
Execute remote request
execute() - Method in interface com.couchbase.lite.support.action.ActionBlock
Execute the action.
executeForChangedRowCount(String, Object[], CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Executes a statement that returns a count of the number of rows that were changed.
executeForChangedRowCount(String, Object[], int, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Executes a statement that returns a count of the number of rows that were changed.
executeForLastInsertedRowId(String, Object[], CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Executes a statement that returns the row id of the last row inserted by the statement.
executeForLastInsertedRowId(String, Object[], int, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Executes a statement that returns the row id of the last row inserted by the statement.
executeForLong(String, Object[], CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Executes a statement that returns a single long result.
executeForLong(String, Object[], int, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Executes a statement that returns a single long result.
executeForString(String, Object[], CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Executes a statement that returns a single String result.
executeForString(String, Object[], int, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Executes a statement that returns a single String result.
executeInsert() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteStatement
Execute this SQL statement and return the ID of the row inserted due to this call.
executePrepareStatementNoRelease(String, Object[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
 
executeReleasePrepareStatement(SQLiteConnection.PreparedStatement) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
 
executeRequest(OkHttpClient, Request) - Method in class com.couchbase.lite.replicator.RemoteBulkDownloaderRequest
Execute request
executeRequest(OkHttpClient, Request) - Method in class com.couchbase.lite.replicator.RemoteMultipartDownloaderRequest
Execute request
executeRequest(OkHttpClient, Request) - Method in class com.couchbase.lite.replicator.RemoteRequest
Execute request
executeUpdate(SQLiteStorageEngine, String, String[]) - Static method in class com.couchbase.lite.util.SQLiteUtils
 
executeUpdateDelete() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteStatement
Execute this SQL statement, if the the number of rows affected by execution of this SQL statement is of any importance to the caller - for example, UPDATE / DELETE SQL statements.
exists() - Method in class com.couchbase.lite.Database
 
expandAttachments(RevisionInternal, int, boolean, boolean, Status) - Method in class com.couchbase.lite.Database
Modifies a CBL_Revision's _attachments dictionary by adding the "data" property to all attachments (and removing "stub" and "follows".) GZip-encoded attachments will be unzipped unless options contains the flag kCBLLeaveAttachmentsEncoded.
expirationOfDocument(String) - Method in class com.couchbase.lite.Database
 
expirationOfDocument(String) - Method in class com.couchbase.lite.store.SQLiteStore
 
expirationOfDocument(String) - Method in interface com.couchbase.lite.store.Store
Returns a document's expiration date as a Unix timestamp, or 0 for no expiration.

F

FacebookAuthorizer - Class in com.couchbase.lite.auth
Authenticator impl that knows how to do facebook auth
FacebookAuthorizer(String) - Constructor for class com.couchbase.lite.auth.FacebookAuthorizer
 
factory - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
FIELD_TYPE_BLOB - Static variable in interface com.couchbase.lite.internal.database.cursor.Cursor
Value if the specified column type is blob
FIELD_TYPE_FLOAT - Static variable in interface com.couchbase.lite.internal.database.cursor.Cursor
Value if the specified column type is float
FIELD_TYPE_INTEGER - Static variable in interface com.couchbase.lite.internal.database.cursor.Cursor
Value if the specified column type is integer
FIELD_TYPE_NULL - Static variable in interface com.couchbase.lite.internal.database.cursor.Cursor
Value if the specified column is null
FIELD_TYPE_STRING - Static variable in interface com.couchbase.lite.internal.database.cursor.Cursor
Value if the specified column type is string
FILE_EXTENSION - Static variable in class com.couchbase.lite.BlobStore
 
FileDirUtils - Class in com.couchbase.lite.support
 
FileDirUtils() - Constructor for class com.couchbase.lite.support.FileDirUtils
 
fileForAttachmentDict(Map<String, Object>) - Method in class com.couchbase.lite.Database
 
filter(SavedRevision, Map<String, Object>) - Method in interface com.couchbase.lite.ReplicationFilter
True if the Revision should be included in the pushed replication, otherwise false.
filter(RevisionInternal) - Method in interface com.couchbase.lite.store.RevisionFilter
 
filter(Collection<T>, CollectionUtils.Predicate<T>) - Static method in class com.couchbase.lite.util.CollectionUtils
 
finalize() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
 
finalize() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
 
finalize() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
 
finalize() - Method in class com.couchbase.lite.Query
 
finalize() - Method in class com.couchbase.lite.replicator.PusherInternal
 
finalize() - Method in class com.couchbase.lite.router.Router
 
findActiveReplicator(Replication) - Method in class com.couchbase.lite.Database
 
findAllAttachmentKeys() - Method in class com.couchbase.lite.store.SQLiteStore
- (NSSet*) findAllAttachmentKeys: (NSError**)outError
findAllAttachmentKeys() - Method in interface com.couchbase.lite.store.Store
Returns the keys (unique IDs) of all attachments referred to by existing un-compacted Each revision key is an NSData object containing a CBLBlobKey (raw SHA-1 getDigest) derived from the "digest" property of the attachment's metadata.
findCommonAncestorOf(RevisionInternal, List<String>) - Method in class com.couchbase.lite.Database
 
findCommonAncestorOf(RevisionInternal, List<String>) - Method in class com.couchbase.lite.store.SQLiteStore
Returns the most recent member of revIDs that appears in rev's ancestry.
findCommonAncestorOf(RevisionInternal, List<String>) - Method in interface com.couchbase.lite.store.Store
Returns the most recent member of revIDs that appears in rev's ancestry.
findEditTable(String) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Finds the name of the first table, which is editable.
findMissingRevisions(RevisionList) - Method in class com.couchbase.lite.Database
 
findMissingRevisions(RevisionList) - Method in class com.couchbase.lite.store.SQLiteStore
 
findMissingRevisions(RevisionList) - Method in interface com.couchbase.lite.store.Store
Looks for each given revision in the local database, and removes each one found from the list.
findRowIdColumnIndex(String[]) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Returns column index of "_id" column, or -1 if not found.
finish() - Method in class com.couchbase.lite.BlobStoreWriter
Call this after all the data has been added.
finish() - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
finished() - Method in class com.couchbase.lite.support.MultipartReader
 
finishedPart() - Method in class com.couchbase.lite.replicator.RemoteBulkDownloaderRequest
This method is called when a part is complete.
finishedPart() - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
finishedPart() - Method in interface com.couchbase.lite.support.MultipartReaderDelegate
 
first - Variable in class com.couchbase.lite.internal.database.util.Pair
 
flushAll(boolean) - Method in class com.couchbase.lite.support.Batcher
Sends _all_ the queued objects at once to the processor block.
flushAllAndWait() - Method in class com.couchbase.lite.support.Batcher
 
flushBase64() - Method in class com.couchbase.lite.support.Base64.OutputStream
Method added by PHIL.
FORBIDDEN - Static variable in class com.couchbase.lite.Status
 
forceInsert(RevisionInternal, List<String>, URL) - Method in class com.couchbase.lite.Database
Inserts an already-existing revision replicated from a remote sqliteDb.
forceInsert(RevisionInternal, List<String>, StorageValidation, URL) - Method in class com.couchbase.lite.store.SQLiteStore
Inserts an already-existing revision replicated from a remote sqliteDb.
forceInsert(RevisionInternal, List<String>, StorageValidation, URL) - Method in interface com.couchbase.lite.store.Store
Inserts an already-existing revision (with its revID), plus its ancestry, into a document.
foreignKeyConstraintsEnabled - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
True if foreign key constraints are enabled.
FORESTDB_STORAGE - Static variable in class com.couchbase.lite.Manager
 
forgetCurrentRevision() - Method in class com.couchbase.lite.Document
 
forgetDatabase(Database) - Method in class com.couchbase.lite.Manager
 
forgetIDTokensForServer(URL, TokenStore) - Static method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
forgetView(String) - Method in class com.couchbase.lite.Database
in CBLDatabase+Internal.m - (void) forgetViewNamed: (NSString*)name
fromByteArray(byte[]) - Static method in class com.couchbase.lite.util.ConversionUtils
 

G

generateRevID(byte[], boolean, String) - Method in class com.couchbase.lite.Database
Generates a revision ID for a new revision.
generateRevID(byte[], boolean, String) - Method in interface com.couchbase.lite.store.StoreDelegate
Generates a revision ID for a new revision.
generateRevID(byte[], boolean, String) - Static method in class com.couchbase.lite.support.RevisionUtils
in CBLDatabase+Insertion.m - (NSString*) generateRevID: (CBL_Revision*)rev withJSON: (NSData*)json attachments: (NSDictionary*)attachments prevID: (NSString*) prevID
generationFromRevID(String) - Static method in class com.couchbase.lite.internal.RevisionInternal
 
generationFromRevID(String) - Static method in class com.couchbase.lite.Revision
 
get(K) - Method in class com.couchbase.lite.Cache
 
get(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value.
get(K) - Method in class com.couchbase.lite.internal.database.util.LruCache
Returns the value for key if it exists in the cache or can be created by #create.
get() - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
get(long, TimeUnit) - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
get(int) - Method in class com.couchbase.lite.support.LazyJsonArray
 
get(Object) - Method in class com.couchbase.lite.support.LazyJsonObject
 
get(Object) - Method in class com.couchbase.lite.support.WeakValueHashMap
 
get(K) - Method in class com.couchbase.lite.util.LruCache
Returns the value for key if it exists in the cache or can be created by #create.
getAddedRevision() - Method in class com.couchbase.lite.DocumentChange
 
getAllDatabaseNames() - Method in class com.couchbase.lite.Manager
An array of the names of all existing databases.
getAllDocIds() - Method in class com.couchbase.lite.RevisionList
 
getAllDocs(QueryOptions) - Method in class com.couchbase.lite.Database
 
getAllDocs(QueryOptions) - Method in class com.couchbase.lite.store.SQLiteStore
- (CBLQueryIteratorBlock) getAllDocs: (CBLQueryOptions*)options status: (CBLStatus*)outStatus
getAllDocs(QueryOptions) - Method in interface com.couchbase.lite.store.Store
Iterates over all documents in the database, according to the given query options.
getAllDocsMode() - Method in class com.couchbase.lite.Query
 
getAllDocsMode() - Method in class com.couchbase.lite.QueryOptions
 
getAllReplications() - Method in class com.couchbase.lite.Database
Get all the replicators associated with this database.
getAllRevIds() - Method in class com.couchbase.lite.RevisionList
 
getAllRevisions(String, boolean) - Method in class com.couchbase.lite.Database
 
getAllRevisions(String, boolean) - Method in class com.couchbase.lite.store.SQLiteStore
 
getAllRevisions(String, boolean) - Method in interface com.couchbase.lite.store.Store
Returns all the known revisions (or all current/conflicting revisions) of a document.
getAllViewNames() - Method in class com.couchbase.lite.store.SQLiteStore
 
getAllViewNames() - Method in interface com.couchbase.lite.store.Store
Returns the names of all existing views in the database.
getAllViews() - Method in class com.couchbase.lite.Database
NOTE: Only used by Unit Tests
getAsBoolean(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value and converts it to a Boolean.
getAsByte(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value and converts it to a Byte.
getAsByteArray(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value that is a byte array.
getAsDouble(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value and converts it to a Double.
getAsFloat(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value and converts it to a Float.
getAsInteger(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value and converts it to an Integer.
getAsLong(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value and converts it to a Long.
getAsShort(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value and converts it to a Short.
getAsString(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Gets a value and converts it to a String.
getAttachedDbs() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns list of full pathnames of all attached databases including the main database by executing 'pragma database_list' on the database.
getAttachment(Map, String) - Method in class com.couchbase.lite.Database
 
getAttachment(RevisionInternal, String) - Method in class com.couchbase.lite.Database
 
getAttachment(String) - Method in class com.couchbase.lite.Revision
Looks up the attachment with the given name (without fetching its contents yet).
getAttachmentMetadata() - Method in class com.couchbase.lite.Revision
 
getAttachmentNames() - Method in class com.couchbase.lite.Revision
The names of all attachments
getAttachments(String, String) - Method in class com.couchbase.lite.Database
- (NSDictionary*) attachmentsForDocID: (NSString*)docID revID: (NSString*)revID status: (CBLStatus*)outStatus
getAttachments() - Method in class com.couchbase.lite.internal.RevisionInternal
 
getAttachments() - Method in class com.couchbase.lite.Revision
All attachments, as Attachment objects.
getAttachmentStore() - Method in class com.couchbase.lite.Database
 
getAttachmentStorePath() - Method in class com.couchbase.lite.Database
 
getAttachmentWriter() - Method in class com.couchbase.lite.Database
 
getAuthenticator() - Method in class com.couchbase.lite.replicator.Replication
Get the Authenticator used for authenticating with the Sync Gateway
getAutoCompact() - Method in class com.couchbase.lite.store.SQLiteStore
 
getAutoCompact() - Method in interface com.couchbase.lite.store.Store
 
getBlob(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns the value of the requested column as a byte array.
getBlob(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getBlob(int) - Method in interface com.couchbase.lite.storage.Cursor
 
getBlobKey() - Method in class com.couchbase.lite.BlobStoreWriter
 
getBlobKey() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getBlobPathForKey(BlobKey) - Method in class com.couchbase.lite.BlobStore
Path to file storing the blob.
getBody() - Method in class com.couchbase.lite.internal.RevisionInternal
 
getBodyIfNew() - Method in class com.couchbase.lite.Attachment
 
getBoundary() - Method in class com.couchbase.lite.support.MultipartReader
 
getBoundaryWithoutLeadingCRLF() - Method in class com.couchbase.lite.support.MultipartReader
 
getBytes() - Method in class com.couchbase.lite.BlobKey
 
getCachedDocument(String) - Method in class com.couchbase.lite.Database
Returns the already-instantiated cached Document with the given ID, or nil if none is yet cached.
getCapacity() - Method in class com.couchbase.lite.support.Batcher
Get capacity amount.
getCBLStatus() - Method in exception com.couchbase.lite.CouchbaseLiteException
 
getChange() - Method in class com.couchbase.lite.Document.ChangeEvent
 
getChangeCount() - Method in class com.couchbase.lite.replicator.Replication.ChangeEvent
The total number of changes to be processed, if the task is active, else 0.
getChangedKeys() - Method in interface com.couchbase.lite.ValidationContext
Gets the keys whose values have changed between the current and new Revisions
getChanges() - Method in class com.couchbase.lite.Database.ChangeEvent
 
getChangesCount() - Method in class com.couchbase.lite.replicator.Replication
The total number of changes to be processed, if the task is active, else 0 (observable).
getChangesFeedURL() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
getChannels() - Method in class com.couchbase.lite.replicator.Replication
List of Sync Gateway channel names to filter by; a nil value means no filtering, i.e.
getCheckpointedSequence() - Method in class com.couchbase.lite.support.SequenceMap
Returns the maximum consecutively-removed sequence number.
getCheckpointedValue() - Method in class com.couchbase.lite.support.SequenceMap
Returns the value associated with the checkpointedSequence.
getClientFactory() - Method in class com.couchbase.lite.replicator.Replication
 
getCode() - Method in exception com.couchbase.lite.replicator.RemoteRequestResponseException
 
getCode() - Method in class com.couchbase.lite.Status
 
getCode() - Method in class com.couchbase.lite.Status.HTTPStatus
 
getCode() - Method in exception com.couchbase.lite.storage.SQLException
 
getColumnIndex(String) - Method in interface com.couchbase.lite.internal.database.cursor.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.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getColumnIndex(String) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Returns the index of the specified column.
getColumnIndexOrThrow(String) - Method in interface com.couchbase.lite.internal.database.cursor.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.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getColumnName(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns the column name at the given zero-based column index.
getColumnName(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getCommitHash() - Static method in class com.couchbase.lite.support.Version
 
getCompiler() - Static method in class com.couchbase.lite.View
The registered object, if any, that can compile map/reduce functions from source code.
getCompletedChangeCount() - Method in class com.couchbase.lite.replicator.Replication.ChangeEvent
The number of completed changes processed, if the task is active, else 0.
getCompletedChangesCount() - Method in class com.couchbase.lite.replicator.Replication
The number of completed changes processed, if the task is active, else 0 (observable).
getConflictingRevisions() - Method in class com.couchbase.lite.Document
Returns all the current conflicting revisions of the document.
getConflictingRevisions() - Method in class com.couchbase.lite.QueryRow
Returns all conflicting revisions of the document, or nil if the document is not in conflict.
getConnectionFlags() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
 
getConnectionHandle() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Gets SQLite native connection handler.
getConnectionId() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Gets the unique id of this connection.
getContent() - Method in class com.couchbase.lite.Attachment
Get the input stream of the content (aka 'body') data.
getContent() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getContentInputStream() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getContentType() - Method in class com.couchbase.lite.Attachment
Get the MIME type of the contents.
getContentType() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getContentURL() - Method in class com.couchbase.lite.Attachment
Get the URL of the file containing the contents.
getContentURL() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getContext() - Method in class com.couchbase.lite.Manager
 
getCookieStore() - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
getCookieStore() - Method in interface com.couchbase.lite.support.HttpClientFactory
 
getCount() - Method in class com.couchbase.lite.QueryEnumerator
Gets the number of rows in the QueryEnumerator.
getCount() - Method in class com.couchbase.lite.util.CountDown
 
getCurrentRevision() - Method in class com.couchbase.lite.Document
Get the current revision
getCurrentRevision() - Method in interface com.couchbase.lite.ValidationContext
The contents of the current revision of the document, or nil if this is a new document.
getCurrentRevisionId() - Method in class com.couchbase.lite.Document
Get the ID of the current revision
getCurrentTotalRows() - Method in class com.couchbase.lite.View
 
getDatabase() - Method in class com.couchbase.lite.Document
Get the document's owning database.
getDatabase() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getDatabase(String) - Method in class com.couchbase.lite.Manager
Returns the database with the given name, or creates it if it doesn't exist.
getDatabase(String, boolean) - Method in class com.couchbase.lite.Manager
Instantiates a database but doesn't open the file yet.
getDatabase() - Method in class com.couchbase.lite.Query
The database this query is associated with
getDatabase() - Method in class com.couchbase.lite.QueryRow
 
getDatabase() - Method in class com.couchbase.lite.Revision
Get the revision's owning database.
getDatabase() - Method in class com.couchbase.lite.View
Get the database that owns this view.
getDatabaseNameFromPath(String) - Static method in class com.couchbase.lite.support.FileDirUtils
 
getDatabasePlatformSupport() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
getDefaultHttpClientFactory() - Method in class com.couchbase.lite.Manager
 
getDefaultJournalMode() - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteGlobal
The default journal mode to use use when Write-Ahead Logging is not active.
getDefaultPageSize() - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteGlobal
Gets the default page size to use when creating a database.
getDefaultSyncMode() - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteGlobal
Gets the default database synchronization mode when WAL is not in use.
getDelay() - Method in class com.couchbase.lite.support.Batcher
Get delay amount.
getDelegate() - Method in class com.couchbase.lite.store.SQLiteStore
 
getDelegate() - Method in class com.couchbase.lite.store.SQLiteViewStore
 
getDelegate() - Method in interface com.couchbase.lite.store.Store
 
getDelegate() - Method in interface com.couchbase.lite.store.ViewStore
The delegate (in practice, the owning View itself.)
getDestination() - Method in class com.couchbase.lite.replicator.ReplicationStateTransition
 
getDigest() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getDirectory() - Method in class com.couchbase.lite.Manager
The root directory of this manager (as specified at initialization time.)
getDocID() - Method in class com.couchbase.lite.internal.RevisionInternal
 
getDocIds() - Method in class com.couchbase.lite.replicator.Replication
Gets the documents to specify as part of the replication.
getDocNumericID(String) - Method in class com.couchbase.lite.store.SQLiteStore
 
getDocument() - Method in class com.couchbase.lite.Attachment
Get the owning document.
getDocument(String) - Method in class com.couchbase.lite.Database
Instantiates a Document object with the given ID.
getDocument(String, String, boolean) - Method in class com.couchbase.lite.Database
 
getDocument(String, String, boolean, Status) - Method in class com.couchbase.lite.Database
 
getDocument() - Method in class com.couchbase.lite.QueryRow
The document this row was mapped from.
getDocument() - Method in class com.couchbase.lite.Revision
Get the document this is a revision of.
getDocument() - Method in class com.couchbase.lite.SavedRevision
Get the document this is a revision of
getDocument(String, String, boolean, Status) - Method in class com.couchbase.lite.store.SQLiteStore
 
getDocument(String, long) - Method in class com.couchbase.lite.store.SQLiteStore
Loads revision given its sequence.
getDocument(String, String, boolean, Status) - Method in interface com.couchbase.lite.store.Store
Retrieves a document revision by ID.
getDocumentCount() - Method in class com.couchbase.lite.Database
The number of documents in the database.
getDocumentCount() - Method in class com.couchbase.lite.store.SQLiteStore
 
getDocumentCount() - Method in interface com.couchbase.lite.store.Store
The number of (undeleted) documents in the database.
getDocumentId() - Method in class com.couchbase.lite.DocumentChange
The ID of the document that changed.
getDocumentId() - Method in class com.couchbase.lite.QueryRow
The ID of the document described by this view row.
getDocumentProperties() - Method in class com.couchbase.lite.QueryRow
The properties of the document this row was mapped from.
getDocumentProperties(String, long) - Method in interface com.couchbase.lite.store.QueryRowStore
Fetches a document's body; called when the row value represents the entire document.
getDocumentProperties(String, long) - Method in class com.couchbase.lite.store.SQLiteViewStore
 
getDocumentProperties() - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
getDocumentRevisionId() - Method in class com.couchbase.lite.QueryRow
The revision ID of the document this row was mapped from.
getDocumentSize() - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
getDocumentType() - Method in interface com.couchbase.lite.store.ViewStoreDelegate
The document "type" property values this view is filtered to (nil if none.)
getDocumentType() - Method in class com.couchbase.lite.View
Get document type.
getDouble(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns the value of the requested column as a double.
getDouble(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getEmailAddress() - Method in class com.couchbase.lite.auth.PersonaAuthorizer
 
getEncodedContent() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getEncodedContentInputStream() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getEncodedLength() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getEncoding() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getEncryptionKey() - Method in class com.couchbase.lite.BlobStore
 
getEncryptionKey() - Method in class com.couchbase.lite.DatabaseOptions
Get the encryption key.
getEncryptionKey() - Method in interface com.couchbase.lite.store.EncryptableStore
Return current encryption key
getEncryptionKey() - Method in class com.couchbase.lite.store.SQLiteStore
 
getEncryptionKeys() - Method in class com.couchbase.lite.Manager
 
getEndKey() - Method in class com.couchbase.lite.Query
 
getEndKey() - Method in class com.couchbase.lite.QueryOptions
 
getEndKeyDocId() - Method in class com.couchbase.lite.Query
 
getEndKeyDocId() - Method in class com.couchbase.lite.QueryOptions
 
getError() - Method in class com.couchbase.lite.LiveQuery.ChangeEvent
 
getError() - Method in class com.couchbase.lite.replicator.Replication.ChangeEvent
Get the error that triggered this callback, if any.
getErrorMessageFromError(Throwable) - Static method in class com.couchbase.lite.util.Utils
 
getExecutorThreadPoolSize() - Method in class com.couchbase.lite.Manager
 
getExecutorThreadPoolSize() - Method in class com.couchbase.lite.ManagerOptions
 
getExistingDatabase(String) - Method in class com.couchbase.lite.Manager
Returns the database with the given name, or null if it doesn't exist.
getExistingDocument(String) - Method in class com.couchbase.lite.Database
Gets the Document with the given id, or null if it does not exist.
getExistingLocalDocument(String) - Method in class com.couchbase.lite.Database
Returns the contents of the local document with the given ID, or nil if none exists.
getExistingView(String) - Method in class com.couchbase.lite.Database
Returns the existing View with the given name, or nil if none.
getExpirationDate() - Method in class com.couchbase.lite.Document
A date/time after which this document will be automatically purged.
getFailedStep() - Method in class com.couchbase.lite.support.action.Action
 
getFeed() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
getFilePath() - Method in class com.couchbase.lite.BlobStoreWriter
 
getFilesDir() - Method in interface com.couchbase.lite.Context
The files dir.
getFilter(String) - Method in class com.couchbase.lite.Database
Returns the existing filter function (block) registered with the given name.
getFilter() - Method in class com.couchbase.lite.replicator.Replication
Name of an optional filter function to run on the source server.
getFilterCompiler() - Static method in class com.couchbase.lite.Database
Returns the currently registered filter compiler (nil by default).
getFilterParams() - Method in class com.couchbase.lite.replicator.Replication
Parameters to pass to the filter function.
getFloat(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns the value of the requested column as a float.
getFloat(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getFullVersionInfo() - Static method in class com.couchbase.lite.Manager
 
getGeneration() - Method in class com.couchbase.lite.internal.RevisionInternal
Generation number: 1 for a new document, 2 for the 2nd revision, ...
getGeneration() - Method in class com.couchbase.lite.Revision
Generation number: 1 for a new document, 2 for the 2nd revision, ...
getGroupLevel() - Method in class com.couchbase.lite.Query
 
getGroupLevel() - Method in class com.couchbase.lite.QueryOptions
 
getHeaderField(int) - Method in class com.couchbase.lite.router.URLConnection
 
getHeaderField(String) - Method in class com.couchbase.lite.router.URLConnection
 
getHeaderFieldKey(int) - Method in class com.couchbase.lite.router.URLConnection
 
getHeaderFields() - Method in class com.couchbase.lite.router.URLConnection
 
getHeaders() - Method in class com.couchbase.lite.replicator.Replication
Extra HTTP headers to send in all requests to the remote server.
getHeartbeatMilliseconds() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
getHexData() - Method in class com.couchbase.lite.support.security.SymmetricKey
Get the hex representation of the key data.
getHTTPCode() - Method in class com.couchbase.lite.Status
 
getHTTPMessage() - Method in class com.couchbase.lite.Status
 
getHTTPStatus() - Method in class com.couchbase.lite.Status
 
getICUDatabasePath() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
getId() - Method in class com.couchbase.lite.Document
Get the document's ID
getId() - Method in class com.couchbase.lite.Revision
Gets the Revision's id.
getId() - Method in class com.couchbase.lite.SavedRevision
 
getId() - Method in class com.couchbase.lite.UnsavedRevision
 
getIDToken() - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
getIndexUpdateMode() - Method in class com.couchbase.lite.Query
 
getInfo(String) - Method in class com.couchbase.lite.Database
 
getInfo(String) - Method in class com.couchbase.lite.store.SQLiteStore
 
getInfo(String) - Method in interface com.couchbase.lite.store.Store
Returns the value assigned to the given key by -setInfo:forKey:.
getInputStream() - Method in class com.couchbase.lite.router.URLConnection
 
getInt(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns the value of the requested column as an int.
getInt(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getInt(int) - Method in interface com.couchbase.lite.storage.Cursor
 
getJournalSizeLimit() - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteGlobal
Gets the journal size limit in bytes.
getJson() - Method in class com.couchbase.lite.internal.Body
 
getJson() - Method in class com.couchbase.lite.internal.RevisionInternal
 
getJSONString() - Method in class com.couchbase.lite.internal.Body
 
getKey() - Method in class com.couchbase.lite.QueryRow
The row's key: this is the first parameter passed to the emit() call that generated the row.
getKey() - Method in class com.couchbase.lite.support.security.SymmetricKey
Get the raw key data derived from a password or the raw key given to SymmetricKey(byte[] key) constructor.
getKeyForFilename(BlobKey, String) - Method in class com.couchbase.lite.BlobStore
 
getKeys() - Method in class com.couchbase.lite.Query
 
getKeys() - Method in class com.couchbase.lite.QueryOptions
 
getLastError() - Method in class com.couchbase.lite.LiveQuery
Returns the last error, if any, that occured while executing the Query, otherwise null.
getLastError() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
getLastError() - Method in class com.couchbase.lite.replicator.Replication
The error status of the replication, or null if there have not been any errors since it started.
getLastError() - Method in class com.couchbase.lite.support.action.Action
 
getLastSequence() - Method in class com.couchbase.lite.replicator.PullerInternal
 
getLastSequence() - Method in class com.couchbase.lite.store.SQLiteStore
The latest sequence number used.
getLastSequence() - Method in interface com.couchbase.lite.store.Store
The last sequence number allocated to a revision.
getLastSequenceChangedAt() - Method in class com.couchbase.lite.store.SQLiteViewStore
 
getLastSequenceChangedAt() - Method in interface com.couchbase.lite.store.ViewStore
The last sequence number that caused an actual change in the _index.
getLastSequenceIndexed() - Method in class com.couchbase.lite.store.SQLiteViewStore
The last sequence number that has been indexed.
getLastSequenceIndexed() - Method in interface com.couchbase.lite.store.ViewStore
The last sequence number that has been indexed.
getLastSequenceIndexed() - Method in class com.couchbase.lite.View
Get the last sequence number indexed so far.
getLastSequenceNumber() - Method in class com.couchbase.lite.Database
The latest sequence number used.
getLeafRevisions() - Method in class com.couchbase.lite.Document
Returns all the leaf revisions in the document's revision tree, including deleted revisions (i.e.
getLeafRevisions(boolean) - Method in class com.couchbase.lite.Document
 
getLength() - Method in class com.couchbase.lite.Attachment
Get the length in bytes of the contents.
getLength() - Method in class com.couchbase.lite.BlobStoreWriter
 
getLength() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getLength() - Method in class com.couchbase.lite.support.Range
 
getLimit() - Method in class com.couchbase.lite.ChangesOptions
 
getLimit() - Method in class com.couchbase.lite.Query
 
getLimit() - Method in class com.couchbase.lite.QueryOptions
 
getListener() - Method in class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
getLocalCheckpointDocument() - Method in class com.couchbase.lite.Database
Returns local checkpoint document if it exists.
getLocalCheckpointDocumentPropertyValueForKey(String) - Method in class com.couchbase.lite.Database
Returns a property value specifiec by the key from the local checkpoint document.
getLocalDatabase() - Method in class com.couchbase.lite.replicator.Replication
Get the local database which is the source or target of this replication
getLocalDocument(String, String) - Method in class com.couchbase.lite.Database
 
getLocalDocument(String, String) - Method in class com.couchbase.lite.store.SQLiteStore
 
getLocalDocument(String, String) - Method in interface com.couchbase.lite.store.Store
Returns the contents of a local document.
getLocale() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Get current locale of the connection
getLocalUUID() - Method in interface com.couchbase.lite.auth.Authorizer
The unique ID of the local database.
getLocalUUID() - Method in class com.couchbase.lite.auth.BaseAuthorizer
 
getLocation() - Method in class com.couchbase.lite.support.Range
 
getLong(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns the value of the requested column as a long.
getLong(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getLong(int) - Method in interface com.couchbase.lite.storage.Cursor
 
getManager() - Method in class com.couchbase.lite.Database
The database manager that owns this database.
getMap() - Method in interface com.couchbase.lite.store.ViewStoreDelegate
The current map block.
getMap() - Method in class com.couchbase.lite.View
The map function that controls how index rows are created from documents.
getMapVersion() - Method in interface com.couchbase.lite.store.ViewStoreDelegate
The current map version string.
getMapVersion() - Method in class com.couchbase.lite.View
 
getMaximumSize() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns the maximum size the database may grow to.
getMaxRevTreeDepth() - Method in class com.couchbase.lite.Database
Get the maximum depth of a document's revision tree (or, max length of its revision history.) Revisions older than this limit will be deleted during a -compact: operation.
getMaxRevTreeDepth() - Method in class com.couchbase.lite.store.SQLiteStore
Get the maximum depth of a document's revision tree (or, max length of its revision history.) Revisions older than this limit will be deleted during a -compact: operation.
getMaxRevTreeDepth() - Method in interface com.couchbase.lite.store.Store
 
getMessage() - Method in class com.couchbase.lite.Status.HTTPStatus
 
getMetadata() - Method in class com.couchbase.lite.Attachment
The CouchbaseLite metadata about the attachment, that lives in the document.
getName() - Method in class com.couchbase.lite.Attachment
Get the filename.
getName() - Method in class com.couchbase.lite.Database
Get the database's name.
getName() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getName() - Method in class com.couchbase.lite.store.SQLiteViewStore
 
getName() - Method in interface com.couchbase.lite.store.ViewStore
The name of the view.
getName() - Method in class com.couchbase.lite.View
Get the name of the view.
getNetworkReachabilityManager() - Method in interface com.couchbase.lite.Context
Replicators call this to get the NetworkReachabilityManager, and they register/unregister themselves to receive network reachability callbacks.
getNumAttempts() - Method in class com.couchbase.lite.replicator.ChangeTrackerBackoff
 
getNumDocs() - Method in class com.couchbase.lite.DatabaseUpgrade
 
getNumRevs() - Method in class com.couchbase.lite.DatabaseUpgrade
 
getObject() - Method in class com.couchbase.lite.internal.Body
 
getObject(String) - Method in class com.couchbase.lite.internal.Body
 
getObject(String) - Method in class com.couchbase.lite.internal.RevisionInternal
in CBL_Revision.m - (id)objectForKeyedSubscript:(id)key
getObjectMapper() - Static method in class com.couchbase.lite.Manager
 
getOkHttpClient() - Method in interface com.couchbase.lite.replicator.ChangeTrackerClient
 
getOkHttpClient() - Method in class com.couchbase.lite.replicator.PullerInternal
 
getOkHttpClient() - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
getOkHttpClient() - Method in interface com.couchbase.lite.support.HttpClientFactory
 
getOutputStream() - Method in class com.couchbase.lite.router.URLConnection
 
getPageSize() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns the current database page size, in bytes.
getParent() - Method in class com.couchbase.lite.Revision
Gets the parent Revision.
getParent() - Method in class com.couchbase.lite.SavedRevision
 
getParent() - Method in class com.couchbase.lite.UnsavedRevision
 
getParentId() - Method in class com.couchbase.lite.Revision
Gets the parent Revision's id.
getParentId() - Method in class com.couchbase.lite.SavedRevision
 
getParentId() - Method in class com.couchbase.lite.UnsavedRevision
 
getParentRevision(RevisionInternal) - Method in class com.couchbase.lite.Database
 
getParentRevision(RevisionInternal) - Method in class com.couchbase.lite.store.SQLiteStore
 
getParentRevision(RevisionInternal) - Method in interface com.couchbase.lite.store.Store
Retrieves the parent revision of a revision, or returns nil if there is no parent.
getParentSequence() - Method in class com.couchbase.lite.UnsavedRevision
 
getPath() - Method in class com.couchbase.lite.BlobStore
 
getPath() - Method in class com.couchbase.lite.Database
 
getPath() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Gets the path to the database file.
getPathWithoutExt(String) - Static method in class com.couchbase.lite.support.FileDirUtils
 
getPendingDocumentIDs() - Method in class com.couchbase.lite.replicator.Replication
 
getPersistentCookieStore() - Method in class com.couchbase.lite.Database
Get the PersistentCookieStore associated with this database.
getPossibleAncestorRevisionIDs(RevisionInternal, int, AtomicBoolean, boolean) - Method in class com.couchbase.lite.Database
NOTE: This method is internal use only (from BulkDownloader and PullerInternal)
getPossibleAncestorRevisionIDs(RevisionInternal, int, AtomicBoolean, boolean) - Method in class com.couchbase.lite.store.SQLiteStore
 
getPossibleAncestorRevisionIDs(RevisionInternal, int, AtomicBoolean, boolean) - Method in interface com.couchbase.lite.store.Store
Returns IDs of local revisions of the same document, that have a lower generation number.
getPostFilter() - Method in class com.couchbase.lite.Query
 
getPostFilter() - Method in class com.couchbase.lite.QueryOptions
 
getPrefixMatchLevel() - Method in class com.couchbase.lite.Query
 
getPrefixMatchLevel() - Method in class com.couchbase.lite.QueryOptions
 
getPrettyJson() - Method in class com.couchbase.lite.internal.Body
 
getProperties() - Method in class com.couchbase.lite.Document
The contents of the current revision of the document.
getProperties() - Method in class com.couchbase.lite.internal.Body
 
getProperties() - Method in class com.couchbase.lite.internal.RevisionInternal
 
getProperties() - Method in class com.couchbase.lite.Revision
The contents of this revision of the document.
getProperties() - Method in class com.couchbase.lite.SavedRevision
The contents of this revision of the document.
getProperties() - Method in class com.couchbase.lite.UnsavedRevision
 
getProperty(String) - Method in class com.couchbase.lite.Document
Shorthand for getProperties().get(key)
getProperty(String) - Method in class com.couchbase.lite.Revision
Shorthand for getProperties().get(key)
getPropertyForKey(String) - Method in class com.couchbase.lite.internal.Body
 
getPropertyForKey(String) - Method in class com.couchbase.lite.internal.RevisionInternal
 
getRawPathForKey(BlobKey) - Method in class com.couchbase.lite.BlobStore
 
getReduce() - Method in interface com.couchbase.lite.store.ViewStoreDelegate
The current reduce block, or nil if there is none.
getReduce() - Method in class com.couchbase.lite.View
The optional reduce function, which aggregates together multiple rows.
getRefreshToken() - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
getRemoteURL() - Method in interface com.couchbase.lite.auth.Authorizer
The base URL of the remote service.
getRemoteURL() - Method in class com.couchbase.lite.auth.BaseAuthorizer
 
getRemoteUrl() - Method in class com.couchbase.lite.replicator.Replication
Get the remote URL which is the source or target of this replication
getRemoteUUID() - Method in class com.couchbase.lite.replicator.Replication
Get the remote UUID representing the remote server.
getReplicator(Map<String, Object>) - Method in class com.couchbase.lite.Manager
 
getRequestInputStream() - Method in class com.couchbase.lite.router.URLConnection
 
getRequestProperties() - Method in class com.couchbase.lite.router.URLConnection
 
getRequestProperty(String) - Method in class com.couchbase.lite.router.URLConnection
 
getResponseBody() - Method in class com.couchbase.lite.router.URLConnection
 
getResponseCode() - Method in class com.couchbase.lite.router.URLConnection
 
getResponseInputStream() - Method in class com.couchbase.lite.router.URLConnection
 
getResponseOutputStream() - Method in class com.couchbase.lite.router.URLConnection
 
getRevID() - Method in class com.couchbase.lite.internal.RevisionInternal
 
getRevision() - Method in class com.couchbase.lite.Attachment
Get the owning document revision.
getRevision(String) - Method in class com.couchbase.lite.Document
The revision with the specified ID.
getRevisionFromRev(RevisionInternal) - Method in class com.couchbase.lite.Document
 
getRevisionHistory(RevisionInternal) - Method in class com.couchbase.lite.Database
Returns an array of TDRevs in reverse chronological order, starting with the given revision.
getRevisionHistory() - Method in class com.couchbase.lite.Document
Returns the document's history as an array of CBLRevisions.
getRevisionHistory() - Method in class com.couchbase.lite.Revision
Returns the history of this document as an array of CBLRevisions, in forward order.
getRevisionHistory() - Method in class com.couchbase.lite.SavedRevision
 
getRevisionHistory(RevisionInternal) - Method in class com.couchbase.lite.store.SQLiteStore
Returns an array of TDRevs in reverse chronological order, starting with the given revision.
getRevisionHistory(RevisionInternal) - Method in interface com.couchbase.lite.store.Store
Returns the given revision's list of direct ancestors (as CBL_Revision objects) in _reverse_ chronological order, starting with the revision itself.
getRevisionHistory() - Method in class com.couchbase.lite.UnsavedRevision
 
getRevisionHistoryDictStartingFromAnyAncestor(RevisionInternal, List<String>) - Method in class com.couchbase.lite.Database
Returns the revision history as a _revisions dictionary, as returned by the REST API's ?revs=true option.
getRevisionId() - Method in class com.couchbase.lite.DocumentChange
The ID of the newly-added revision.
getRevpos() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
getRow(int) - Method in class com.couchbase.lite.QueryEnumerator
Gets the QueryRow at the specified index in the results.
getRows() - Method in class com.couchbase.lite.LiveQuery.ChangeEvent
 
getRows() - Method in class com.couchbase.lite.LiveQuery
Gets the results of the Query.
getSequence() - Method in class com.couchbase.lite.internal.RevisionInternal
 
getSequence() - Method in class com.couchbase.lite.Revision
 
getSequence() - Method in class com.couchbase.lite.SavedRevision
 
getSequence() - Method in class com.couchbase.lite.UnsavedRevision
 
getSequenceNumber() - Method in class com.couchbase.lite.QueryEnumerator
Gets the Database's current sequence number at the time the View was generated for the results.
getSequenceNumber() - Method in class com.couchbase.lite.QueryRow
The local sequence number of the associated doc/revision.
getSession() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
 
getSessionID() - Method in class com.couchbase.lite.replicator.Replication
 
getSharedInstance() - Static method in class com.couchbase.lite.Manager
Get shared instance
getShort(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns the value of the requested column as a short.
getShort(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getSize() - Method in class com.couchbase.lite.internal.Body
 
getSizeOfBlob(BlobKey) - Method in class com.couchbase.lite.BlobStore
 
getSkip() - Method in class com.couchbase.lite.Query
 
getSkip() - Method in class com.couchbase.lite.QueryOptions
 
getSleepMilliseconds() - Method in class com.couchbase.lite.replicator.ChangeTrackerBackoff
 
getSource() - Method in class com.couchbase.lite.Database.ChangeEvent
 
getSource() - Method in class com.couchbase.lite.Document.ChangeEvent
 
getSource() - Method in class com.couchbase.lite.DocumentChange
The remote database URL that this change was pulled from, if any.
getSource() - Method in class com.couchbase.lite.LiveQuery.ChangeEvent
 
getSource() - Method in class com.couchbase.lite.replicator.Replication.ChangeEvent
Get the owner Replication object that generated this ChangeEvent.
getSource() - Method in class com.couchbase.lite.replicator.ReplicationStateTransition
 
getSourceDocumentId() - Method in class com.couchbase.lite.QueryRow
The ID of the document that caused this view row to be emitted.
getSQLiteStorageEngineFactory() - Method in interface com.couchbase.lite.Context
Get the SQLiteStorageEngineFactory, or null if none has been set, in which case the default will be used.
getSqlStatementType(String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Returns one of the following which represent the type of the given SQL statement.
getStale() - Method in class com.couchbase.lite.QueryOptions
 
getStartKey() - Method in class com.couchbase.lite.Query
 
getStartKey() - Method in class com.couchbase.lite.QueryOptions
 
getStartKeyDocId() - Method in class com.couchbase.lite.Query
 
getStartKeyDocId() - Method in class com.couchbase.lite.QueryOptions
 
getStartTime() - Method in class com.couchbase.lite.Database
 
getStatus() - Method in class com.couchbase.lite.replicator.Replication.ChangeEvent
The replication's current state, one of {stopped, offline, idle, active}.
getStatus() - Method in class com.couchbase.lite.replicator.Replication
The replication's current state, one of {stopped, offline, idle, active}.
getStatusFromError(Throwable) - Static method in class com.couchbase.lite.util.Utils
 
getStorageEngine() - Method in class com.couchbase.lite.store.SQLiteStore
 
getStorageType() - Method in class com.couchbase.lite.DatabaseOptions
Get the storage type.
getStorageType() - Method in class com.couchbase.lite.Manager
Get the default storage type.
getStore() - Method in class com.couchbase.lite.Database
 
getString(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns the value of the requested column as a String.
getString(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
getString(int) - Method in interface com.couchbase.lite.storage.Cursor
 
getStringArrayList(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Deprecated.
getTables() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Returns the list of tables being queried
getTempDir() - Method in interface com.couchbase.lite.Context
Get temporary directory.
getText() - Method in class com.couchbase.lite.SpecialKey
 
getTokenStore() - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
getTotalRows() - Method in class com.couchbase.lite.store.SQLiteViewStore
 
getTotalRows() - Method in interface com.couchbase.lite.store.ViewStore
The total number of rows in the _index.
getTotalRows() - Method in class com.couchbase.lite.View
Get total number of rows in the view.
getTransition() - Method in class com.couchbase.lite.replicator.Replication.ChangeEvent
Get the ReplicationStateTransition associated with this ChangeEvent, or nil if it was not associated with a state transition.
getTrigger() - Method in class com.couchbase.lite.replicator.ReplicationStateTransition
 
getTypeOfObject(Object) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Returns data type of the given object's value.
getUniqueId() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
Deprecated.
This method is deprecated and must not be used.
getUser(URL) - Static method in class com.couchbase.lite.util.URLUtils
 
getUserAgent() - Method in interface com.couchbase.lite.Context
Return User-Agent value
getUserAgent() - Static method in class com.couchbase.lite.Manager
Return User-Agent value Format: ex: CouchbaseLite/1.2 (Java Linux/MIPS 1.2.1/3382EFA)
getUserInfo() - Method in exception com.couchbase.lite.replicator.RemoteRequestResponseException
 
getUsername() - Method in interface com.couchbase.lite.auth.Authorizer
 
getUsername() - Method in class com.couchbase.lite.auth.BaseAuthorizer
 
getUsername() - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
getUsername() - Method in class com.couchbase.lite.auth.PasswordAuthorizer
 
getUsername() - Method in class com.couchbase.lite.replicator.Replication
The server user name that the authenticator has logged in as, if known.
getUserProperties() - Method in class com.couchbase.lite.Document
The user-defined properties, without the ones reserved by CouchDB.
getUserProperties() - Method in class com.couchbase.lite.Revision
The user-defined properties, without the ones reserved by CouchDB.
getValidation(String) - Method in class com.couchbase.lite.Database
Returns the existing document validation function (block) registered with the given name.
getValue() - Method in class com.couchbase.lite.QueryRow
The row's value: this is the second parameter passed to the emit() call that generated the row.
getVersion() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Gets the database version.
getVersion() - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
getVersion() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
getVersion() - Static method in class com.couchbase.lite.support.Version
 
getVersionCode() - Static method in class com.couchbase.lite.support.Version
 
getVersionName() - Static method in class com.couchbase.lite.support.Version
 
getVersionString() - Static method in class com.couchbase.lite.router.Router
 
getView(String) - Method in class com.couchbase.lite.Database
Returns a View object for the view with the given name.
getView() - Method in class com.couchbase.lite.Query
 
getViewDocumentType(String) - Method in class com.couchbase.lite.Database
Get the document type for the given view name.
getViewsInGroup() - Method in class com.couchbase.lite.View
Get all views that have the same prefix if specified.
getViewStorage(String, boolean) - Method in class com.couchbase.lite.Database
 
getViewStorage(String, boolean) - Method in class com.couchbase.lite.store.SQLiteStore
Instantiates storage for a view.
getViewStorage(String, boolean) - Method in interface com.couchbase.lite.store.Store
Instantiates storage for a view.
getWALAutoCheckpoint() - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteGlobal
Gets the WAL auto-checkpoint integer in database pages.
getWALConnectionPoolSize() - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteGlobal
Gets the connection pool size when in WAL mode.
getWALConnectionPoolSize() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
Gets the connection pool size when in WAL mode.
getWALSyncMode() - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteGlobal
Gets the database synchronization mode when in WAL mode.
getWinningRevisionID() - Method in class com.couchbase.lite.DocumentChange
 
getWinningRevisionIfKnown() - Method in class com.couchbase.lite.DocumentChange
 
getWorkExecutor() - Method in class com.couchbase.lite.Manager
 
GONE - Static variable in class com.couchbase.lite.Status
 
goOffline() - Method in class com.couchbase.lite.replicator.PullerInternal
 
goOffline() - Method in class com.couchbase.lite.replicator.PusherInternal
- (BOOL) goOffline in CBL_Pusher.m
goOffline() - Method in class com.couchbase.lite.replicator.Replication
Tell the replication to go offline, asynchronously.
goOnline() - Method in class com.couchbase.lite.replicator.Replication
Tell the replication to go online, asynchronously.
groupKey(Object, int) - Static method in class com.couchbase.lite.store.SQLiteViewStore
Returns the prefix of the key to use in the result row, at this groupLevel
GZIP - Static variable in class com.couchbase.lite.support.Base64
Specify that data should be gzip-compressed in second bit.

H

hasBlobForKey(BlobKey) - Method in class com.couchbase.lite.BlobStore
 
hasBlobKey() - Method in class com.couchbase.lite.BlobKey
 
hasBlobKey() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
hasConnection() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Returns true if the session has an active database connection.
hashCode() - Method in class com.couchbase.lite.BlobKey
 
hashCode() - Method in class com.couchbase.lite.internal.database.ContentValues
 
hashCode() - Method in class com.couchbase.lite.internal.database.util.Pair
Compute a hash code using the hash codes of the underlying objects
hashCode() - Method in class com.couchbase.lite.internal.RevisionInternal
 
hashCode() - Method in class com.couchbase.lite.replicator.ReplicationStateTransition
 
hashCode() - Method in class com.couchbase.lite.Revision
Custom hashCode based on the hash code of the Document Id and the Revision Id
hashCode() - Method in class com.couchbase.lite.support.LazyJsonArray
 
hasNestedTransaction() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Returns true if the session has a nested transaction in progress.
hasNext() - Method in class com.couchbase.lite.QueryEnumerator
Required to satisfy java Iterator interface
hasTransaction() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Returns true if the session has a transaction in progress.
haveSessionCookie - Variable in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
headers - Variable in class com.couchbase.lite.support.MultipartReader
 
headersToMap(Headers) - Static method in class com.couchbase.lite.util.Utils
 
hexArray - Static variable in class com.couchbase.lite.util.Utils
cribbed from http://stackoverflow.com/questions/9655181/convert-from-byte-array-to-hex-string-in-java
HexSHA1Digest(byte[]) - Static method in class com.couchbase.lite.Misc
 
hitCount() - Method in class com.couchbase.lite.internal.database.util.LruCache
Returns the number of times LruCache.get(K) returned a value that was already present in the cache.
hitCount() - Method in class com.couchbase.lite.util.LruCache
Returns the number of times LruCache.get(K) returned a value that was already present in the cache.
HttpClientFactory - Interface in com.couchbase.lite.support
 
httpConnectionCount - Variable in class com.couchbase.lite.replicator.PullerInternal
 
HTTPStatus(int, String) - Constructor for class com.couchbase.lite.Status.HTTPStatus
 

I

i(String, String) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send an INFO message.
i(String, String, Throwable) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a INFO message and log the exception.
i(String, String, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send an INFO message.
i(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a INFO message and log the exception.
i(String, String) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send an INFO message.
i(String, String, Throwable) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send a INFO message and log the exception.
i(String, String) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
i(String, String, Throwable) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
i(String, String) - Static method in class com.couchbase.lite.util.Log
Send an INFO message.
i(String, String, Throwable) - Static method in class com.couchbase.lite.util.Log
Send a INFO message and log the exception.
i(String, String, Object...) - Static method in class com.couchbase.lite.util.Log
Send an INFO message.
i(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.util.Log
Send a INFO message and log the exception.
i(String, String) - Method in interface com.couchbase.lite.util.Logger
Send an INFO message.
i(String, String, Throwable) - Method in interface com.couchbase.lite.util.Logger
Send a INFO message and log the exception.
i(String, String) - Method in class com.couchbase.lite.util.SystemLogger
 
i(String, String, Throwable) - Method in class com.couchbase.lite.util.SystemLogger
 
IDToken - Variable in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
implementedLoginResponse() - Method in class com.couchbase.lite.auth.FacebookAuthorizer
 
implementedLoginResponse() - Method in interface com.couchbase.lite.auth.LoginAuthorizer
 
implementedLoginResponse() - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
implementedLoginResponse() - Method in class com.couchbase.lite.auth.PersonaAuthorizer
 
implementedLoginResponse() - Method in class com.couchbase.lite.auth.TokenAuthenticator
 
importData() - Method in class com.couchbase.lite.DatabaseUpgrade
 
INFO - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
INFO - Static variable in class com.couchbase.lite.util.Log
 
inlineFollowingAttachmentsIn(RevisionInternal) - Method in class com.couchbase.lite.Database
 
InputStream(InputStream) - Constructor for class com.couchbase.lite.support.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
InputStream(InputStream, int) - Constructor for class com.couchbase.lite.support.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
insert(String, String, ContentValues) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Convenience method for inserting a row into the database.
insert(ContentValues) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Performs an insert, adding a new row with the given values.
insert(String, String, ContentValues) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
insert(String, String, ContentValues) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
insertDownloads(List<RevisionInternal>) - Method in class com.couchbase.lite.replicator.PullerInternal
This will be called when _revsToInsert fills up:
InsertHelper(SQLiteDatabase, String) - Constructor for class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
 
insertOrThrow(String, String, ContentValues) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Convenience method for inserting a row into the database.
insertOrThrow(String, String, ContentValues) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
insertOrThrow(String, String, ContentValues) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
insertWithOnConflict(String, String, ContentValues, int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
General method for inserting a row into the database.
insertWithOnConflict(String, String, ContentValues, int) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
insertWithOnConflict(String, String, ContentValues, int) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
install() - Method in class com.couchbase.lite.BlobStoreWriter
Installs a finished blob into the store.
installAttachmentBodies(Map<String, Object>, Database) - Static method in class com.couchbase.lite.Attachment
Goes through an _attachments dictionary and replaces any values that are Attachment objects with proper JSON metadata dicts.
InterfaceAudience - Class in com.couchbase.lite.internal
Annotations to help mark methods as being public or private.
InterfaceAudience() - Constructor for class com.couchbase.lite.internal.InterfaceAudience
 
InterfaceAudience.Private - Annotation Type in com.couchbase.lite.internal
Intended for use only within Couchbase Lite itself.
InterfaceAudience.Public - Annotation Type in com.couchbase.lite.internal
Intended for use by any project or application.
INTERNAL_SERVER_ERROR - Static variable in class com.couchbase.lite.Status
 
intForQuery(SQLiteStorageEngine, String, String[]) - Static method in class com.couchbase.lite.util.SQLiteUtils
 
inTransaction() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns true if the current thread has a transaction pending.
inTransaction() - Method in class com.couchbase.lite.store.SQLiteStore
Is a transaction active?
inTransaction() - Method in interface com.couchbase.lite.store.Store
Is a transaction active?
INVALID_STORAGE_TYPE - Static variable in class com.couchbase.lite.Status
 
invoke(T) - Method in interface com.couchbase.lite.util.CollectionUtils.Functor
 
IOUtils - Class in com.couchbase.lite.util
Created by hideki on 6/6/16.
IOUtils() - Constructor for class com.couchbase.lite.util.IOUtils
 
is404(Throwable) - Static method in class com.couchbase.lite.util.Utils
 
isActiveOnly() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
isAfterLast() - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns whether the cursor is pointing to the position after the last row.
isAfterLast() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
isAfterLast() - Method in interface com.couchbase.lite.storage.Cursor
 
isAutoMigrateBlobStoreFilename() - Method in class com.couchbase.lite.Manager
 
isAutoMigrateBlobStoreFilename() - Method in class com.couchbase.lite.ManagerOptions
 
isCanceled() - Method in class com.couchbase.lite.internal.database.CancellationSignal
Returns true if the operation has been canceled.
isCancelled() - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
isChunked() - Method in class com.couchbase.lite.router.URLConnection
 
isClosed() - Method in class com.couchbase.lite.router.BufferOutputStream
 
isCompressedRequest() - Method in class com.couchbase.lite.replicator.RemoteRequest
 
isConflict() - Method in class com.couchbase.lite.DocumentChange
YES if the document is in conflict.
isContinuous() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
isContinuous() - Method in class com.couchbase.lite.replicator.Replication
Is this replication continous?
isCreate() - Method in class com.couchbase.lite.DatabaseOptions
Get Create option value.
isCurrentRevision() - Method in class com.couchbase.lite.DocumentChange
Is the new revision the document's current (default, winning) one? If not, there's a conflict.
isDatabaseIntegrityOk() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Runs 'pragma integrity_check' on the given database (and all the attached databases) and returns true if the given database (and all its attached databases) pass integrity_check, false otherwise.
isDbLockedByCurrentThread() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns true if the current thread is holding an active connection to the database.
isDbLockedByOtherThreads() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Deprecated.
Always returns false. Do not use this method.
isDeleted() - Method in class com.couchbase.lite.Document
Is this document deleted? (That is, does its current revision have the '_deleted' property?)
isDeleted() - Method in class com.couchbase.lite.internal.RevisionInternal
 
isDeletion() - Method in class com.couchbase.lite.DocumentChange
YES if the document is deleted
isDeletion() - Method in class com.couchbase.lite.Revision
Does this revision mark the deletion of its document? (In other words, does it have a "_deleted" property?)
isDeletion() - Method in class com.couchbase.lite.SavedRevision
 
isDescending() - Method in class com.couchbase.lite.Query
 
isDescending() - Method in class com.couchbase.lite.QueryOptions
 
isDocumentError(Throwable) - Static method in class com.couchbase.lite.util.Utils
 
isDocumentError(int) - Static method in class com.couchbase.lite.util.Utils
 
isDocumentPending(Document) - Method in class com.couchbase.lite.replicator.Replication
 
isDone() - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
isEmpty(CharSequence) - Static method in class com.couchbase.lite.internal.database.util.TextUtils
Returns true if the string is null or 0-length.
isEmpty() - Method in class com.couchbase.lite.router.ByteBuffer
 
isEmpty() - Method in class com.couchbase.lite.support.Batcher
 
isEmpty() - Method in class com.couchbase.lite.support.SequenceMap
 
isEncrypted() - Method in class com.couchbase.lite.BlobStore
 
isEqual(Object, Object) - Static method in class com.couchbase.lite.util.Utils
Like equals, but works even if either/both are null
isError() - Method in class com.couchbase.lite.Status
 
isExternal() - Method in class com.couchbase.lite.Database.ChangeEvent
 
isFollowRedirects() - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
This method is for unit tests only.
isGone() - Method in class com.couchbase.lite.Revision
Does this revision mark the deletion or removal (from available channels) of its document? (In other words, does it have a "_deleted_ or "_removed" property?)
isGroup() - Method in class com.couchbase.lite.QueryOptions
 
isGzip(Response) - Static method in class com.couchbase.lite.util.Utils
 
isGZipped(BlobKey) - Method in class com.couchbase.lite.BlobStore
 
isIncludeConflicts() - Method in class com.couchbase.lite.ChangesOptions
 
isIncludeDocs() - Method in class com.couchbase.lite.ChangesOptions
 
isIncludeDocs() - Method in class com.couchbase.lite.QueryOptions
 
isInclusiveEnd() - Method in class com.couchbase.lite.Query
 
isInclusiveEnd() - Method in class com.couchbase.lite.QueryOptions
 
isInclusiveStart() - Method in class com.couchbase.lite.Query
 
isInclusiveStart() - Method in class com.couchbase.lite.QueryOptions
 
isInMemoryDatabase() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns true if the database is in-memory db.
isInMemoryDb() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
Returns true if the database is in-memory.
isMainThread() - Method in interface com.couchbase.lite.internal.database.DatabasePlatformSupport
Determine whether the current thread is the main thread or not.
isMapOnly() - Method in class com.couchbase.lite.Query
 
isMissing() - Method in class com.couchbase.lite.internal.RevisionInternal
 
isNull(int) - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Returns true if the value in the indicated column is null.
isNull(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
isNull(int) - Method in interface com.couchbase.lite.storage.Cursor
 
isOnline() - Method in class com.couchbase.lite.NetworkReachabilityManager
 
isOpen() - Method in class com.couchbase.lite.Database
Is the database open?
isOpen() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns true if the database is currently open.
isOpen() - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
isOpen() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
isOpenReadOnly() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
Returns true of the database is open is in OPEN_READONLY mode.
isPermanentError(Throwable) - Static method in class com.couchbase.lite.util.Utils
in CBLMisc.m BOOL CBLIsPermanentError( NSError* error )
isPermanentError(Response) - Static method in class com.couchbase.lite.util.Utils
 
isPrimaryConnection() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Returns true if this is the primary database connection.
isPull() - Method in class com.couchbase.lite.replicator.PullerInternal
 
isPull() - Method in class com.couchbase.lite.replicator.PusherInternal
 
isPull() - Method in class com.couchbase.lite.replicator.Replication
Is this a pull replication? (Eg, it pulls data from Sync Gateway -> Device running CBL?)
isReadOnly() - Method in class com.couchbase.lite.DatabaseOptions
Get ReadOnly option value
isReadOnly() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns true if the database is opened as read only.
isReadOnly() - Method in class com.couchbase.lite.ManagerOptions
 
isReduce() - Method in class com.couchbase.lite.QueryOptions
 
isReduceSpecified() - Method in class com.couchbase.lite.QueryOptions
 
isRunning() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
isRunning() - Method in class com.couchbase.lite.replicator.Replication
True while the replication is running, False if it's stopped.
isSortBySequence() - Method in class com.couchbase.lite.ChangesOptions
 
isStale() - Method in class com.couchbase.lite.QueryEnumerator
True if the database has changed since the view was generated.
isStale() - Method in class com.couchbase.lite.View
Is the view's index currently out of date?
isSuccessful() - Method in class com.couchbase.lite.Status
 
isSupportEncryption() - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
 
isTransientError(Throwable) - Static method in class com.couchbase.lite.util.Utils
in CBLMisc.m BOOL CBLMayBeTransientError( NSError* error )
isTransientError(Response) - Static method in class com.couchbase.lite.util.Utils
 
isUpdateSeq() - Method in class com.couchbase.lite.QueryOptions
 
isValid() - Method in class com.couchbase.lite.internal.AttachmentInternal
 
isValidDatabaseName(String) - Static method in class com.couchbase.lite.Manager
Returns YES if the given name is a valid database name.
isValidDocumentId(String) - Static method in class com.couchbase.lite.Document
in CBLDatabase+Insertion.m + (BOOL) isValidDocumentID: (NSString*)str
isValidJSON() - Method in class com.couchbase.lite.internal.Body
 
isWriteAheadLoggingEnabled() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns true if write-ahead logging has been enabled for this database.
iterator() - Method in class com.couchbase.lite.QueryEnumerator
 
iterator() - Method in class com.couchbase.lite.support.LazyJsonArray
 

J

JNI_SQLCIPHER_LIBRARY - Static variable in class com.couchbase.lite.storage.SQLiteNativeLibrary
 
JNI_SQLITE_CUSTOM_LIBRARY - Static variable in class com.couchbase.lite.storage.SQLiteNativeLibrary
 
join(CharSequence, Iterable) - Static method in class com.couchbase.lite.util.TextUtils
Returns a string containing the tokens joined by delimiters.
join(List<String>, String) - Static method in class com.couchbase.lite.util.Utils
 
joinQuoted(List<String>) - Static method in class com.couchbase.lite.util.TextUtils
 
joinQuotedEscaped(List<String>) - Static method in class com.couchbase.lite.replicator.PullerInternal
 
joinQuotedObjects(List<Object>) - Static method in class com.couchbase.lite.util.TextUtils
 
JSON - Static variable in class com.couchbase.lite.replicator.RemoteRequest
 
JsonDocument - Class in com.couchbase.lite.support
A wrapper around a json byte array that will parse the data as lat as possible
JsonDocument(byte[]) - Constructor for class com.couchbase.lite.support.JsonDocument
 
jsonObject() - Method in class com.couchbase.lite.support.JsonDocument
 
JSONUtils - Class in com.couchbase.lite.util
Created by hideki on 7/23/15.
JSONUtils() - Constructor for class com.couchbase.lite.util.JSONUtils
 

K

kBigAttachmentLength - Static variable in class com.couchbase.lite.Database
 
kCBLDatabaseLocalCheckpoint_LocalUUID - Static variable in class com.couchbase.lite.Database
 
kDBExtension - Static variable in class com.couchbase.lite.Manager
 
kDBFilename - Static variable in class com.couchbase.lite.store.SQLiteStore
 
Key - Class in com.couchbase.lite.internal.database.security
 
Key() - Constructor for class com.couchbase.lite.internal.database.security.Key
 
KEY_SIZE - Static variable in class com.couchbase.lite.support.security.SymmetricKey
 
keyForBlob(byte[]) - Static method in class com.couchbase.lite.BlobStore
 
keyForBlobFromFile(File) - Static method in class com.couchbase.lite.BlobStore
 
keyForPrefixMatch(Object, int) - Static method in class com.couchbase.lite.Misc
in CBLMisc.m id CBLKeyForPrefixMatch(id key, unsigned depth)
keyForPrefixMatch(Object, int) - Static method in class com.couchbase.lite.View
Changes a maxKey into one that also extends to any key it matches as a prefix
keySet() - Method in class com.couchbase.lite.internal.database.ContentValues
Returns a set of all of the keys
keySet() - Method in class com.couchbase.lite.support.LazyJsonObject
 
keySet() - Method in class com.couchbase.lite.support.WeakValueHashMap
 
kLocalCheckpointDocId - Static variable in class com.couchbase.lite.Database
 
kV1DBExtension - Static variable in class com.couchbase.lite.Manager
 

L

label - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
The label to use to describe the database when it appears in logs.
lastError - Variable in class com.couchbase.lite.replicator.Replication
 
lastSequenceWithCheckpointId(String) - Method in class com.couchbase.lite.Database
 
LazyJsonArray<T> - Class in com.couchbase.lite.support
 
LazyJsonArray(byte[]) - Constructor for class com.couchbase.lite.support.LazyJsonArray
 
LazyJsonObject<K,V> - Class in com.couchbase.lite.support
 
LazyJsonObject(byte[]) - Constructor for class com.couchbase.lite.support.LazyJsonObject
 
LEGAL_CHARACTERS - Static variable in class com.couchbase.lite.Manager
 
lifecycle - Variable in class com.couchbase.lite.replicator.Replication
 
limit(int) - Method in class com.couchbase.lite.RevisionList
 
listeners - Variable in class com.couchbase.lite.NetworkReachabilityManager
 
LiveQuery - Class in com.couchbase.lite
A Query subclass that automatically refreshes the result rows every time the database changes.
LiveQuery.ChangeEvent - Class in com.couchbase.lite
The type of event raised when a LiveQuery result set changes.
LiveQuery.ChangeListener - Interface in com.couchbase.lite
A delegate that can be used to listen for LiveQuery result set changes.
load() - Static method in class com.couchbase.lite.storage.SQLiteNativeLibrary
 
loadCurrentRevisionFrom(QueryRow) - Method in class com.couchbase.lite.Document
 
loadForRequest(HttpUrl) - Method in class com.couchbase.lite.support.PersistentCookieJar
 
loadLibrary(String) - Static method in class com.couchbase.lite.util.NativeLibraryUtils
 
loadProperties() - Method in class com.couchbase.lite.SavedRevision
 
loadRevisionBody(RevisionInternal) - Method in class com.couchbase.lite.Database
 
loadRevisionBody(RevisionInternal) - Method in class com.couchbase.lite.store.SQLiteStore
 
loadRevisionBody(RevisionInternal) - Method in interface com.couchbase.lite.store.Store
Loads the body of a revision.
loadTokens(URL, String) - Method in class com.couchbase.lite.auth.MemTokenStore
 
loadTokens(URL, String) - Method in interface com.couchbase.lite.auth.TokenStore
Load tokens from the token store
locale - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
The database locale.
Log - Class in com.couchbase.lite.util
 
Log() - Constructor for class com.couchbase.lite.util.Log
 
logger - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
Logger - Interface in com.couchbase.lite.internal.database.log
 
Logger - Interface in com.couchbase.lite.util
 
LoggerFactory - Class in com.couchbase.lite.util
 
LoggerFactory() - Constructor for class com.couchbase.lite.util.LoggerFactory
 
LoginAuthorizer - Interface in com.couchbase.lite.auth
Created by hideki on 6/14/16.
LoginAuthorizer.ContinuationBlock - Interface in com.couchbase.lite.auth
 
loginCallback - Variable in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
loginRequest() - Method in class com.couchbase.lite.auth.FacebookAuthorizer
 
loginRequest() - Method in interface com.couchbase.lite.auth.LoginAuthorizer
Returns the HTTP method, URL, and body of the login request to send, or nil for no login.
loginRequest() - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
loginRequest() - Method in class com.couchbase.lite.auth.PersonaAuthorizer
 
loginRequest() - Method in class com.couchbase.lite.auth.TokenAuthenticator
 
loginResponse(Object, Headers, Throwable, LoginAuthorizer.ContinuationBlock) - Method in class com.couchbase.lite.auth.FacebookAuthorizer
 
loginResponse(Object, Headers, Throwable, LoginAuthorizer.ContinuationBlock) - Method in interface com.couchbase.lite.auth.LoginAuthorizer
The replicator calls this method with the response to the login request.
loginResponse(Object, Headers, Throwable, LoginAuthorizer.ContinuationBlock) - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
loginResponse(Object, Headers, Throwable, LoginAuthorizer.ContinuationBlock) - Method in class com.couchbase.lite.auth.PersonaAuthorizer
 
loginResponse(Object, Headers, Throwable, LoginAuthorizer.ContinuationBlock) - Method in class com.couchbase.lite.auth.TokenAuthenticator
 
longForQuery(SQLiteDatabase, String, String[]) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Utility method to run the query on the db and return the value in the first column of the first row.
longForQuery(SQLiteStatement, String[]) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Utility method to run the pre-compiled query and return the value in the first column of the first row.
longForQuery(SQLiteStorageEngine, String, String[]) - Static method in class com.couchbase.lite.util.SQLiteUtils
 
lookaside - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDebug.DbStats
documented here http://www.sqlite.org/c3ref/c_dbstatus_lookaside_used.html
LruCache<K,V> - Class in com.couchbase.lite.internal.database.util
A cache that holds strong references to a limited number of values.
LruCache(int) - Constructor for class com.couchbase.lite.internal.database.util.LruCache
 
LruCache<K,V> - Class in com.couchbase.lite.util
BEGIN LAYOUTLIB CHANGE This is a custom version that doesn't use the non standard LinkedHashMap#eldest.
LruCache(int) - Constructor for class com.couchbase.lite.util.LruCache
 

M

makeAnonymousView() - Method in class com.couchbase.lite.Database
 
makeRevisionHistoryDict(List<RevisionInternal>) - Static method in class com.couchbase.lite.support.RevisionUtils
 
Manager - Class in com.couchbase.lite
Top-level CouchbaseLite object; manages a collection of databases as a CouchDB server does.
Manager() - Constructor for class com.couchbase.lite.Manager
Constructor
Manager(Context, ManagerOptions) - Constructor for class com.couchbase.lite.Manager
Constructor
ManagerOptions - Class in com.couchbase.lite
Option flags for Manager initialization.
ManagerOptions() - Constructor for class com.couchbase.lite.ManagerOptions
 
map(Map<String, Object>, Emitter) - Method in interface com.couchbase.lite.Mapper
A "map" function called when a document is to be added to a view.
Mapper - Interface in com.couchbase.lite
Block container for the map callback function
markTableSyncable(String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Deprecated.
This method no longer serves any useful purpose and has been deprecated.
markTableSyncable(String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Deprecated.
This method no longer serves any useful purpose and has been deprecated.
MAX_NUMBER_OF_ATTS_SINCE - Static variable in class com.couchbase.lite.replicator.PullerInternal
 
MAX_PENDING_DOCS - Static variable in class com.couchbase.lite.replicator.PullerInternal
 
MAX_PENDING_DOCS - Static variable in class com.couchbase.lite.replicator.PusherInternal
 
MAX_RETRIES - Static variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
MAX_REVS_TO_GET_IN_BULK - Static variable in class com.couchbase.lite.replicator.PullerInternal
 
MAX_SQL_CACHE_SIZE - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Absolute max value that can be set by SQLiteDatabase.setMaxSqlCacheSize(int).
maxSize() - Method in class com.couchbase.lite.internal.database.util.LruCache
For caches that do not override LruCache.sizeOf(K, V), this returns the maximum number of entries in the cache.
maxSize() - Method in class com.couchbase.lite.util.LruCache
For caches that do not override LruCache.sizeOf(K, V), this returns the maximum number of entries in the cache.
maxSqlCacheSize - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
The maximum size of the prepared statement cache for each database connection.
maybeCreateRemoteDB() - Method in class com.couchbase.lite.replicator.PullerInternal
 
maybeCreateRemoteDB() - Method in class com.couchbase.lite.replicator.PusherInternal
- (void) maybeCreateRemoteDB in CBL_Replicator.m
mBindArgs - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
mD5DigestString() - Method in class com.couchbase.lite.BlobStoreWriter
 
MEMORY_DB_PATH - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
Special path used by in-memory databases.
MemTokenStore - Class in com.couchbase.lite.auth
Created by hideki on 6/22/16.
MemTokenStore() - Constructor for class com.couchbase.lite.auth.MemTokenStore
 
method - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
method - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
METHOD_NOT_ALLOWED - Static variable in class com.couchbase.lite.Status
 
migrateBlobstoreFilenames(File) - Static method in class com.couchbase.lite.BlobStore
 
MIN_JSON_LENGTH_TO_COMPRESS - Static variable in class com.couchbase.lite.replicator.RemoteRequest
 
mInUse - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
Misc - Class in com.couchbase.lite
 
Misc() - Constructor for class com.couchbase.lite.Misc
 
missCount() - Method in class com.couchbase.lite.internal.database.util.LruCache
Returns the number of times LruCache.get(K) returned null or required a new value to be created.
missCount() - Method in class com.couchbase.lite.util.LruCache
Returns the number of times LruCache.get(K) returned null or required a new value to be created.
mNumParameters - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
moveAndReplaceFile(String, String, String) - Static method in class com.couchbase.lite.support.action.Action
Moves the file/directory to a new location, replacing anything that already exists there.
moveFileToEmptyPath(String, String) - Static method in class com.couchbase.lite.support.action.Action
Moves the file/directory to a new location, which must not already exist.
moveToNext() - Method in interface com.couchbase.lite.internal.database.cursor.Cursor
Move the cursor to the next row.
moveToNext() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
moveToNext() - Method in interface com.couchbase.lite.storage.Cursor
 
mPoolNext - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
mReadOnly - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
mSql - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
mStatementPtr - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
mType - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
MultipartDocumentReader - Class in com.couchbase.lite.support
 
MultipartDocumentReader(Database) - Constructor for class com.couchbase.lite.support.MultipartDocumentReader
 
MultipartReader - Class in com.couchbase.lite.support
 
MultipartReader(String, MultipartReaderDelegate) - Constructor for class com.couchbase.lite.support.MultipartReader
 
MultipartReaderDelegate - Interface in com.couchbase.lite.support
 
mutateAttachments(CollectionUtils.Functor<Map<String, Object>, Map<String, Object>>) - Method in class com.couchbase.lite.internal.RevisionInternal
 

N

NATIVE_LIBRARY_OPTIONS - Static variable in class com.couchbase.lite.storage.SQLiteNativeLibrary
 
NativeLibraryUtils - Class in com.couchbase.lite.util
 
NativeLibraryUtils() - Constructor for class com.couchbase.lite.util.NativeLibraryUtils
 
needUpgrade(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Returns true if the new version code is greater than the current database version.
NetworkReachabilityListener - Interface in com.couchbase.lite
Classes that want to register to the NetworkReachabilityManager to be notified of network reachability events should implment this interface.
NetworkReachabilityManager - Class in com.couchbase.lite
This uses system api (on Android, uses the Context) to listen for network reachability change events and notifies all NetworkReachabilityListeners that have registered themselves.
NetworkReachabilityManager() - Constructor for class com.couchbase.lite.NetworkReachabilityManager
 
networkReachable() - Method in interface com.couchbase.lite.NetworkReachabilityListener
 
networkReachable() - Method in class com.couchbase.lite.replicator.Replication
 
networkUnreachable() - Method in interface com.couchbase.lite.NetworkReachabilityListener
 
networkUnreachable() - Method in class com.couchbase.lite.replicator.Replication
 
newCursor(SQLiteDatabase, SQLiteCursorDriver, String, SQLiteQuery) - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.CursorFactory
 
next() - Method in class com.couchbase.lite.QueryEnumerator
Gets the next QueryRow from the results, or null if there are no more results.
nextDocumentExpiry() - Method in class com.couchbase.lite.store.SQLiteStore
 
nextDocumentExpiry() - Method in interface com.couchbase.lite.store.Store
Returns the next time at which a document will expire.
NO_CLOSE - Static variable in class com.couchbase.lite.util.Base64
Flag to pass to android.util.Base64OutputStream to indicate that it should not close the output stream it is wrapping when it itself is closed.
NO_OPTIONS - Static variable in class com.couchbase.lite.support.Base64
No options specified.
NO_PADDING - Static variable in class com.couchbase.lite.util.Base64
Encoder flag bit to omit the padding '=' characters at the end of the output (if any).
NO_WRAP - Static variable in class com.couchbase.lite.util.Base64
Encoder flag bit to omit all line terminators (i.e., the output will be on one long line).
NOT_ACCEPTABLE - Static variable in class com.couchbase.lite.Status
 
NOT_FOUND - Static variable in class com.couchbase.lite.Status
 
NOT_IMPLEMENTED - Static variable in class com.couchbase.lite.Status
 
NOT_MODIFIED - Static variable in class com.couchbase.lite.Status
 
notifyListenersNetworkReachable() - Method in class com.couchbase.lite.NetworkReachabilityManager
Notify listeners that the network is now reachable
notifyListenersNetworkUneachable() - Method in class com.couchbase.lite.NetworkReachabilityManager
Notify listeners that the network is now unreachable
nullToEmpty(String[]) - Static method in class com.couchbase.lite.util.ArrayUtils
 
numParameters - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteStatementInfo
The number of parameters that the statement has.

O

OIDCLoginCallback - Interface in com.couchbase.lite.auth
A login callback block given when creating an OpenID Connect authenticator.
OIDCLoginContinuation - Interface in com.couchbase.lite.auth
A Login continuation callback that will be passed to your OIDCLoginCallback.
OK - Static variable in class com.couchbase.lite.Status
 
onAllReferencesReleased() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteClosable
Called when the last reference to the object was released by a call to SQLiteClosable.releaseReference() or SQLiteClosable.close().
onAllReferencesReleased() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
 
onAllReferencesReleased() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
 
onAllReferencesReleasedFromContainer() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteClosable
Deprecated.
Do not use.
onBeforeScheduleRetry() - Method in class com.couchbase.lite.replicator.PullerInternal
 
onBeforeScheduleRetry() - Method in class com.couchbase.lite.replicator.PusherInternal
 
onBegin() - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteTransactionListener
Called immediately after the transaction begins.
onCancel() - Method in interface com.couchbase.lite.internal.database.CancellationSignal.OnCancelListener
Called when CancellationSignal.cancel() is invoked.
onCancel() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
 
onClose(SQLiteConnection) - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteConnectionListener
 
onCommit() - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteTransactionListener
Called immediately before commiting the transaction.
onCompletion - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
onCompletion(RemoteRequest, Response, Object, Throwable) - Method in interface com.couchbase.lite.replicator.RemoteRequestCompletion
 
onCompletionCaller - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
onCorruption(SQLiteDatabase) - Method in interface com.couchbase.lite.internal.database.DatabaseErrorHandler
defines the method to be invoked when database corruption is detected.
onCorruption(SQLiteDatabase) - Method in class com.couchbase.lite.internal.database.DefaultDatabaseErrorHandler
defines the default method to be invoked when database corruption is detected.
onCorruption() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteProgram
 
onDocument(Map<String, Object>, long) - Method in interface com.couchbase.lite.replicator.RemoteBulkDownloaderRequest.BulkDownloaderDocument
 
onOpen(SQLiteConnection) - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteConnectionListener
 
onPostCompletion - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
onPreCompletion - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
onPreCompletionCaller - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
onResponseReady() - Method in interface com.couchbase.lite.router.RouterCallbackBlock
 
onRollback() - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteTransactionListener
Called if the transaction is about to be rolled back.
open() - Method in class com.couchbase.lite.Database
 
open(DatabaseOptions) - Method in class com.couchbase.lite.Database
 
open(SQLiteDatabaseConfiguration, SQLiteConnectionListener) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Opens a connection pool for the specified database.
open(String, SymmetricKey) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
open(String, SymmetricKey) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
open() - Method in class com.couchbase.lite.store.SQLiteStore
 
open() - Method in interface com.couchbase.lite.store.Store
Opens storage.
OPEN_READ_MASK - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
 
OPEN_READONLY - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
OPEN_READWRITE - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
openConnection(URL) - Method in class com.couchbase.lite.router.URLHandler
 
openDatabase(String, SQLiteDatabase.CursorFactory, int) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
openDatabase(String, SQLiteDatabase.CursorFactory, int, DatabaseErrorHandler) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
openDatabase(String, SQLiteDatabase.CursorFactory, int, int, DatabaseErrorHandler, SQLiteConnectionListener) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
openDatabase(String, DatabaseOptions) - Method in class com.couchbase.lite.Manager
Returns the database with the given name.
openFlags - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
The flags used to open the database.
OpenIDConnectAuthorizer - Class in com.couchbase.lite.auth
 
OpenIDConnectAuthorizer(OIDCLoginCallback, TokenStore) - Constructor for class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
openOrCreateDatabase(File, SQLiteDatabase.CursorFactory) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Equivalent to openDatabase(file.getPath(), factory, CREATE_IF_NECESSARY).
openOrCreateDatabase(String, SQLiteDatabase.CursorFactory) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Equivalent to openDatabase(path, factory, CREATE_IF_NECESSARY).
openOrCreateDatabase(String, SQLiteDatabase.CursorFactory, DatabaseErrorHandler) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Equivalent to openDatabase(path, factory, CREATE_IF_NECESSARY, errorHandler).
OperationCanceledException - Exception in com.couchbase.lite.internal.database
An exception type that is thrown when an operation in progress is canceled.
OperationCanceledException() - Constructor for exception com.couchbase.lite.internal.database.OperationCanceledException
 
OperationCanceledException(String) - Constructor for exception com.couchbase.lite.internal.database.OperationCanceledException
 
optimizeSQLIndexes() - Method in class com.couchbase.lite.store.SQLiteStore
https://github.com/couchbase/couchbase-lite-ios/issues/615
ORDERED - Static variable in class com.couchbase.lite.support.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
OutputStream(OutputStream) - Constructor for class com.couchbase.lite.support.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
OutputStream(OutputStream, int) - Constructor for class com.couchbase.lite.support.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

P

pageSize - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDebug.DbStats
the page size for the database
Pair<F,S> - Class in com.couchbase.lite.internal.database.util
Container to ease passing around a tuple of two objects.
Pair(F, S) - Constructor for class com.couchbase.lite.internal.database.util.Pair
Constructor for a Pair.
parentRevID - Variable in class com.couchbase.lite.Revision
The ID of the parentRevision.
parseAuthHeader(String) - Static method in class com.couchbase.lite.replicator.RemoteRequest
BLIPHTTPLogic.m + (NSDictionary*) parseAuthHeader: (NSString*)authHeader
parseCouchDBRevisionHistory(Map<String, Object>) - Static method in class com.couchbase.lite.Database
Parses the _revisions dict from a document into an array of revision ID strings
parseHeaders(String) - Method in class com.couchbase.lite.support.MultipartReader
 
parseJsonBuffer() - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
parseRevIDNumber(String) - Static method in class com.couchbase.lite.support.RevisionUtils
Splits a revision ID into its generation number and opaque suffix string
parseRevIDSuffix(String) - Static method in class com.couchbase.lite.support.RevisionUtils
Splits a revision ID into its generation number and opaque suffix string
parseRowValue(byte[]) - Method in interface com.couchbase.lite.store.QueryRowStore
Parses a "normal" (not entire-doc) row value into a JSON-compatible object.
parseRowValue(byte[]) - Method in class com.couchbase.lite.store.SQLiteViewStore
 
PasswordAuthorizer - Class in com.couchbase.lite.auth
Authenticator impl that knows how to do basic auth
PasswordAuthorizer(String, String) - Constructor for class com.couchbase.lite.auth.PasswordAuthorizer
 
path - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
The database path.
pauseOrResume() - Method in class com.couchbase.lite.replicator.PullerInternal
 
pendingSequences - Variable in class com.couchbase.lite.replicator.PullerInternal
 
perform() - Method in class com.couchbase.lite.support.action.Action
 
perform() - Method in interface com.couchbase.lite.support.action.AtomicAction
Performs the action.
PersistentCookieJar - Class in com.couchbase.lite.support
 
PersistentCookieJar(Database) - Constructor for class com.couchbase.lite.support.PersistentCookieJar
 
PersonaAuthorizer - Class in com.couchbase.lite.auth
Authorizer for the Persona decentralized-identity system.
PersonaAuthorizer(String) - Constructor for class com.couchbase.lite.auth.PersonaAuthorizer
 
poll(long, TimeUnit) - Method in class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
poll() - Method in class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
pop() - Method in class com.couchbase.lite.router.ByteBuffer
 
pop(byte[]) - Method in class com.couchbase.lite.router.ByteBuffer
 
pop(byte[], int, int) - Method in class com.couchbase.lite.router.ByteBuffer
 
Predicate<T> - Interface in com.couchbase.lite
Created by hideki on 1/7/15.
PrefixPrinter - Class in com.couchbase.lite.internal.database.util
PrefixPrinter is a Printer which prefixes all lines with a given prefix.
prepare(String, SQLiteStatementInfo) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
Prepares a statement for execution but does not bind its parameters or execute it.
prepare(String, int, CancellationSignal, SQLiteStatementInfo) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Prepares a statement for execution but does not bind its parameters or execute it.
PreparedStatement() - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteConnection.PreparedStatement
 
prepareForInsert() - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Prepare the InsertHelper for an insert.
prepareForReplace() - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Prepare the InsertHelper for a replace.
Printer - Interface in com.couchbase.lite.internal.database.util
Simple interface for printing text, allowing redirection to various targets.
println(String) - Method in class com.couchbase.lite.internal.database.util.PrefixPrinter
 
println(String) - Method in interface com.couchbase.lite.internal.database.util.Printer
Write a line of text to the output.
privateUUID() - Method in class com.couchbase.lite.Database
 
process(List<T>) - Method in interface com.couchbase.lite.support.BatchProcessor
 
processChangeTrackerChange(Map<String, Object>) - Method in class com.couchbase.lite.replicator.PullerInternal
in CBL_Puller.m - (void) changeTrackerReceivedSequence: (id)remoteSequenceID docID: (NSString*)docID revIDs: (NSArray*)revIDs deleted: (BOOL)deleted
processInbox(RevisionList) - Method in class com.couchbase.lite.replicator.PullerInternal
Process a bunch of remote revisions from the _changes feed at once
processInbox(RevisionList) - Method in class com.couchbase.lite.replicator.PusherInternal
- (void) processInbox: (CBL_RevisionList*)changes in CBLRestPusher.m
PRODUCT_NAME - Static variable in class com.couchbase.lite.Manager
 
propertiesToInsert(Map<String, Object>) - Method in class com.couchbase.lite.Document
 
pruneDocument(String, long, int) - Method in class com.couchbase.lite.store.SQLiteStore
 
pruneRevsToMaxDepth(int) - Method in class com.couchbase.lite.store.SQLiteStore
Prune revisions to the given max depth.
publicUUID() - Method in class com.couchbase.lite.Database
 
pullBulkRevisions(List<RevisionInternal>) - Method in class com.couchbase.lite.replicator.PullerInternal
 
pullBulkWithAllDocs(List<RevisionInternal>) - Method in class com.couchbase.lite.replicator.PullerInternal
 
PullerInternal - Class in com.couchbase.lite.replicator
Pull Replication
PullerInternal(Database, URL, HttpClientFactory, Replication.Lifecycle, Replication) - Constructor for class com.couchbase.lite.replicator.PullerInternal
 
pullRemoteRevision(RevisionInternal) - Method in class com.couchbase.lite.replicator.PullerInternal
Fetches the contents of a revision from the remote db, including its parent revision ID.
pullRemoteRevisions() - Method in class com.couchbase.lite.replicator.PullerInternal
Start up some HTTP GETs, within our limit on the maximum simultaneous number

The entire method is not synchronized, only the portion pulling work off the list Important to not hold the synchronized block while we do network access

purge() - Method in class com.couchbase.lite.Document
Purges this document from the database; this is more than deletion, it forgets entirely about it.
purgeExpiredDocuments() - Method in class com.couchbase.lite.store.SQLiteStore
 
purgeExpiredDocuments() - Method in interface com.couchbase.lite.store.Store
Triggers purging of documents whose expiration time has passed.
purgeRevisions(Map<String, List<String>>) - Method in class com.couchbase.lite.Database
Purges specific revisions, which deletes them completely from the local database _without_ adding a "tombstone" revision.
purgeRevisions(Map<String, List<String>>) - Method in class com.couchbase.lite.store.SQLiteStore
Purges specific revisions, which deletes them completely from the local storageEngine _without_ adding a "tombstone" revision.
purgeRevisions(Map<String, List<String>>) - Method in interface com.couchbase.lite.store.Store
Purges specific revisions, which deletes them completely from the local database _without_ adding a "tombstone" revision.
push(byte) - Method in class com.couchbase.lite.router.ByteBuffer
 
push(byte[]) - Method in class com.couchbase.lite.router.ByteBuffer
 
push(byte[], int, int) - Method in class com.couchbase.lite.router.ByteBuffer
 
PusherInternal - Class in com.couchbase.lite.replicator
 
PusherInternal(Database, URL, HttpClientFactory, Replication.Lifecycle, Replication) - Constructor for class com.couchbase.lite.replicator.PusherInternal
Constructor
put(K, V) - Method in class com.couchbase.lite.Cache
 
put(String, Map<String, Object>, String, boolean, URL, Status) - Method in class com.couchbase.lite.Database
 
put(String, String) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(String, Byte) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(String, Short) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(String, Integer) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(String, Long) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(String, Float) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(String, Double) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(String, Boolean) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(String, byte[]) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a value to the set.
put(K, V) - Method in class com.couchbase.lite.internal.database.util.LruCache
Caches value for key.
put(E) - Method in class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
put(K, V) - Method in class com.couchbase.lite.support.LazyJsonObject
 
put(K, V) - Method in class com.couchbase.lite.support.WeakValueHashMap
 
put(K, V) - Method in class com.couchbase.lite.util.LruCache
Caches value for key.
putAll(ContentValues) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds all values from the passed in ContentValues.
putCount() - Method in class com.couchbase.lite.internal.database.util.LruCache
Returns the number of times LruCache.put(K, V) was called.
putCount() - Method in class com.couchbase.lite.util.LruCache
Returns the number of times LruCache.put(K, V) was called.
putExistingRevision(Map<String, Object>, Map<String, Object>, List<String>, URL) - Method in class com.couchbase.lite.Document
Adds an existing revision copied from another database.
putLocalCheckpointDocumentWithKey(String, Object) - Method in class com.couchbase.lite.Database
Put a property with a given key and value into the local checkpoint document.
putLocalDocument(String, Map<String, Object>) - Method in class com.couchbase.lite.Database
Sets the contents of the local document with the given ID.
putLocalRevision(RevisionInternal, String, boolean) - Method in class com.couchbase.lite.Database
 
putLocalRevision(RevisionInternal, String, boolean) - Method in class com.couchbase.lite.store.SQLiteStore
 
putLocalRevision(RevisionInternal, String, boolean) - Method in interface com.couchbase.lite.store.Store
Creates / updates / deletes a local document.
putLocalRevisionNoMVCC(RevisionInternal) - Method in class com.couchbase.lite.store.SQLiteStore
- (CBL_Revision*) putLocalRevisionNoMVCC: (CBL_Revision*)revision status: (CBLStatus*)outStatus
putNull(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Adds a null value to the set.
putProperties(Map<String, Object>) - Method in class com.couchbase.lite.Document
Saves a new revision.
putProperties(Map<String, Object>, String, boolean) - Method in class com.couchbase.lite.Document
 
putRevision(RevisionInternal, String, boolean) - Method in class com.couchbase.lite.Database
 
putRevision(RevisionInternal, String, boolean, Status) - Method in class com.couchbase.lite.Database
 
putStringArrayList(String, ArrayList<String>) - Method in class com.couchbase.lite.internal.database.ContentValues
Deprecated.

Q

query(SQLiteDatabase.CursorFactory, String[]) - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteCursorDriver
Executes the query returning a Cursor over the result set.
query(boolean, String, String[], String, String[], String, String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Query the given URL, returning a Cursor over the result set.
query(boolean, String, String[], String, String[], String, String, String, String, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Query the given URL, returning a Cursor over the result set.
query(String, String[], String, String[], String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Query the given table, returning a Cursor over the result set.
query(String, String[], String, String[], String, String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Query the given table, returning a Cursor over the result set.
query(SQLiteDatabase.CursorFactory, String[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver
 
query(SQLiteDatabase, String[], String, String[], String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Perform a query by combining all current settings and the information passed into this method.
query(SQLiteDatabase, String[], String, String[], String, String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Perform a query by combining all current settings and the information passed into this method.
query(SQLiteDatabase, String[], String, String[], String, String, String, String, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Perform a query by combining all current settings and the information passed into this method.
Query - Class in com.couchbase.lite
Represents a query of a CouchbaseLite 'view', or of a view-like resource like _all_documents.
query(QueryOptions) - Method in class com.couchbase.lite.View
Queries the view.
Query.AllDocsMode - Enum in com.couchbase.lite
Changes the behavior of a query created by queryAllDocuments.
Query.IndexUpdateMode - Enum in com.couchbase.lite
Determines whether or when the view index is updated.
Query.QueryCompleteListener - Interface in com.couchbase.lite
A delegate that can be called to signal the completion of a Query.
QUERY_OPTIONS_DEFAULT_LIMIT - Static variable in class com.couchbase.lite.QueryOptions
 
QueryEnumerator - Class in com.couchbase.lite
An enumerator for Couchbase Lite View Query results.
queryFuture - Variable in class com.couchbase.lite.LiveQuery
If a query is running and the user calls stop() on this query, the future will be used in order to cancel the query in progress.
queryIsEmpty(SQLiteDatabase, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Query the table to check whether a table is empty or not
queryNumEntries(SQLiteDatabase, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Query the table for the number of rows in the table.
queryNumEntries(SQLiteDatabase, String, String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Query the table for the number of rows in the table.
queryNumEntries(SQLiteDatabase, String, String, String[]) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Query the table for the number of rows in the table.
QueryOptions - Class in com.couchbase.lite
Standard query options for views.
QueryOptions() - Constructor for class com.couchbase.lite.QueryOptions
 
queryOptionsChanged() - Method in class com.couchbase.lite.LiveQuery
 
QueryRow - Class in com.couchbase.lite
A result row from a CouchbaseLite view query.
QueryRow(String, long, Object, Object, RevisionInternal) - Constructor for class com.couchbase.lite.QueryRow
Constructor

The database property will be filled in when I'm added to a QueryEnumerator.

QueryRowStore - Interface in com.couchbase.lite.store
 
queryViewNamed(String, QueryOptions, List<Long>) - Method in class com.couchbase.lite.Database
Reference: In CBLQuery.m - (CBLQueryEnumerator*) queryViewNamed: (NSString*)viewName options: (CBLQueryOptions*)options ifChangedSince: (SequenceNumber)ifChangedSince status: (CBLStatus*)outStatus
queryWithFactory(SQLiteDatabase.CursorFactory, boolean, String, String[], String, String[], String, String, String, String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Query the given URL, returning a Cursor over the result set.
queryWithFactory(SQLiteDatabase.CursorFactory, boolean, String, String[], String, String[], String, String, String, String, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Query the given URL, returning a Cursor over the result set.
queuedMemorySize - Variable in class com.couchbase.lite.replicator.PullerInternal
 
queueObject(T) - Method in class com.couchbase.lite.support.Batcher
Adds an object to the queue.
queueObjects(List<T>) - Method in class com.couchbase.lite.support.Batcher
Adds multiple objects to the queue.
queueRemoteRevision(RevisionInternal) - Method in class com.couchbase.lite.replicator.PullerInternal
Add a revision to the appropriate queue of revs to individually GET
quote(String) - Static method in class com.couchbase.lite.util.TextUtils
 

R

Range - Class in com.couchbase.lite.support
 
rawQuery(String, String[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Runs the provided SQL and returns a Cursor over the result set.
rawQuery(String, String[], CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Runs the provided SQL and returns a Cursor over the result set.
rawQuery(String, String[]) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
rawQuery(String, String[]) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
rawQueryWithFactory(SQLiteDatabase.CursorFactory, String, String[], String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Runs the provided SQL and returns a cursor over the result set.
rawQueryWithFactory(SQLiteDatabase.CursorFactory, String, String[], String, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Runs the provided SQL and returns a cursor over the result set.
read() - Method in class com.couchbase.lite.router.BufferInputStream
 
read(byte[], int, int) - Method in class com.couchbase.lite.router.BufferInputStream
 
read() - Method in class com.couchbase.lite.support.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class com.couchbase.lite.support.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
read(InputStream) - Static method in class com.couchbase.lite.util.TextUtils
 
read(File) - Static method in class com.couchbase.lite.util.TextUtils
 
readOnly - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteStatementInfo
True if the statement is read-only.
receivedChange(Map<String, Object>) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
receivedPollResponse(Map<String, Object>) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
reconfigure(SQLiteDatabaseConfiguration) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Reconfigures the database configuration of the connection pool and all of its connections.
reduce(List<Object>, List<Object>, boolean) - Method in interface com.couchbase.lite.Reducer
A "reduce" function called to summarize the results of a view.
reducedQuery(QueryOptions) - Method in class com.couchbase.lite.store.SQLiteViewStore
Queries the view, with reducing or grouping as per the options.
reducedQuery(QueryOptions) - Method in interface com.couchbase.lite.store.ViewStore
Queries the view, with reducing or grouping as per the options.
reduceMemoryUsage() - Method in class com.couchbase.lite.DocumentChange
 
Reducer - Interface in com.couchbase.lite
Block container for the reduce callback function
RefCounter - Class in com.couchbase.lite.util
Created by hideki on 9/30/16.
RefCounter() - Constructor for class com.couchbase.lite.util.RefCounter
 
refreshToken - Variable in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
register(long, String, String) - Static method in class com.couchbase.lite.storage.SQLiteJsonCollator
 
register(long) - Static method in class com.couchbase.lite.storage.SQLiteRevCollator
 
registerAssertion(String) - Static method in class com.couchbase.lite.auth.PersonaAuthorizer
 
registerEncryptionKey(Object, String) - Method in class com.couchbase.lite.Manager
This method has been superseded by Manager.openDatabase(String, DatabaseOptions).
registerSelfIgnoreError() - Static method in class com.couchbase.lite.router.URLStreamHandlerFactory
 
registerToken(String, String, URL) - Static method in class com.couchbase.lite.auth.FacebookAuthorizer
 
regularQuery(QueryOptions) - Method in class com.couchbase.lite.store.SQLiteViewStore
Queries the view without performing any reducing or grouping.
regularQuery(QueryOptions) - Method in interface com.couchbase.lite.store.ViewStore
Queries the view without performing any reducing or grouping.
reject() - Method in interface com.couchbase.lite.ValidationContext
Rejects the new Revision.
reject(String) - Method in interface com.couchbase.lite.ValidationContext
Rejects the new Revision.
release() - Method in class com.couchbase.lite.internal.Body
 
release() - Method in class com.couchbase.lite.util.RefCounter
 
releaseConnection(SQLiteConnection) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Releases a connection back to the pool.
releaseReference() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteClosable
Releases a reference to the object, closing the object if the last reference was released.
releaseReferenceFromContainer() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteClosable
Deprecated.
Do not use.
rememberAttachmentWriter(BlobStoreWriter) - Method in class com.couchbase.lite.Database
 
rememberAttachmentWriter(BlobStoreWriter, String) - Method in class com.couchbase.lite.Database
 
rememberAttachmentWritersForDigests(Map<String, BlobStoreWriter>) - Method in class com.couchbase.lite.Database
 
rememberPendingKey(BlobKey, String) - Method in class com.couchbase.lite.Database
 
remote - Variable in class com.couchbase.lite.replicator.Replication
 
RemoteBulkDownloaderRequest - Class in com.couchbase.lite.replicator
A special type of RemoteRequest that knows how to call the _bulk_get endpoint.
RemoteBulkDownloaderRequest(HttpClientFactory, URL, boolean, List<RevisionInternal>, Database, Map<String, Object>, RemoteBulkDownloaderRequest.BulkDownloaderDocument, RemoteRequestCompletion) - Constructor for class com.couchbase.lite.replicator.RemoteBulkDownloaderRequest
 
RemoteBulkDownloaderRequest.BulkDownloaderDocument - Interface in com.couchbase.lite.replicator
 
remoteCheckpointDocID() - Method in class com.couchbase.lite.replicator.Replication
Following two methods for temporary methods instead of CBL_ReplicatorSettings implementation.
RemoteFormRequest - Class in com.couchbase.lite.replicator
Created by hideki on 6/21/16.
RemoteFormRequest(HttpClientFactory, String, URL, boolean, Map<String, String>, Map<String, Object>, RemoteRequestCompletion) - Constructor for class com.couchbase.lite.replicator.RemoteFormRequest
 
RemoteMultipartDownloaderRequest - Class in com.couchbase.lite.replicator
 
RemoteMultipartDownloaderRequest(HttpClientFactory, String, URL, boolean, Map<String, ?>, Database, Map<String, Object>, RemoteRequestCompletion) - Constructor for class com.couchbase.lite.replicator.RemoteMultipartDownloaderRequest
 
RemoteMultipartRequest - Class in com.couchbase.lite.replicator
 
RemoteMultipartRequest(HttpClientFactory, String, URL, boolean, boolean, Map<String, ?>, Map<String, Object>, Database, Map<String, Object>, RemoteRequestCompletion) - Constructor for class com.couchbase.lite.replicator.RemoteMultipartRequest
 
RemoteRequest - Class in com.couchbase.lite.replicator
 
RemoteRequest(HttpClientFactory, String, URL, boolean, Map<String, ?>, Map<String, Object>, RemoteRequestCompletion) - Constructor for class com.couchbase.lite.replicator.RemoteRequest
 
RemoteRequestCompletion - Interface in com.couchbase.lite.replicator
 
RemoteRequestResponseException - Exception in com.couchbase.lite.replicator
Created by hideki on 5/12/16.
RemoteRequestResponseException(int, String) - Constructor for exception com.couchbase.lite.replicator.RemoteRequestResponseException
 
RemoteRequestResponseException(int, String, Map) - Constructor for exception com.couchbase.lite.replicator.RemoteRequestResponseException
 
RemoteRequestRetry<T> - Class in com.couchbase.lite.replicator
Wraps a RemoteRequest with the ability to retry the request

Huge caveat: this cannot work on a single threaded requestExecutor, since it blocks while the "subrequests" are in progress, and during the sleeps in between the retries.

RemoteRequestRetry(RemoteRequestRetry.RemoteRequestType, ScheduledExecutorService, ScheduledExecutorService, HttpClientFactory, String, URL, boolean, boolean, Map<String, Object>, Map<String, Object>, Database, Map<String, Object>, RemoteRequestCompletion) - Constructor for class com.couchbase.lite.replicator.RemoteRequestRetry
 
RemoteRequestRetry.RemoteRequestType - Enum in com.couchbase.lite.replicator
The kind of RemoteRequest that will be created on each retry attempt
remove(K) - Method in class com.couchbase.lite.Cache
 
remove(String) - Method in class com.couchbase.lite.internal.database.ContentValues
Remove a single value.
remove(K) - Method in class com.couchbase.lite.internal.database.util.LruCache
Removes the entry for key if it exists.
remove() - Method in class com.couchbase.lite.QueryEnumerator
Required to satisfy java Iterator interface
remove(Object) - Method in class com.couchbase.lite.support.LazyJsonObject
 
remove(Object) - Method in class com.couchbase.lite.support.WeakValueHashMap
 
remove(K) - Method in class com.couchbase.lite.util.LruCache
Removes the entry for key if it exists.
removeAndReturnRev(RevisionInternal) - Method in class com.couchbase.lite.RevisionList
 
removeAttachment(String) - Method in class com.couchbase.lite.UnsavedRevision
Deletes any existing attachment with the given name.
removeChangeListener(Database.ChangeListener) - Method in class com.couchbase.lite.Database
Removes the specified delegate as a listener for the Database change event.
removeChangeListener(Document.ChangeListener) - Method in class com.couchbase.lite.Document
 
removeChangeListener(LiveQuery.ChangeListener) - Method in class com.couchbase.lite.LiveQuery
Remove previously added change listener
removeChangeListener(Replication.ChangeListener) - Method in class com.couchbase.lite.replicator.Replication
Removes the specified delegate as a listener for the Replication change event.
removeDatabaseListener(Database.DatabaseListener) - Method in class com.couchbase.lite.Database
 
removeDocumentFromCache(Document) - Method in class com.couchbase.lite.Database
 
removeItemIfExists(String) - Static method in class com.couchbase.lite.support.FileDirUtils
 
removeNetworkReachabilityListener(NetworkReachabilityListener) - Method in class com.couchbase.lite.NetworkReachabilityManager
Remove Network Reachability Listener
removeSequence(long) - Method in class com.couchbase.lite.support.SequenceMap
Removes a sequence and its associated value.
removeStoredCredentials() - Method in interface com.couchbase.lite.auth.Authorizer
 
removeStoredCredentials() - Method in class com.couchbase.lite.auth.BaseAuthorizer
 
removeStoredCredentials() - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
removeStoredCredentials() - Method in class com.couchbase.lite.auth.PasswordAuthorizer
 
reopenReadWrite() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Reopens the database in read-write mode.
replace(String, String, ContentValues) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Convenience method for replacing a row in the database.
replace(ContentValues) - Method in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
Performs an insert, adding a new row with the given values.
replaceDatabase(String, InputStream, Map<String, InputStream>) - Method in class com.couchbase.lite.Manager
Replaces or installs a database from a file.
replaceDatabase(String, String) - Method in class com.couchbase.lite.Manager
Replaces or installs a database from a file.
replaceOrThrow(String, String, ContentValues) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Convenience method for replacing a row in the database.
replaceUUIDs() - Method in class com.couchbase.lite.Database
 
Replication - Class in com.couchbase.lite.replicator
The external facade for the Replication API
Replication(Database, URL, Replication.Direction) - Constructor for class com.couchbase.lite.replicator.Replication
Constructor
Replication(Database, URL, Replication.Direction, HttpClientFactory) - Constructor for class com.couchbase.lite.replicator.Replication
Constructor
Replication.ChangeEvent - Class in com.couchbase.lite.replicator
The type of event raised by a Replication when any of the following properties change: mode, running, error, completed, total.
Replication.ChangeListener - Interface in com.couchbase.lite.replicator
A delegate that can be used to listen for Replication changes.
Replication.Direction - Enum in com.couchbase.lite.replicator
Enum to specify which direction this replication is going (eg, push vs pull)
Replication.Lifecycle - Enum in com.couchbase.lite.replicator
Enum to specify whether this replication is oneshot or continuous.
Replication.ReplicationField - Enum in com.couchbase.lite.replicator
 
Replication.ReplicationStatus - Enum in com.couchbase.lite.replicator
Options for what metadata to include in document bodies
ReplicationFilter - Interface in com.couchbase.lite
Filter block, used in changes feeds and replication.
ReplicationFilterCompiler - Interface in com.couchbase.lite
A delegate that can be invoked to compile source code into a ReplicationFilter.
replicationInternal - Variable in class com.couchbase.lite.replicator.Replication
 
ReplicationState - Enum in com.couchbase.lite.replicator
The various states that a Replication can be in
ReplicationStateTransition - Class in com.couchbase.lite.replicator
Represents a state transition that happens within the replicator
ReplicationStateTransition(<any>) - Constructor for class com.couchbase.lite.replicator.ReplicationStateTransition
 
ReplicationStateTransition(ReplicationState, ReplicationState, ReplicationTrigger) - Constructor for class com.couchbase.lite.replicator.ReplicationStateTransition
 
REPLICATOR_DATABASE_NAME - Static variable in class com.couchbase.lite.replicator.Replication
 
request() - Method in class com.couchbase.lite.replicator.RemoteRequest
Prepare request
REQUEST_TIMEOUT - Static variable in class com.couchbase.lite.Status
 
requestExecutor - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
requestHeaders - Variable in class com.couchbase.lite.replicator.ChangeTracker
 
requestHeaders - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
requestHeaders - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
RequestUtils - Class in com.couchbase.lite.replicator
Created by hideki on 5/19/16.
RequestUtils() - Constructor for class com.couchbase.lite.replicator.RequestUtils
 
rerunUpdateFuture - Variable in class com.couchbase.lite.LiveQuery
If the update() method is called while a query is in progress, once it is finished it will be scheduled to re-run update().
reset() - Method in class com.couchbase.lite.QueryEnumerator
Resets the enumeration so the next call to -nextObject or -nextRow will return the first row.
resetBackoff() - Method in class com.couchbase.lite.replicator.ChangeTrackerBackoff
 
resetCookieStore() - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
resetCookieStore() - Method in interface com.couchbase.lite.support.HttpClientFactory
 
resize(int) - Method in class com.couchbase.lite.internal.database.util.LruCache
Sets the size of the cache.
resize(int) - Method in class com.couchbase.lite.util.LruCache
Sets the size of the cache.
resourceWithCacheKeyDontRecache(K) - Method in class com.couchbase.lite.Cache
 
respondWithResult(Object, Throwable, Response) - Method in class com.couchbase.lite.replicator.RemoteRequest
 
restart() - Method in class com.couchbase.lite.replicator.Replication
Restarts the replication.
resumeEncoding() - Method in class com.couchbase.lite.support.Base64.OutputStream
Resumes encoding of the stream.
retain() - Method in class com.couchbase.lite.util.RefCounter
 
RETRY_DELAY_MS - Static variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
Revision - Class in com.couchbase.lite
A Couchbase Lite Document Revision.
Revision(Document) - Constructor for class com.couchbase.lite.Revision
Constructor
revision(String, String, boolean, long, byte[]) - Static method in class com.couchbase.lite.store.SQLiteStore
 
revision(String, String, boolean, long, Map<String, Object>) - Static method in class com.couchbase.lite.store.SQLiteStore
 
revisionAdded(DocumentChange, boolean) - Method in class com.couchbase.lite.Document
Notification from the CBLDatabase that a (current, winning) revision has been added
RevisionFilter - Interface in com.couchbase.lite.store
A block that can filter revisions by passing or rejecting them.
RevisionInternal - Class in com.couchbase.lite.internal
Stores information about a revision -- its docID, revID, and whether it's deleted.
RevisionInternal(String, String, boolean) - Constructor for class com.couchbase.lite.internal.RevisionInternal
 
RevisionInternal(Body) - Constructor for class com.couchbase.lite.internal.RevisionInternal
 
RevisionInternal(Map<String, Object>) - Constructor for class com.couchbase.lite.internal.RevisionInternal
 
RevisionInternal(Map<String, Object>, long) - Constructor for class com.couchbase.lite.internal.RevisionInternal
 
RevisionList - Class in com.couchbase.lite
An ordered list of TDRevisions
RevisionList() - Constructor for class com.couchbase.lite.RevisionList
 
RevisionList(List<RevisionInternal>) - Constructor for class com.couchbase.lite.RevisionList
Allow converting to RevisionList from List
RevisionUtils - Class in com.couchbase.lite.support
Created by hideki on 6/17/15.
RevisionUtils() - Constructor for class com.couchbase.lite.support.RevisionUtils
 
revsToPull - Variable in class com.couchbase.lite.replicator.PullerInternal
 
revWithDocId(String) - Method in class com.couchbase.lite.RevisionList
 
revWithDocIdAndRevId(String, String) - Method in class com.couchbase.lite.RevisionList
 
Router - Class in com.couchbase.lite.router
 
Router(Manager, URLConnection) - Constructor for class com.couchbase.lite.router.Router
 
RouterCallbackBlock - Interface in com.couchbase.lite.router
 
rowValueIsEntireDoc(byte[]) - Method in interface com.couchbase.lite.store.QueryRowStore
Given the raw data of a row's value, returns YES if this is a non-JSON placeholder representing the entire document.
rowValueIsEntireDoc(byte[]) - Method in class com.couchbase.lite.store.SQLiteViewStore
 
run(Database) - Method in interface com.couchbase.lite.AsyncTask
 
run() - Method in class com.couchbase.lite.LiveQuery
Sends the query to the server and returns an enumerator over the result rows (Synchronous).
run() - Method in class com.couchbase.lite.Query
Sends the query to the server and returns an enumerator over the result rows (Synchronous).
run() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
run() - Method in class com.couchbase.lite.replicator.RemoteRequest
 
run() - Method in class com.couchbase.lite.support.action.Action
Performs all the actions in order.
run() - Method in interface com.couchbase.lite.TransactionalTask
Run in a transaction
runAsync(AsyncTask) - Method in class com.couchbase.lite.Database
Runs the delegate asynchronously.
runAsync(String, AsyncTask) - Method in class com.couchbase.lite.Manager
Asynchronously dispatches a callback to run on a background thread.
runAsync(Runnable) - Method in class com.couchbase.lite.Manager
 
runAsync(Query.QueryCompleteListener) - Method in class com.couchbase.lite.Query
Starts an asynchronous query.
runFilter(ReplicationFilter, Map<String, Object>, RevisionInternal) - Method in class com.couchbase.lite.Database
 
runFilter(ReplicationFilter, Map<String, Object>, RevisionInternal) - Method in interface com.couchbase.lite.store.StoreDelegate
 
runInTransaction(TransactionalTask) - Method in class com.couchbase.lite.Database
Runs the block within a transaction.
runInTransaction(TransactionalTask) - Method in class com.couchbase.lite.store.SQLiteStore
 
runInTransaction(TransactionalTask) - Method in interface com.couchbase.lite.store.Store
Executes the block within a database transaction.
runLoop() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
runStatements(String) - Method in class com.couchbase.lite.store.SQLiteStore
 

S

save() - Method in class com.couchbase.lite.UnsavedRevision
Saves the new revision to the database.
save(boolean) - Method in class com.couchbase.lite.UnsavedRevision
A special variant of -save: that always adds the revision, even if its parent is not the current revision of the document.
SavedRevision - Class in com.couchbase.lite
Stores information about a revision -- its docID, revID, and whether it's deleted.
SavedRevision(Document, RevisionInternal) - Constructor for class com.couchbase.lite.SavedRevision
Constructor
SavedRevision(Database, RevisionInternal) - Constructor for class com.couchbase.lite.SavedRevision
Constructor
SavedRevision(Database, RevisionInternal, String) - Constructor for class com.couchbase.lite.SavedRevision
Constructor - (instancetype) initForValidationWithDatabase: (CBLDatabase*)db revision: (CBL_Revision*)rev parentRevisionID: (NSString*)parentRevID
saveFromResponse(HttpUrl, List<okhttp3.Cookie>) - Method in class com.couchbase.lite.support.PersistentCookieJar
 
saveLocalUUIDInLocalCheckpointDocument() - Method in class com.couchbase.lite.Database
Save current local uuid into the local checkpoint document.
saveTokens(URL, String, Map<String, String>) - Method in class com.couchbase.lite.auth.MemTokenStore
 
saveTokens(URL, String, Map<String, String>) - Method in interface com.couchbase.lite.auth.TokenStore
Save tokens into the token store
SCHEMA - Static variable in class com.couchbase.lite.store.SQLiteStore
 
SCHEME - Static variable in class com.couchbase.lite.router.URLStreamHandlerFactory
 
searchFor(byte[], int) - Method in class com.couchbase.lite.support.MultipartReader
 
second - Variable in class com.couchbase.lite.internal.database.util.Pair
 
SequenceCompare(long, long) - Static method in class com.couchbase.lite.Misc
 
SequenceMap - Class in com.couchbase.lite.support
A data structure representing a type of array that allows object values to be added to the end, and removed in arbitrary order; it's used by the replicator to keep track of which revisions have been transferred and what sequences to checkpoint.
SequenceMap() - Constructor for class com.couchbase.lite.support.SequenceMap
 
SerializableCookie - Class in com.couchbase.lite.support
 
SerializableCookie() - Constructor for class com.couchbase.lite.support.SerializableCookie
 
serverIsSyncGatewayVersion(String) - Method in class com.couchbase.lite.replicator.Replication
 
SessionCookieAuthorizer - Interface in com.couchbase.lite.auth
This protocol is just a marker that the authorizer uses a session cookie.
setActiveOnly(boolean) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setAllDocsMode(Query.AllDocsMode) - Method in class com.couchbase.lite.Query
 
setAllDocsMode(Query.AllDocsMode) - Method in class com.couchbase.lite.QueryOptions
 
setAttachment(String, String, InputStream) - Method in class com.couchbase.lite.UnsavedRevision
Sets the attachment with the given name.
setAttachment(String, String, URL) - Method in class com.couchbase.lite.UnsavedRevision
Sets the attachment with the given name.
setAuthenticator(Authenticator) - Method in class com.couchbase.lite.replicator.ChangeTracker
Set Authenticator for BASIC Authentication
setAuthenticator(Authenticator) - Method in class com.couchbase.lite.replicator.RemoteRequest
 
setAuthenticator(Authenticator) - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
setAuthenticator(Authenticator) - Method in class com.couchbase.lite.replicator.Replication
Set the Authenticator used for authenticating with the Sync Gateway
setAutoCompact(boolean) - Static method in class com.couchbase.lite.Database
 
setAutoCompact(boolean) - Method in class com.couchbase.lite.store.SQLiteStore
 
setAutoCompact(boolean) - Method in interface com.couchbase.lite.store.Store
Whether the database storage should automatically (periodically) be compacted.
setAutoMigrateBlobStoreFilename(boolean) - Method in class com.couchbase.lite.ManagerOptions
 
setBindArguments(String[]) - Method in interface com.couchbase.lite.internal.database.sqlite.SQLiteCursorDriver
Set new bind arguments.
setBindArguments(String[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver
 
setBlobKey(BlobKey) - Method in class com.couchbase.lite.internal.AttachmentInternal
 
setBody(Body) - Method in class com.couchbase.lite.internal.RevisionInternal
 
setBody(Request.Builder) - Method in class com.couchbase.lite.replicator.RemoteFormRequest
set request body
setBody(Request.Builder) - Method in class com.couchbase.lite.replicator.RemoteMultipartRequest
set request body
setBody(Request.Builder) - Method in class com.couchbase.lite.replicator.RemoteRequest
set request body
setBytes(byte[]) - Method in class com.couchbase.lite.BlobKey
 
setCallbackBlock(RouterCallbackBlock) - Method in class com.couchbase.lite.router.Router
 
setChannels(List<String>) - Method in class com.couchbase.lite.replicator.Replication
Set the list of Sync Gateway channel names
setChunked(boolean) - Method in class com.couchbase.lite.router.URLConnection
 
setClient(ChangeTrackerClient) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setClientFactory(HttpClientFactory) - Method in class com.couchbase.lite.replicator.Replication
Set the HTTP client factory if one was passed in, or use the default set in the manager if available.
setCode(int) - Method in class com.couchbase.lite.Status
 
setCollation(View.TDViewCollation) - Method in class com.couchbase.lite.store.SQLiteViewStore
 
setCollation(View.TDViewCollation) - Method in interface com.couchbase.lite.store.ViewStore
 
setCollation(View.TDViewCollation) - Method in class com.couchbase.lite.View
 
setCompiler(ViewCompiler) - Static method in class com.couchbase.lite.View
Registers an object that can compile map/reduce functions from source code.
setCompressedBody(byte[]) - Method in class com.couchbase.lite.replicator.RemoteRequest
Generate gzipped body
setCompressedRequest(boolean) - Method in class com.couchbase.lite.replicator.RemoteRequest
 
setContinuous(boolean) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setContinuous(boolean) - Method in class com.couchbase.lite.replicator.Replication
Set whether this replication is continous
setCookie(String, String, String, long, boolean, boolean) - Method in class com.couchbase.lite.replicator.Replication
Sets an HTTP cookie for the Replication.
setCookie(String, String, String, Date, boolean, boolean) - Method in class com.couchbase.lite.replicator.Replication
Sets an HTTP cookie for the Replication.
setCreate(boolean) - Method in class com.couchbase.lite.DatabaseOptions
Set Create option.
setCreateTarget(boolean) - Method in class com.couchbase.lite.replicator.PullerInternal
 
setCreateTarget(boolean) - Method in class com.couchbase.lite.replicator.PusherInternal
 
setCreateTarget(boolean) - Method in class com.couchbase.lite.replicator.Replication
Set whether the target database be created if it doesn't already exist?
setCursorFactory(SQLiteDatabase.CursorFactory) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Sets the cursor factory to be used for the query.
setDatabase(Database) - Method in class com.couchbase.lite.internal.AttachmentInternal
 
setDatabase(Database) - Method in class com.couchbase.lite.QueryRow
 
setDatabasePlatformSupport(DatabasePlatformSupport) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Set an optional platform support object.
setDefaultHttpClientFactory(HttpClientFactory) - Method in class com.couchbase.lite.Manager
 
setDelegate(StoreDelegate) - Method in class com.couchbase.lite.store.SQLiteStore
 
setDelegate(ViewStoreDelegate) - Method in class com.couchbase.lite.store.SQLiteViewStore
 
setDelegate(StoreDelegate) - Method in interface com.couchbase.lite.store.Store
The delegate object, which in practice is the CBLDatabase.
setDelegate(ViewStoreDelegate) - Method in interface com.couchbase.lite.store.ViewStore
 
setDeleted(boolean) - Method in class com.couchbase.lite.internal.RevisionInternal
 
setDescending(boolean) - Method in class com.couchbase.lite.Query
 
setDescending(boolean) - Method in class com.couchbase.lite.QueryOptions
 
setDistinct(boolean) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Mark the query as DISTINCT.
setDocID(String) - Method in class com.couchbase.lite.internal.RevisionInternal
 
setDocIDs(List<String>) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setDocIds(List<String>) - Method in class com.couchbase.lite.replicator.Replication
Sets the documents to specify as part of the replication.
setDocumentType(String) - Method in class com.couchbase.lite.View
Set document type.
setDontLog404(boolean) - Method in class com.couchbase.lite.replicator.RemoteRequest
 
setDontLog404(boolean) - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
setEmailAddress(String) - Method in class com.couchbase.lite.auth.PersonaAuthorizer
 
setEncodedLength(int) - Method in class com.couchbase.lite.internal.AttachmentInternal
 
setEncoding(AttachmentInternal.AttachmentEncoding) - Method in class com.couchbase.lite.internal.AttachmentInternal
 
setEncryptionKey(Object) - Method in class com.couchbase.lite.DatabaseOptions
Set a key to encrypt the database with.
setEncryptionKey(SymmetricKey) - Method in interface com.couchbase.lite.store.EncryptableStore
Set encryption key for opening the storage.
setEncryptionKey(SymmetricKey) - Method in class com.couchbase.lite.store.SQLiteStore
 
setEndKey(Object) - Method in class com.couchbase.lite.Query
 
setEndKey(Object) - Method in class com.couchbase.lite.QueryOptions
 
setEndKeyDocId(String) - Method in class com.couchbase.lite.Query
 
setEndKeyDocId(String) - Method in class com.couchbase.lite.QueryOptions
 
setExecutorThreadPoolSize(int) - Method in class com.couchbase.lite.ManagerOptions
 
setExpirationDate(Date) - Method in class com.couchbase.lite.Document
 
setExpirationOfDocument(long, String) - Method in class com.couchbase.lite.store.SQLiteStore
 
setExpirationOfDocument(long, String) - Method in interface com.couchbase.lite.store.Store
Sets a document's expiration to a Unix timestamp, or 0 for no expiration.
setFilter(String, ReplicationFilter) - Method in class com.couchbase.lite.Database
Define or clear a named filter function.
setFilter(String) - Method in class com.couchbase.lite.replicator.Replication
Set the filter to be used by this replication
setFilterCompiler(ReplicationFilterCompiler) - Static method in class com.couchbase.lite.Database
Registers an object that can compile source code into executable filter blocks.
setFilterName(String) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setFilterParams(Map<String, Object>) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setFilterParams(Map<String, Object>) - Method in class com.couchbase.lite.replicator.Replication
Set parameters to pass to the filter function.
setFollowRedirects(boolean) - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
This method is for unit tests only.
setForeignKeyConstraintsEnabled(boolean) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Sets whether foreign key constraints are enabled for the database.
setGroup(boolean) - Method in class com.couchbase.lite.QueryOptions
 
setGroupLevel(int) - Method in class com.couchbase.lite.Query
 
setGroupLevel(int) - Method in class com.couchbase.lite.QueryOptions
 
setHeaders(Map<String, Object>) - Method in class com.couchbase.lite.replicator.Replication
Set Extra HTTP headers to be sent in all requests to the remote server.
setHeaders(Map<String, String>) - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
setHostnameVerifier(HostnameVerifier) - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
setIDToken(String) - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
setIncludeConflicts(boolean) - Method in class com.couchbase.lite.ChangesOptions
 
setIncludeDeleted(boolean) - Method in class com.couchbase.lite.Query
 
setIncludeDocs(boolean) - Method in class com.couchbase.lite.ChangesOptions
 
setIncludeDocs(boolean) - Method in class com.couchbase.lite.QueryOptions
 
setInclusiveEnd(boolean) - Method in class com.couchbase.lite.Query
 
setInclusiveEnd(boolean) - Method in class com.couchbase.lite.QueryOptions
 
setInclusiveStart(boolean) - Method in class com.couchbase.lite.Query
 
setInclusiveStart(boolean) - Method in class com.couchbase.lite.QueryOptions
 
setIndexUpdateMode(Query.IndexUpdateMode) - Method in class com.couchbase.lite.Query
 
setInfo(String, String) - Method in class com.couchbase.lite.Database
 
setInfo(String, String) - Method in class com.couchbase.lite.store.SQLiteStore
 
setInfo(String, String) - Method in interface com.couchbase.lite.store.Store
Stores an arbitrary string under an arbitrary key, persistently.
setIsDeletion(boolean) - Method in class com.couchbase.lite.UnsavedRevision
Set whether this revision is a deletion or not (eg, marks doc as deleted)
setJSON(byte[]) - Method in class com.couchbase.lite.internal.RevisionInternal
 
setKeys(List<Object>) - Method in class com.couchbase.lite.Query
 
setKeys(List<Object>) - Method in class com.couchbase.lite.QueryOptions
 
setLastError(Throwable) - Method in class com.couchbase.lite.replicator.Replication
Update the lastError
setLastSequence(String, String) - Method in class com.couchbase.lite.Database
 
setLength(int) - Method in class com.couchbase.lite.internal.AttachmentInternal
 
setLimit(int) - Method in class com.couchbase.lite.ChangesOptions
 
setLimit(int) - Method in class com.couchbase.lite.Query
 
setLimit(int) - Method in class com.couchbase.lite.QueryOptions
 
setListener(BlockingQueueListener) - Method in class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
setLocale(Locale) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Sets the locale for this database.
setLocalUUID(String) - Method in interface com.couchbase.lite.auth.Authorizer
 
setLocalUUID(String) - Method in class com.couchbase.lite.auth.BaseAuthorizer
 
setLockingEnabled(boolean) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Deprecated.
This method now does nothing. Do not use.
setMap(Mapper, String) - Method in class com.couchbase.lite.View
Defines a view that has no reduce function.
setMapOnly(boolean) - Method in class com.couchbase.lite.Query
 
setMapReduce(Mapper, Reducer, String) - Method in class com.couchbase.lite.View
Defines a view's functions.
setMaximumSize(long) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Sets the maximum size the database will grow to.
setMaxRevTreeDepth(int) - Method in class com.couchbase.lite.Database
Set the maximum depth of a document's revision tree (or, max length of its revision history.) Revisions older than this limit will be deleted during a -compact: operation.
setMaxRevTreeDepth(int) - Method in class com.couchbase.lite.store.SQLiteStore
Set the maximum depth of a document's revision tree (or, max length of its revision history.) Revisions older than this limit will be deleted during a -compact: operation.
setMaxRevTreeDepth(int) - Method in interface com.couchbase.lite.store.Store
The maximum depth a document's revision tree should grow to; beyond that, it should be pruned.
setMaxSqlCacheSize(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Sets the maximum size of the prepared-statement cache for this database.
setMissing(boolean) - Method in class com.couchbase.lite.internal.RevisionInternal
 
setName(String) - Method in class com.couchbase.lite.Attachment
 
setName(String) - Method in class com.couchbase.lite.Database
Set the database's name.
setNetworkReachabilityManager(NetworkReachabilityManager) - Method in interface com.couchbase.lite.Context
Override the default behavior and set your own NetworkReachabilityManager subclass, which allows you to completely control how to respond to network reachability changes in your app affects the replicators that are listening for change events.
setOnCancelListener(CancellationSignal.OnCancelListener) - Method in class com.couchbase.lite.internal.database.CancellationSignal
Sets the cancellation listener to be called when canceled.
setOnPostCompletion(RemoteRequestCompletion) - Method in class com.couchbase.lite.replicator.RemoteRequest
 
setOnPreCompletion(RemoteRequestCompletion) - Method in class com.couchbase.lite.replicator.RemoteRequest
 
setOnPreCompletionCaller(RemoteRequestCompletion) - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
setPageSize(long) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Sets the database page size.
setParentRevisionID(String) - Method in class com.couchbase.lite.Revision
 
setPaused(boolean) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setPossiblyEncodedLength(int) - Method in class com.couchbase.lite.internal.AttachmentInternal
Sets encodedLength if there is an encoding, else length.
setPostFilter(Predicate<QueryRow>) - Method in class com.couchbase.lite.Query
 
setPostFilter(Predicate<QueryRow>) - Method in class com.couchbase.lite.QueryOptions
 
setPrefetch(boolean) - Method in class com.couchbase.lite.Query
 
setPrefixMatchLevel(int) - Method in class com.couchbase.lite.Query
 
setPrefixMatchLevel(int) - Method in class com.couchbase.lite.QueryOptions
 
setProjectionMap(Map<String, String>) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Sets the projection map for the query.
setProperties(Map<String, Object>) - Method in class com.couchbase.lite.internal.RevisionInternal
 
setProperties(Map<String, Object>) - Method in class com.couchbase.lite.UnsavedRevision
Set the properties for this revision
setQueue(Queue) - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
setQueue(Queue) - Method in interface com.couchbase.lite.support.CustomFuture
 
setReadOnly(boolean) - Method in class com.couchbase.lite.DatabaseOptions
Set ReadOnly option.
setReadOnly(boolean) - Method in class com.couchbase.lite.ManagerOptions
 
setReduce(boolean) - Method in class com.couchbase.lite.QueryOptions
 
setReduceSpecified(boolean) - Method in class com.couchbase.lite.QueryOptions
 
setRefreshToken(String) - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
setRemoteURL(URL) - Method in interface com.couchbase.lite.auth.Authorizer
 
setRemoteURL(URL) - Method in class com.couchbase.lite.auth.BaseAuthorizer
 
setRemoteUUID(String) - Method in class com.couchbase.lite.replicator.Replication
Set the remote UUID representing the remote server.
setRequestHeaders(Map<String, Object>) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setRequestInputStream(InputStream) - Method in class com.couchbase.lite.router.URLConnection
 
setRequestProperty(String, String) - Method in class com.couchbase.lite.router.URLConnection
 
setResponseInputStream(InputStream) - Method in class com.couchbase.lite.router.URLConnection
 
setResponseOutputStream(OutputStream) - Method in class com.couchbase.lite.router.URLConnection
 
setRevID(String) - Method in class com.couchbase.lite.internal.RevisionInternal
 
setRevision(Revision) - Method in class com.couchbase.lite.Attachment
 
setRevpos(int) - Method in class com.couchbase.lite.internal.AttachmentInternal
 
setSequence(long) - Method in class com.couchbase.lite.internal.RevisionInternal
 
setServerType(String) - Method in class com.couchbase.lite.replicator.Replication
 
setSkip(int) - Method in class com.couchbase.lite.Query
 
setSkip(int) - Method in class com.couchbase.lite.QueryOptions
 
setSortBySequence(boolean) - Method in class com.couchbase.lite.ChangesOptions
 
setSource(URL) - Method in class com.couchbase.lite.router.Router
 
setSSLSocketFactory(SSLSocketFactory) - Method in class com.couchbase.lite.support.CouchbaseLiteHttpClientFactory
 
setStale(Query.IndexUpdateMode) - Method in class com.couchbase.lite.QueryOptions
 
setStartKey(Object) - Method in class com.couchbase.lite.Query
 
setStartKey(Object) - Method in class com.couchbase.lite.QueryOptions
 
setStartKeyDocId(String) - Method in class com.couchbase.lite.Query
 
setStartKeyDocId(String) - Method in class com.couchbase.lite.QueryOptions
 
setStorageType(String) - Method in class com.couchbase.lite.DatabaseOptions
Set the underlying storage engine to use.
setStorageType(String) - Method in class com.couchbase.lite.Manager
Set default storage engine type for newly-created databases.
setStrict(boolean) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
When set, the selection is verified against malicious arguments.
setTables(String) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
Sets the list of tables to query.
setText(String) - Method in class com.couchbase.lite.SpecialKey
 
setTokenStore(TokenStore) - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
setTransactionSuccessful() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Marks the current transaction as successful.
setTransactionSuccessful() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Marks the current transaction as having completed successfully.
setTransactionSuccessful() - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
setTransactionSuccessful() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
setUpdateSeq(boolean) - Method in class com.couchbase.lite.QueryOptions
 
setUpstreamError(String) - Method in class com.couchbase.lite.replicator.ChangeTracker
 
setUsername(String) - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
setUserProperties(Map<String, Object>) - Method in class com.couchbase.lite.UnsavedRevision
Sets the userProperties of the Revision.
setValidation(String, Validator) - Method in class com.couchbase.lite.Database
Defines or clears a named document validation function.
setVersion(int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Sets the database version.
setVersion(int) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
setVersion(int) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
setVersion(String) - Method in class com.couchbase.lite.store.SQLiteViewStore
Updates the version of the view.
setVersion(String) - Method in interface com.couchbase.lite.store.ViewStore
Updates the version of the view.
setViewDocumentType(String, String) - Method in class com.couchbase.lite.Database
Set the document type for the given view name.
sHA1DigestString() - Method in class com.couchbase.lite.BlobStoreWriter
 
shortenString(String, int) - Static method in class com.couchbase.lite.util.Utils
 
shouldCreateTarget() - Method in class com.couchbase.lite.replicator.PullerInternal
 
shouldCreateTarget() - Method in class com.couchbase.lite.replicator.PusherInternal
 
shouldCreateTarget() - Method in class com.couchbase.lite.replicator.Replication
Should the target database be created if it doesn't already exist? (Defaults to NO).
shouldIncludeDeleted() - Method in class com.couchbase.lite.Query
 
shouldLogSlowQuery(long) - Static method in class com.couchbase.lite.internal.database.sqlite.SQLiteDebug
Determines whether a query should be logged.
shouldPrefetch() - Method in class com.couchbase.lite.Query
 
shouldYieldConnection(SQLiteConnection, int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
Returns true if the session should yield the connection due to contention over available database connections.
shutdownAndAwaitTermination(ExecutorService, long, long) - Static method in class com.couchbase.lite.util.Utils
The following method shuts down an ExecutorService in two phases, first by calling shutdown to reject incoming tasks, and then calling shutdownNow, if necessary, to cancel any lingering tasks: http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html
shutdownAndAwaitTermination(ExecutorService) - Static method in class com.couchbase.lite.util.Utils
 
simpleQueryForLong() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteStatement
Execute a statement that returns a 1 by 1 table with a numeric value.
simpleQueryForString() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteStatement
Execute a statement that returns a 1 by 1 table with a text value.
size() - Method in class com.couchbase.lite.internal.database.ContentValues
Returns the number of values.
size() - Method in class com.couchbase.lite.internal.database.util.LruCache
For caches that do not override LruCache.sizeOf(K, V), this returns the number of entries in the cache.
size() - Method in class com.couchbase.lite.support.LazyJsonArray
 
size() - Method in class com.couchbase.lite.support.LazyJsonObject
 
size() - Method in class com.couchbase.lite.support.WeakValueHashMap
 
size() - Method in class com.couchbase.lite.util.LruCache
For caches that do not override LruCache.sizeOf(K, V), this returns the number of entries in the cache.
sizeOf(K, V) - Method in class com.couchbase.lite.internal.database.util.LruCache
Returns the size of the entry for key and value in user-defined units.
sizeOf(K, V) - Method in class com.couchbase.lite.util.LruCache
Returns the size of the entry for key and value in user-defined units.
sleepAppropriateAmountOfTime() - Method in class com.couchbase.lite.replicator.ChangeTrackerBackoff
 
slowQuery(Mapper) - Method in class com.couchbase.lite.Database
Creates a one-shot query with the given map function.
snapshot() - Method in class com.couchbase.lite.internal.database.util.LruCache
Returns a copy of the current contents of the cache, ordered from least recently accessed to most recently accessed.
snapshot() - Method in class com.couchbase.lite.util.LruCache
Returns a copy of the current contents of the cache, ordered from least recently accessed to most recently accessed.
sortByDocID() - Method in class com.couchbase.lite.RevisionList
in CBL_Revision.m - (void) sortByDocID
sortBySequence() - Method in class com.couchbase.lite.RevisionList
 
SpecialKey - Class in com.couchbase.lite
CBLSpecialKey.h/CBLSpecialKey.m Created by hideki on 8/19/15.
SpecialKey(String) - Constructor for class com.couchbase.lite.SpecialKey
 
splitQuery(URL) - Static method in class com.couchbase.lite.util.URLUtils
 
sqlEscapeString(String) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
SQL-escape a string.
SQLException - Exception in com.couchbase.lite.internal.database
An exception that indicates there was an error with SQL parsing or execution.
SQLException() - Constructor for exception com.couchbase.lite.internal.database.SQLException
 
SQLException(String) - Constructor for exception com.couchbase.lite.internal.database.SQLException
 
SQLException(String, Throwable) - Constructor for exception com.couchbase.lite.internal.database.SQLException
 
SQLException - Exception in com.couchbase.lite.storage
 
SQLException() - Constructor for exception com.couchbase.lite.storage.SQLException
 
SQLException(String) - Constructor for exception com.couchbase.lite.storage.SQLException
 
SQLException(int, String) - Constructor for exception com.couchbase.lite.storage.SQLException
 
SQLException(String, Throwable) - Constructor for exception com.couchbase.lite.storage.SQLException
 
SQLException(Throwable) - Constructor for exception com.couchbase.lite.storage.SQLException
 
SQLException(int, Throwable) - Constructor for exception com.couchbase.lite.storage.SQLException
 
SQLITE_CONSTRAINT - Static variable in exception com.couchbase.lite.storage.SQLException
 
SQLITE_ENCRYPTION_NOTAVAILABLE - Static variable in exception com.couchbase.lite.storage.SQLException
 
SQLITE_ENCRYPTION_UNAUTHORIZED - Static variable in exception com.couchbase.lite.storage.SQLException
 
SQLITE_ERROR - Static variable in exception com.couchbase.lite.storage.SQLException
 
SQLITE_MAX_LIKE_PATTERN_LENGTH - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Maximum Length Of A LIKE Or GLOB Pattern The pattern matching algorithm used in the default LIKE and GLOB implementation of SQLite can exhibit O(N^2) performance (where N is the number of characters in the pattern) for certain pathological cases.
SQLITE_OK - Static variable in exception com.couchbase.lite.storage.SQLException
 
SQLITE_STORAGE - Static variable in class com.couchbase.lite.Manager
 
SQLiteAbortException - Exception in com.couchbase.lite.internal.database.sqlite.exception
An exception that indicates that the SQLite program was aborted.
SQLiteAbortException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteAbortException
 
SQLiteAbortException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteAbortException
 
SQLiteAccessPermException - Exception in com.couchbase.lite.internal.database.sqlite.exception
This exception class is used when sqlite can't access the database file due to lack of permissions on the file.
SQLiteAccessPermException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteAccessPermException
 
SQLiteAccessPermException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteAccessPermException
 
SQLiteBindOrColumnIndexOutOfRangeException - Exception in com.couchbase.lite.internal.database.sqlite.exception
Thrown if the the bind or column parameter index is out of range
SQLiteBindOrColumnIndexOutOfRangeException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteBindOrColumnIndexOutOfRangeException
 
SQLiteBindOrColumnIndexOutOfRangeException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteBindOrColumnIndexOutOfRangeException
 
SQLiteBlobTooBigException - Exception in com.couchbase.lite.internal.database.sqlite.exception
 
SQLiteBlobTooBigException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteBlobTooBigException
 
SQLiteBlobTooBigException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteBlobTooBigException
 
SQLiteCantOpenDatabaseException - Exception in com.couchbase.lite.internal.database.sqlite.exception
 
SQLiteCantOpenDatabaseException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteCantOpenDatabaseException
 
SQLiteCantOpenDatabaseException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteCantOpenDatabaseException
 
SQLiteClosable - Class in com.couchbase.lite.internal.database.sqlite
An object created from a SQLiteDatabase that can be closed.
SQLiteClosable() - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteClosable
 
SQLiteConnection - Class in com.couchbase.lite.internal.database.sqlite
Represents a SQLite database connection.
SQLiteConnection.PreparedStatement - Class in com.couchbase.lite.internal.database.sqlite
Holder type for a prepared statement.
SQLiteConnectionListener - Interface in com.couchbase.lite.internal.database.sqlite
Created by pasin on 11/17/15.
SQLiteConnectionPool - Class in com.couchbase.lite.internal.database.sqlite
Maintains a pool of active SQLite database connections.
SQLiteConstraintException - Exception in com.couchbase.lite.internal.database.sqlite.exception
An exception that indicates that an integrity constraint was violated.
SQLiteConstraintException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteConstraintException
 
SQLiteConstraintException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteConstraintException
 
SQLiteCursorDriver - Interface in com.couchbase.lite.internal.database.sqlite
A driver for SQLiteCursors that is used to create them and gets notified by the cursors it creates on significant events in their lifetimes.
SQLiteDatabase - Class in com.couchbase.lite.internal.database.sqlite
Exposes methods to manage a SQLite database.
SQLiteDatabase.CursorFactory - Interface in com.couchbase.lite.internal.database.sqlite
Used to allow returning sub-classes of Cursor when calling query.
SQLiteDatabase.CustomFunction - Interface in com.couchbase.lite.internal.database.sqlite
A callback interface for a custom sqlite3 function.
SQLiteDatabaseConfiguration - Class in com.couchbase.lite.internal.database.sqlite
Describes how to configure a database.
SQLiteDatabaseConfiguration(String, int, int) - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
Creates a database configuration with the required parameters for opening a database and default values for all other parameters.
SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration) - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
Creates a database configuration as a copy of another configuration.
SQLiteDatabaseCorruptException - Exception in com.couchbase.lite.internal.database.sqlite.exception
An exception that indicates that the SQLite database file is corrupt.
SQLiteDatabaseCorruptException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatabaseCorruptException
 
SQLiteDatabaseCorruptException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatabaseCorruptException
 
SQLiteDatabaseLockedException - Exception in com.couchbase.lite.internal.database.sqlite.exception
Thrown if the database engine was unable to acquire the database locks it needs to do its job.
SQLiteDatabaseLockedException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatabaseLockedException
 
SQLiteDatabaseLockedException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatabaseLockedException
 
SQLiteDatatypeMismatchException - Exception in com.couchbase.lite.internal.database.sqlite.exception
 
SQLiteDatatypeMismatchException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatatypeMismatchException
 
SQLiteDatatypeMismatchException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDatatypeMismatchException
 
SQLiteDebug - Class in com.couchbase.lite.internal.database.sqlite
 
SQLiteDebug() - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteDebug
 
SQLiteDebug.DbStats - Class in com.couchbase.lite.internal.database.sqlite
contains statistics about a database
SQLiteDirectCursorDriver - Class in com.couchbase.lite.internal.database.sqlite
A cursor driver that uses the given query directly.
SQLiteDirectCursorDriver(SQLiteDatabase, String, String, CancellationSignal) - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver
 
SQLiteDiskIOException - Exception in com.couchbase.lite.internal.database.sqlite.exception
An exception that indicates that an IO error occured while accessing the SQLite database file.
SQLiteDiskIOException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDiskIOException
 
SQLiteDiskIOException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDiskIOException
 
SQLiteDoneException - Exception in com.couchbase.lite.internal.database.sqlite.exception
An exception that indicates that the SQLite program is done.
SQLiteDoneException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDoneException
 
SQLiteDoneException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteDoneException
 
SQLiteException - Exception in com.couchbase.lite.internal.database.sqlite.exception
A SQLite exception that indicates there was an error with SQL parsing or execution.
SQLiteException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteException
 
SQLiteException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteException
 
SQLiteException(String, Throwable) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteException
 
SQLiteFullException - Exception in com.couchbase.lite.internal.database.sqlite.exception
An exception that indicates that the SQLite database is full.
SQLiteFullException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteFullException
 
SQLiteFullException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteFullException
 
SQLiteGlobal - Class in com.couchbase.lite.internal.database.sqlite
Provides access to SQLite functions that affect all database connection, such as memory management.
SQLiteJsonCollator - Class in com.couchbase.lite.storage
 
SQLiteJsonCollator() - Constructor for class com.couchbase.lite.storage.SQLiteJsonCollator
 
SQLiteMisuseException - Exception in com.couchbase.lite.internal.database.sqlite.exception
This error can occur if the application creates a SQLiteStatement object and allows multiple threads in the application use it at the same time.
SQLiteMisuseException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteMisuseException
 
SQLiteMisuseException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteMisuseException
 
SQLiteNativeLibrary - Class in com.couchbase.lite.storage
 
SQLiteNativeLibrary() - Constructor for class com.couchbase.lite.storage.SQLiteNativeLibrary
 
SQLiteOutOfMemoryException - Exception in com.couchbase.lite.internal.database.sqlite.exception
 
SQLiteOutOfMemoryException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteOutOfMemoryException
 
SQLiteOutOfMemoryException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteOutOfMemoryException
 
SQLiteProgram - Class in com.couchbase.lite.internal.database.sqlite
A base class for compiled SQLite programs.
SQLiteQuery - Class in com.couchbase.lite.internal.database.sqlite
Represents a query that reads the resulting rows into a SQLiteQuery.
SQLiteQueryBuilder - Class in com.couchbase.lite.internal.database.sqlite
This is a convience class that helps build SQL queries to be sent to SQLiteDatabase objects.
SQLiteQueryBuilder() - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteQueryBuilder
 
SQLiteQueryCursor - Class in com.couchbase.lite.internal.database.sqlite
 
SQLiteQueryCursor(SQLiteQuery) - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteQueryCursor
 
SQLiteReadOnlyDatabaseException - Exception in com.couchbase.lite.internal.database.sqlite.exception
 
SQLiteReadOnlyDatabaseException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteReadOnlyDatabaseException
 
SQLiteReadOnlyDatabaseException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteReadOnlyDatabaseException
 
SQLiteRevCollator - Class in com.couchbase.lite.storage
 
SQLiteRevCollator() - Constructor for class com.couchbase.lite.storage.SQLiteRevCollator
 
SQLiteSession - Class in com.couchbase.lite.internal.database.sqlite
Provides a single client the ability to use a database.
SQLiteSession(SQLiteConnectionPool) - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Creates a session bound to the specified connection pool.
SQLiteStatement - Class in com.couchbase.lite.internal.database.sqlite
Represents a statement that can be executed against a database.
SQLiteStatementInfo - Class in com.couchbase.lite.internal.database.sqlite
Describes a SQLite statement.
SQLiteStatementInfo() - Constructor for class com.couchbase.lite.internal.database.sqlite.SQLiteStatementInfo
 
SQLiteStorageEngine - Interface in com.couchbase.lite.storage
 
SQLiteStorageEngineBase - Class in com.couchbase.lite.storage
 
SQLiteStorageEngineBase() - Constructor for class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
SQLiteStorageEngineFactory - Interface in com.couchbase.lite.storage
The interface that specifies shape of SQLiteStorageEngineFactory implementations.
SQLiteStore - Class in com.couchbase.lite.store
 
SQLiteStore(String, Manager, StoreDelegate) - Constructor for class com.couchbase.lite.store.SQLiteStore
 
SQLiteTableLockedException - Exception in com.couchbase.lite.internal.database.sqlite.exception
 
SQLiteTableLockedException() - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteTableLockedException
 
SQLiteTableLockedException(String) - Constructor for exception com.couchbase.lite.internal.database.sqlite.exception.SQLiteTableLockedException
 
SQLiteTransactionListener - Interface in com.couchbase.lite.internal.database.sqlite
A listener for transaction events.
SQLiteUtils - Class in com.couchbase.lite.util
 
SQLiteUtils() - Constructor for class com.couchbase.lite.util.SQLiteUtils
 
SQLiteViewStore - Class in com.couchbase.lite.store
 
SQLiteViewStore(SQLiteStore, String, boolean) - Constructor for class com.couchbase.lite.store.SQLiteViewStore
 
start() - Method in class com.couchbase.lite.LiveQuery
Starts observing database changes.
start() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
start() - Method in class com.couchbase.lite.replicator.PusherInternal
 
start() - Method in class com.couchbase.lite.replicator.Replication
Starts the replication, asynchronously.
start() - Method in class com.couchbase.lite.router.Router
 
startChangeTracker() - Method in class com.couchbase.lite.replicator.PullerInternal
 
startedPart(Map) - Method in class com.couchbase.lite.replicator.RemoteBulkDownloaderRequest
This method is called when a part's headers have been parsed, before its data is parsed.
startedPart(Map<String, String>) - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
startedPart(Map<String, String>) - Method in interface com.couchbase.lite.support.MultipartReaderDelegate
 
startJSONBufferWithHeaders(Map<String, String>) - Method in class com.couchbase.lite.support.MultipartDocumentReader
 
startListening() - Method in class com.couchbase.lite.NetworkReachabilityManager
This method starts listening for network connectivity state changes.
STATEMENT_ABORT - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_ATTACH - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_BEGIN - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_COMMIT - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_DDL - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_OTHER - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_PRAGMA - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_SELECT - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_UNPREPARED - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
STATEMENT_UPDATE - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
One of the values returned by DatabaseUtils.getSqlStatementType(String).
Status - Class in com.couchbase.lite
Same interpretation as HTTP status codes, esp.
Status() - Constructor for class com.couchbase.lite.Status
 
Status(int) - Constructor for class com.couchbase.lite.Status
 
Status.HTTPStatus - Class in com.couchbase.lite
 
stop() - Method in class com.couchbase.lite.LiveQuery
Stops observing database changes.
stop() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
stop() - Method in class com.couchbase.lite.replicator.PullerInternal
 
stop() - Method in class com.couchbase.lite.replicator.PusherInternal
 
stop() - Method in class com.couchbase.lite.replicator.Replication
Stops the replication, asynchronously.
stop() - Method in class com.couchbase.lite.router.Router
 
stopListening() - Method in class com.couchbase.lite.NetworkReachabilityManager
This method stops this class from listening for network changes.
storageExitedTransaction(boolean) - Method in class com.couchbase.lite.Database
in CBLDatabase+Internal.m - (void) storageExitedTransaction: (BOOL)committed
storageExitedTransaction(boolean) - Method in interface com.couchbase.lite.store.StoreDelegate
Called whenever the outermost transaction completes.
StorageValidation - Interface in com.couchbase.lite.store
 
Store - Interface in com.couchbase.lite.store
Abstraction of database storage.
storeBlob(byte[], BlobKey) - Method in class com.couchbase.lite.BlobStore
 
storeCookie(Response) - Method in class com.couchbase.lite.replicator.RemoteRequest
 
StoreDelegate - Interface in com.couchbase.lite.store
Delegate of a CBL_Storage instance.
str - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
StreamUtils - Class in com.couchbase.lite.util
 
StreamUtils() - Constructor for class com.couchbase.lite.util.StreamUtils
 
stringForQuery(SQLiteDatabase, String, String[]) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Utility method to run the query on the db and return the value in the first column of the first row.
stringForQuery(SQLiteStatement, String[]) - Static method in class com.couchbase.lite.internal.database.util.DatabaseUtils
Utility method to run the pre-compiled query and return the value in the first column of the first row.
stringForQuery(SQLiteStorageEngine, String, String[]) - Static method in class com.couchbase.lite.util.SQLiteUtils
 
subarray(byte[], int, int) - Static method in class com.couchbase.lite.util.ArrayUtils
 
submit() - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
submit(boolean) - Method in class com.couchbase.lite.replicator.RemoteRequestRetry
 
supportEncryption() - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
supportEncryption() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
suspendEncoding() - Method in class com.couchbase.lite.support.Base64.OutputStream
Suspends encoding of the stream.
SymmetricKey - Class in com.couchbase.lite.support.security
 
SymmetricKey() - Constructor for class com.couchbase.lite.support.security.SymmetricKey
Create an instance with a secure random generated key.
SymmetricKey(byte[]) - Constructor for class com.couchbase.lite.support.security.SymmetricKey
Create an instance with a raw key.
SymmetricKey.Encryptor - Class in com.couchbase.lite.support.security
An Encryptor class used for incrementally encrypting data.
SymmetricKeyException - Exception in com.couchbase.lite.support.security
SymmetricKeyException generally used and thrown by the SymmetricKey class
SymmetricKeyException() - Constructor for exception com.couchbase.lite.support.security.SymmetricKeyException
 
SymmetricKeyException(String) - Constructor for exception com.couchbase.lite.support.security.SymmetricKeyException
 
SymmetricKeyException(String, Throwable) - Constructor for exception com.couchbase.lite.support.security.SymmetricKeyException
 
SymmetricKeyException(Throwable) - Constructor for exception com.couchbase.lite.support.security.SymmetricKeyException
 
SYNC_PROTOCOL_VERSION - Static variable in class com.couchbase.lite.support.Version
 
SystemLogger - Class in com.couchbase.lite.internal.database.log
 
SystemLogger() - Constructor for class com.couchbase.lite.internal.database.log.SystemLogger
 
SystemLogger - Class in com.couchbase.lite.util
 
SystemLogger() - Constructor for class com.couchbase.lite.util.SystemLogger
 

T

TABLE_INFO_PRAGMA_COLUMNNAME_INDEX - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
These are the columns returned by sqlite's "PRAGMA table_info(...)" command that we depend on.
TABLE_INFO_PRAGMA_DEFAULT_INDEX - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils.InsertHelper
Deprecated.
This field was accidentally exposed in earlier versions of the platform so we can hide it but we can't remove it.
TAG - Static variable in class com.couchbase.lite.auth.PasswordAuthorizer
 
TAG - Static variable in class com.couchbase.lite.auth.PersonaAuthorizer
 
TAG - Static variable in class com.couchbase.lite.auth.TokenAuthenticator
 
TAG - Static variable in class com.couchbase.lite.Database
 
TAG - Static variable in class com.couchbase.lite.Document
 
TAG - Static variable in class com.couchbase.lite.internal.database.ContentValues
 
TAG - Static variable in class com.couchbase.lite.replicator.RemoteRequest
 
TAG - Static variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
TAG - Static variable in class com.couchbase.lite.replicator.RequestUtils
 
TAG - Static variable in class com.couchbase.lite.router.Router
 
TAG - Variable in class com.couchbase.lite.store.SQLiteStore
 
TAG - Static variable in class com.couchbase.lite.store.SQLiteViewStore
 
TAG - Static variable in class com.couchbase.lite.util.Log
Logging tags
TAG_ACTION - Static variable in class com.couchbase.lite.util.Log
 
TAG_BATCHER - Static variable in class com.couchbase.lite.util.Log
 
TAG_BLOB_STORE - Static variable in class com.couchbase.lite.util.Log
 
TAG_CHANGE_TRACKER - Static variable in class com.couchbase.lite.util.Log
 
TAG_DATABASE - Static variable in class com.couchbase.lite.util.Log
 
TAG_LISTENER - Static variable in class com.couchbase.lite.util.Log
 
TAG_MULTI_STREAM_WRITER - Static variable in class com.couchbase.lite.util.Log
 
TAG_QUERY - Static variable in class com.couchbase.lite.util.Log
 
TAG_REMOTE_REQUEST - Static variable in class com.couchbase.lite.util.Log
 
TAG_ROUTER - Static variable in class com.couchbase.lite.util.Log
 
TAG_SQLiteConnection - Static variable in class com.couchbase.lite.internal.database.log.DLog
Logging tags
TAG_SQLiteConnectionPool - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
TAG_SQLiteDatabase - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
TAG_SQLiteQueryBuilder - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
TAG_SQLiteQueryCursor - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
TAG_SYMMETRIC_KEY - Static variable in class com.couchbase.lite.util.Log
 
TAG_SYNC - Static variable in class com.couchbase.lite.util.Log
 
TAG_SYNC_ASYNC_TASK - Static variable in class com.couchbase.lite.util.Log
 
TAG_VIEW - Static variable in class com.couchbase.lite.util.Log
 
take() - Method in class com.couchbase.lite.support.CustomLinkedBlockingQueue
 
tempDir() - Method in class com.couchbase.lite.BlobStore
 
TEST_NATIVE_LIBRARY_NAME - Static variable in class com.couchbase.lite.storage.SQLiteNativeLibrary
 
testCollate(int, String, String) - Static method in class com.couchbase.lite.storage.SQLiteJsonCollator
 
testCollate(int, String, String, String) - Static method in class com.couchbase.lite.storage.SQLiteJsonCollator
 
testCollate(String, String) - Static method in class com.couchbase.lite.storage.SQLiteRevCollator
 
testDigitToInt(int) - Static method in class com.couchbase.lite.storage.SQLiteJsonCollator
 
testEscape(String) - Static method in class com.couchbase.lite.storage.SQLiteJsonCollator
 
TextUtils - Class in com.couchbase.lite.internal.database.util
 
TextUtils() - Constructor for class com.couchbase.lite.internal.database.util.TextUtils
 
TextUtils - Class in com.couchbase.lite.util
 
TextUtils() - Constructor for class com.couchbase.lite.util.TextUtils
 
throwIfCanceled() - Method in class com.couchbase.lite.internal.database.CancellationSignal
Throws OperationCanceledException if the operation has been canceled.
TMP_FILE_EXTENSION - Static variable in class com.couchbase.lite.BlobStore
 
TMP_FILE_PREFIX - Static variable in class com.couchbase.lite.BlobStore
 
toArray() - Method in class com.couchbase.lite.support.LazyJsonArray
 
toArray(S[]) - Method in class com.couchbase.lite.support.LazyJsonArray
 
toByteArray(Map) - Static method in class com.couchbase.lite.util.ConversionUtils
 
toByteArray(URL) - Static method in class com.couchbase.lite.util.IOUtils
 
toByteArray(InputStream) - Static method in class com.couchbase.lite.util.IOUtils
 
TokenAuthenticator - Class in com.couchbase.lite.auth
Authenticator impl that knows how to do token based auth
TokenAuthenticator(String, Map<String, String>) - Constructor for class com.couchbase.lite.auth.TokenAuthenticator
 
tokenStore - Variable in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
TokenStore - Interface in com.couchbase.lite.auth
 
toLiveQuery() - Method in class com.couchbase.lite.Query
Returns a live query with the same parameters.
toString() - Method in class com.couchbase.lite.auth.OpenIDConnectAuthorizer
 
toString() - Method in class com.couchbase.lite.BlobKey
 
toString() - Method in class com.couchbase.lite.ChangesOptions
 
toString() - Method in exception com.couchbase.lite.CouchbaseLiteException
 
toString() - Method in class com.couchbase.lite.Database
Returns a string representation of this database.
toString() - Method in class com.couchbase.lite.DocumentChange
 
toString() - Method in class com.couchbase.lite.internal.database.ContentValues
Returns a string containing a concise, human-readable description of this object.
toString() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnection
 
toString() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool
 
toString() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
 
toString() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDirectCursorDriver
 
toString() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteQuery
 
toString() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteStatement
 
toString() - Method in class com.couchbase.lite.internal.database.util.LruCache
 
toString() - Method in class com.couchbase.lite.internal.RevisionInternal
 
toString() - Method in class com.couchbase.lite.QueryOptions
 
toString() - Method in class com.couchbase.lite.QueryRow
Return a string representation of this QueryRow.
toString() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
toString() - Method in class com.couchbase.lite.replicator.PullerInternal
 
toString() - Method in class com.couchbase.lite.replicator.PusherInternal
 
toString() - Method in class com.couchbase.lite.replicator.RemoteBulkDownloaderRequest
 
toString() - Method in class com.couchbase.lite.replicator.RemoteRequest
 
toString() - Method in exception com.couchbase.lite.replicator.RemoteRequestResponseException
 
toString() - Method in class com.couchbase.lite.replicator.Replication.ChangeEvent
 
toString() - Method in class com.couchbase.lite.replicator.Replication
 
toString() - Method in class com.couchbase.lite.Revision
Returns a string representation of this Revision, including the Document Id, the Revision Id and whether or not this Revision is a deletion.
toString() - Method in class com.couchbase.lite.router.Router
 
toString() - Method in class com.couchbase.lite.SpecialKey
 
toString() - Method in class com.couchbase.lite.Status.HTTPStatus
 
toString() - Method in class com.couchbase.lite.Status
 
toString() - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
toString() - Method in class com.couchbase.lite.support.security.SymmetricKey
String representation of the object
toString() - Method in class com.couchbase.lite.util.CountDown
 
toString() - Method in class com.couchbase.lite.util.LruCache
 
toString() - Method in class com.couchbase.lite.View
 
totalDataSize() - Method in class com.couchbase.lite.BlobStore
 
totalDataSize() - Method in class com.couchbase.lite.Database
 
totalValues(List<Object>) - Static method in class com.couchbase.lite.View
Utility function to use in reduce blocks.
TRANSACTION_MODE_DEFERRED - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Transaction mode: Deferred.
TRANSACTION_MODE_EXCLUSIVE - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Transaction mode: Exclusive.
TRANSACTION_MODE_IMMEDIATE - Static variable in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Transaction mode: Immediate.
TransactionalTask - Interface in com.couchbase.lite
A delegate that can be run in a transaction on a Database.
transform(Collection<T>, CollectionUtils.Functor<T, U>) - Static method in class com.couchbase.lite.util.CollectionUtils
 
trimToSize(int) - Method in class com.couchbase.lite.internal.database.util.LruCache
Remove the eldest entries until the total of remaining entries is at or below the requested size.

U

UNAUTHORIZED - Static variable in class com.couchbase.lite.Status
 
UNKNOWN - Static variable in class com.couchbase.lite.Status
 
unpushedRevisionsSince(String, ReplicationFilter, Map<String, Object>) - Method in class com.couchbase.lite.Database
 
unquoteString(String) - Static method in class com.couchbase.lite.Misc
 
UnsavedRevision - Class in com.couchbase.lite
An unsaved Couchbase Lite Document Revision.
UnsavedRevision(Document, SavedRevision) - Constructor for class com.couchbase.lite.UnsavedRevision
Constructor
UNSUPPORTED_TYPE - Static variable in class com.couchbase.lite.Status
 
unzip(InputStream, File) - Static method in class com.couchbase.lite.util.ZipUtils
 
update(UnsavedRevision) - Method in interface com.couchbase.lite.Document.DocumentUpdater
Document update delegate
update(Document.DocumentUpdater) - Method in class com.couchbase.lite.Document
Saves a new revision by letting the caller update the existing properties.
update(String, ContentValues, String, String[]) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Convenience method for updating rows in the database.
update(String, ContentValues, String, String[]) - Method in interface com.couchbase.lite.storage.SQLiteStorageEngine
 
update(String, ContentValues, String, String[]) - Method in class com.couchbase.lite.storage.SQLiteStorageEngineBase
 
updateAttachment(String, BlobStoreWriter, String, AttachmentInternal.AttachmentEncoding, String, String, URL) - Method in class com.couchbase.lite.Database
Updates or deletes an attachment, creating a new document revision in the process.
updateIndex() - Method in class com.couchbase.lite.View
Updates the view's index (incrementally) if necessary.
updateIndexAlone() - Method in class com.couchbase.lite.View
Updates the view's index (incrementally) if necessary.
updateIndexes(List<ViewStore>) - Method in class com.couchbase.lite.store.SQLiteViewStore
Updates the indexes of one or more views in parallel.
updateIndexes(List<ViewStore>) - Method in interface com.couchbase.lite.store.ViewStore
Updates the indexes of one or more views in parallel.
updateIndexes(List<View>) - Method in class com.couchbase.lite.View
Update multiple view indexes at once.
updateParametersFrom(SQLiteDatabaseConfiguration) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
Updates the non-immutable parameters of this configuration object from the other configuration object.
updateWithOnConflict(String, ContentValues, String, String[], int) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Convenience method for updating rows in the database.
uploadBulkDocs(List<Object>, RevisionList) - Method in class com.couchbase.lite.replicator.PusherInternal
Post the revisions to the destination.
UPSTREAM_ERROR - Static variable in class com.couchbase.lite.Status
 
URIUtils - Class in com.couchbase.lite.util
 
URIUtils() - Constructor for class com.couchbase.lite.util.URIUtils
 
url - Variable in class com.couchbase.lite.replicator.RemoteRequest
 
url - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
URL_SAFE - Static variable in class com.couchbase.lite.support.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
URL_SAFE - Static variable in class com.couchbase.lite.util.Base64
Encoder/decoder flag bit to indicate using the "URL and filename safe" variant of Base64 (see RFC 3548 section 4) where - and _ are used in place of + and /.
URLConnection - Class in com.couchbase.lite.router
 
URLConnection(URL) - Constructor for class com.couchbase.lite.router.URLConnection
 
URLHandler - Class in com.couchbase.lite.router
 
URLHandler() - Constructor for class com.couchbase.lite.router.URLHandler
 
URLStreamHandlerFactory - Class in com.couchbase.lite.router
 
URLStreamHandlerFactory() - Constructor for class com.couchbase.lite.router.URLStreamHandlerFactory
 
URLUtils - Class in com.couchbase.lite.util
Created by hideki on 6/21/16.
URLUtils() - Constructor for class com.couchbase.lite.util.URLUtils
 
USER_AGENT - Static variable in class com.couchbase.lite.Manager
 
USER_DENIED_AUTH - Static variable in exception com.couchbase.lite.replicator.RemoteRequestResponseException
 
usingProxy() - Method in class com.couchbase.lite.router.URLConnection
 
Utils - Class in com.couchbase.lite.util
 
Utils() - Constructor for class com.couchbase.lite.util.Utils
 

V

v(String, String) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a VERBOSE message.
v(String, String, Throwable) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a VERBOSE message and log the exception.
v(String, String, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a VERBOSE message.
v(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a VERBOSE message and log the exception.
v(String, String) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send a VERBOSE message.
v(String, String, Throwable) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send a VERBOSE message and log the exception.
v(String, String) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
v(String, String, Throwable) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
v(String, String) - Static method in class com.couchbase.lite.util.Log
Send a VERBOSE message.
v(String, String, Throwable) - Static method in class com.couchbase.lite.util.Log
Send a VERBOSE message and log the exception.
v(String, String, Object...) - Static method in class com.couchbase.lite.util.Log
Send a VERBOSE message.
v(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.util.Log
Send a VERBOSE message and log the exception.
v(String, String) - Method in interface com.couchbase.lite.util.Logger
Send a VERBOSE message.
v(String, String, Throwable) - Method in interface com.couchbase.lite.util.Logger
Send a VERBOSE message and log the exception.
v(String, String) - Method in class com.couchbase.lite.util.SystemLogger
 
v(String, String, Throwable) - Method in class com.couchbase.lite.util.SystemLogger
 
validate(RevisionInternal, RevisionInternal, String) - Method in interface com.couchbase.lite.store.StorageValidation
Document validation callback, passed to the insertion methods.
validate(Revision, ValidationContext) - Method in interface com.couchbase.lite.Validator
 
validateChange(String, Object, Object) - Method in interface com.couchbase.lite.ChangeValidator
Validate a change
validateChanges(ChangeValidator) - Method in interface com.couchbase.lite.ValidationContext
Calls the ChangeValidator for each key/value that has changed, passing both the old and new values.
ValidationContext - Interface in com.couchbase.lite
Context passed into a Validator.
Validator - Interface in com.couchbase.lite
Validation block, used to approve revisions being added to the database.
valueOf(String) - Static method in enum com.couchbase.lite.internal.AttachmentInternal.AttachmentEncoding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.Query.AllDocsMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.Query.IndexUpdateMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.replicator.ChangeTracker.ChangeTrackerMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.replicator.RemoteRequestRetry.RemoteRequestType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.replicator.Replication.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.replicator.Replication.Lifecycle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.replicator.Replication.ReplicationField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.replicator.Replication.ReplicationStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.replicator.ReplicationState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.support.BlockingQueueListener.EventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.View.TDViewCollation
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.couchbase.lite.internal.AttachmentInternal.AttachmentEncoding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.Query.AllDocsMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.Query.IndexUpdateMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.replicator.ChangeTracker.ChangeTrackerMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.replicator.RemoteRequestRetry.RemoteRequestType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.replicator.Replication.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.replicator.Replication.Lifecycle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.replicator.Replication.ReplicationField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.replicator.Replication.ReplicationStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.replicator.ReplicationState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.support.BlockingQueueListener.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.couchbase.lite.support.LazyJsonObject
 
values() - Method in class com.couchbase.lite.support.WeakValueHashMap
 
values() - Static method in enum com.couchbase.lite.View.TDViewCollation
Returns an array containing the constants of this enum type, in the order they are declared.
valueSet() - Method in class com.couchbase.lite.internal.database.ContentValues
Returns a set of all of the keys and values
VERBOSE - Static variable in class com.couchbase.lite.internal.database.log.DLog
Logging levels -- values match up with android.util.Log
VERBOSE - Static variable in class com.couchbase.lite.util.Log
Logging levels -- values match up with android.util.Log
VERSION - Static variable in class com.couchbase.lite.Manager
 
Version - Class in com.couchbase.lite.support
 
Version() - Constructor for class com.couchbase.lite.support.Version
 
VERSION - Static variable in class com.couchbase.lite.support.Version
 
View - Class in com.couchbase.lite
Represents a view available in a database.
View(Database, String, boolean) - Constructor for class com.couchbase.lite.View
 
View.TDViewCollation - Enum in com.couchbase.lite
 
ViewCompiler - Interface in com.couchbase.lite
An external object that knows how to map source code of some sort into executable functions.
ViewStore - Interface in com.couchbase.lite.store
Storage for a view.
ViewStoreDelegate - Interface in com.couchbase.lite.store
Delegate of a CBL_ViewStorage instance.

W

w(String, String) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a WARN message.
w(String, Throwable) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a WARN message and log the exception.
w(String, String, Throwable) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a WARN message and log the exception.
w(String, String, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a WARN message.
w(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.internal.database.log.DLog
Send a WARN message and log the exception.
w(String, String) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send a WARN message.
w(String, Throwable) - Method in interface com.couchbase.lite.internal.database.log.Logger
 
w(String, String, Throwable) - Method in interface com.couchbase.lite.internal.database.log.Logger
Send a WARN message and log the exception.
w(String, String) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
w(String, Throwable) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
w(String, String, Throwable) - Method in class com.couchbase.lite.internal.database.log.SystemLogger
 
w(String, String) - Static method in class com.couchbase.lite.util.Log
Send a WARN message.
w(String, Throwable) - Static method in class com.couchbase.lite.util.Log
Send a WARN message and log the exception.
w(String, String, Throwable) - Static method in class com.couchbase.lite.util.Log
Send a WARN message and log the exception.
w(String, String, Object...) - Static method in class com.couchbase.lite.util.Log
Send a WARN message.
w(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.util.Log
Send a WARN message and log the exception.
w(String, String) - Method in interface com.couchbase.lite.util.Logger
Send a WARN message.
w(String, Throwable) - Method in interface com.couchbase.lite.util.Logger
 
w(String, String, Throwable) - Method in interface com.couchbase.lite.util.Logger
Send a WARN message and log the exception.
w(String, String) - Method in class com.couchbase.lite.util.SystemLogger
 
w(String, Throwable) - Method in class com.couchbase.lite.util.SystemLogger
 
w(String, String, Throwable) - Method in class com.couchbase.lite.util.SystemLogger
 
waitDownloadsToInsertBatcherCompleted() - Method in class com.couchbase.lite.replicator.PullerInternal
 
waitForAllTasksCompleted() - Method in class com.couchbase.lite.replicator.PullerInternal
 
waitForPendingFutures() - Method in class com.couchbase.lite.support.Batcher
Wait for the **current** items in the queue to be all processed.
waitForRows() - Method in class com.couchbase.lite.LiveQuery
Blocks until the intial async query finishes.
waitIfPaused() - Method in class com.couchbase.lite.replicator.ChangeTracker
 
walConnectionPoolSize - Variable in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration
Maximum number of database connections opened and managed by framework layer to handle queries on each database when using Write-Ahead Logging.
WARN - Static variable in class com.couchbase.lite.internal.database.log.DLog
 
WARN - Static variable in class com.couchbase.lite.util.Log
 
WeakValueHashMap<K,V> - Class in com.couchbase.lite.support
 
WeakValueHashMap() - Constructor for class com.couchbase.lite.support.WeakValueHashMap
 
WeakValueHashMap(Map<? extends K, ? extends V>) - Constructor for class com.couchbase.lite.support.WeakValueHashMap
 
winningRevIDOfDocNumericID(long, AtomicBoolean, AtomicBoolean) - Method in class com.couchbase.lite.store.SQLiteStore
Returns the rev ID of the 'winning' revision of this document, and whether it's deleted.
workExecutor - Variable in class com.couchbase.lite.replicator.RemoteRequestRetry
 
write(int) - Method in class com.couchbase.lite.router.BufferOutputStream
 
write(int) - Method in class com.couchbase.lite.support.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class com.couchbase.lite.support.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(String, File) - Static method in class com.couchbase.lite.util.TextUtils
 

Y

yieldIfContended() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Deprecated.
if the db is locked more than once (becuase of nested transactions) then the lock will not be yielded. Use yieldIfContendedSafely instead.
yieldIfContendedSafely() - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Temporarily end the transaction to let other threads run.
yieldIfContendedSafely(long) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteDatabase
Temporarily end the transaction to let other threads run.
yieldTransaction(long, boolean, CancellationSignal) - Method in class com.couchbase.lite.internal.database.sqlite.SQLiteSession
Temporarily ends a transaction to let other threads have use of the database.

Z

ZipUtils - Class in com.couchbase.lite.util
Created by hideki on 8/27/15.
ZipUtils() - Constructor for class com.couchbase.lite.util.ZipUtils
 
A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
Skip navigation links