- 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
-
- createCount() - Method in class com.couchbase.lite.util.LruCache
-
- 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(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
-
- 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
-
- 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(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
-
- 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
-
- encodeBytesToBytes(byte[], int, int, int) - Static method in class com.couchbase.lite.support.Base64
-
- 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
-
- evictAll() - Method in class com.couchbase.lite.util.LruCache
-
- 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.
- 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
-
- 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.
- 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
-
- InputStream(InputStream, int) - Constructor for class com.couchbase.lite.support.Base64.InputStream
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- STATEMENT_ATTACH - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- STATEMENT_BEGIN - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- STATEMENT_COMMIT - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- STATEMENT_DDL - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- STATEMENT_OTHER - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- STATEMENT_PRAGMA - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- STATEMENT_SELECT - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- STATEMENT_UNPREPARED - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- STATEMENT_UPDATE - Static variable in class com.couchbase.lite.internal.database.util.DatabaseUtils
-
- 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
-
- 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.