Classes
The following classes are available globally.
-
CBLArray provides access to array data.
See moreDeclaration
Objective-C
@interface CBLArray : CBLReadOnlyArray <CBLArray>
-
Authenticator objects provide server authentication credentials to the replicator. CBLAuthenticator is an abstract superclass; you must instantiate one of its subclasses. CBLAuthenticator is not meant to be subclassed by applications.
Declaration
Objective-C
@interface CBLAuthenticator : NSObject
-
The CBLBasicAuthenticator class is an authenticator that will authenticate using HTTP Basic auth with the given username and password. This should only be used over an SSL/TLS connection, as otherwise it’s very easy for anyone sniffing network traffic to read the password.
See moreDeclaration
Objective-C
@interface CBLBasicAuthenticator : CBLAuthenticator
-
A CBLBlob appears as a property of a CBLDocument; it contains arbitrary binary data, tagged with a MIME type. Blobs can be arbitrarily large, and their data is loaded only on demand (when the
See morecontent
orcontentStream
properties are accessed), not when the document is loaded. The document’s raw JSON form only contains the CBLBlob’s metadata (type, length and a digest of the data) in a small object. The data itself is stored externally to the document, keyed by the digest.Declaration
Objective-C
@interface CBLBlob : NSObject
-
An authenticator that presents a client certificate to the server during the initial SSL/TLS handshake. This requires access to both the X.509 certificate and the matching private key. Apple’s security APIs refer to such a (certificate, key) pair as an
See moreidentity
, typed as a SecIdentityRef.Declaration
Objective-C
@interface CBLClientCertAuthenticator : CBLAuthenticator
-
CBLConflict provides details about a conflict.
See moreDeclaration
Objective-C
@interface CBLConflict : NSObject
-
Database Change information
See moreDeclaration
Objective-C
@interface CBLDatabaseChange : NSObject
-
CBLDictionary provides access to dictionary data.
See moreDeclaration
Objective-C
@interface CBLDictionary : CBLReadOnlyDictionary <CBLDictionary>
-
A Couchbase Lite document.
See moreDeclaration
Objective-C
@interface CBLDocument : CBLReadOnlyDocument <CBLDictionary>
-
Document change information
See moreDeclaration
Objective-C
@interface CBLDocumentChange : NSObject
-
CBLDocumentFragment provides access to a document object. CBLDocumentFragment also provides subscript access by either key or index to the data values of the document which are wrapped by CBLFragment objects.
See moreDeclaration
Objective-C
@interface CBLDocumentFragment : NSObject <CBLDictionaryFragment>
-
The encryption key, a raw AES-256 key data which has exactly 32 bytes in length or a password string. If the password string is given, it will be internally converted to a raw AES key using 64,000 rounds of PBKDF2 hashing.
See moreDeclaration
Objective-C
@interface CBLEncryptionKey : NSObject
-
CBLFragment provides read and write access to data value. CBLFragment also provides subscript access by either key or index to the nested values which are wrapped by CBLFragment objects.
Declaration
Objective-C
@interface CBLFragment : CBLReadOnlyFragment <CBLFragment, CBLDictionaryFragment, CBLArrayFragment>
-
CBLIndex represents an index which could be a value index for regular queries or full-text search (FTS) index for full-text queries (using the match operator).
See moreDeclaration
Objective-C
@interface CBLIndex : NSObject
-
Value Index Item.
See moreDeclaration
Objective-C
@interface CBLValueIndexItem : NSObject
-
FTS Index Item.
See moreDeclaration
Objective-C
@interface CBLFTSIndexItem : NSObject
-
Options for creating full-text search indexes. All properties are set to false or nil by default.
See moreDeclaration
Objective-C
@interface CBLFTSIndexOptions : NSObject
-
A CBLLiveQuery automatically observes database changes and re-run the query that the CBLLiveQuery object is created from. If there is a new query result or an error occurred, the CBLLiveQuery will report the changed result via the added listener blocks.
See moreDeclaration
Objective-C
@interface CBLLiveQuery : NSObject
-
CBLLiveQueryChange contains the information about the query result changes reported by a live query object.
See moreDeclaration
Objective-C
@interface CBLLiveQueryChange : NSObject
-
A compiled database query. You create a query by calling the CBLDatabase method createQueryWhere:. The query can be further configured by setting properties before running it. Some properties alter the behavior of the query enough to trigger recompilation; it’s usually best to set these only once and then reuse the CBLQuery object. You can use NSPredicate / NSExpression variables to parameterize the query, making it flexible without needing recompilation. Then you just set the
See moreparameters
property before running it.Declaration
Objective-C
@interface CBLPredicateQuery : NSObject
-
A database query. A CBLQuery instance can be constructed by calling one of the select methods.
See moreDeclaration
Objective-C
@interface CBLQuery : NSObject
-
CBLQueryCollation defines how strings are compared and is used when creating a COLLATE expression. The COLLATE expression can be used in the WHERE clause when comparing two strings or in the ORDER BY clause when specifying how the order of the query results. CouchbaseLite provides two types of the Collation, ASCII and Unicode. Without specifying the COLLATE expression Couchbase Lite will use the ASCII with case sensitive collation by default.
See moreDeclaration
Objective-C
@interface CBLQueryCollation : NSObject
-
A query data source. used for specifiying the data source for your query. The current data source supported is the database.
See moreDeclaration
Objective-C
@interface CBLQueryDataSource : NSObject
-
A CBLQueryExpression represents an expression used for constructing a query statement.
See moreDeclaration
Objective-C
@interface CBLQueryExpression : NSObject
-
CBLQueryFunction represents a function expression.
See moreDeclaration
Objective-C
@interface CBLQueryFunction : CBLQueryExpression
-
A CBLQueryJoin represents the JOIN clause in the query statement.
See moreDeclaration
Objective-C
@interface CBLQueryJoin : NSObject
-
A CBLQueryLimit represents a query LIMIT clause used for constrainting the number of results returned by a query.
See moreDeclaration
Objective-C
@interface CBLQueryLimit : NSObject
-
CBLQueryMeta is a factory class for creating the expressions that refers to the metadata properties of the document.
See moreDeclaration
Objective-C
@interface CBLQueryMeta : NSObject
-
A CBLQueryOrdering represents a single ordering component in the query ORDER BY clause.
See moreDeclaration
Objective-C
@interface CBLQueryOrdering : NSObject
-
CBLQuerySortOrder allows to specify the ordering direction which is an ascending or a descending order
See moreDeclaration
Objective-C
@interface CBLQuerySortOrder : CBLQueryOrdering
-
A CBLQueryParameters object used for setting values to the query parameters defined in the query.
See moreDeclaration
Objective-C
@interface CBLQueryParameters : NSObject
-
CBLQueryResult represents a single row in the query result. The projecting result value can be accessed either by using a zero based index or by a key corresponding to the CBLQuerySelectResult objects given when constructing the CBLQuery object.
A key used for accessing the projecting result value could be one of the followings:
- The alias name of the CBLQuerySelectResult object.
- The last component of the keypath or property name of the property expression used when creating the CBLQuerySelectResult object.
- The provision key in $1, $2, …$N format for the CBLQuerySelectResult that doesn’t have an alias name specified or is not a property expression such as an aggregate function expression (e.g. count(), avg(), min(), max(), sum() and etc). The number suffix after the ‘$’ character is a running number starting from one.
Declaration
Objective-C
@interface CBLQueryResult : NSObject <CBLReadOnlyArray, CBLReadOnlyDictionary>
-
CBLQueryResultSet is a result returned from a query. The CBLQueryResultSet is an NSEnumerator of the CBLQueryResult objects, each of which represent a single row in the query result.
Declaration
Objective-C
@interface CBLQueryResultSet : NSEnumerator <CBLQueryResult *>
-
A single result from a CBLQuery. The NSEnumeration returned by -[CBLQuery run:] produces these.
See moreDeclaration
Objective-C
@interface CBLQueryRow : NSObject
-
A single result from a full-text CBLQuery.
See moreDeclaration
Objective-C
@interface CBLFullTextQueryRow : CBLQueryRow
-
A CBLQuerySelectResult represents a returning value in each query result row.
See moreDeclaration
Objective-C
@interface CBLQuerySelectResult : NSObject
-
CBLReadOnlyArray provides readonly access to array data.
See moreDeclaration
Objective-C
@interface CBLReadOnlyArray : NSObject <CBLReadOnlyArray>
-
CBLReadOnlyDictionary provides readonly access to dictionary data.
See moreDeclaration
Objective-C
@interface CBLReadOnlyDictionary : NSObject <CBLReadOnlyDictionary>
-
Readonly version of the CBLDocument.
See moreDeclaration
Objective-C
@interface CBLReadOnlyDocument : CBLReadOnlyDictionary
-
CBLReadOnlyFragment provides readonly access to data value. CBLReadOnlyFragment also provides subscript access by either key or index to the nested values which are wrapped by the CBLReadOnlyFragment objects.
Declaration
Objective-C
@interface CBLReadOnlyFragment : NSObject <CBLReadOnlyFragment, CBLReadOnlyDictionaryFragment, CBLReadOnlyArrayFragment>
-
Combined activity level and progress of a replicator.
See moreDeclaration
Objective-C
@interface CBLReplicatorStatus : NSObject
-
A replicator for replicating document changes between a local database and a target database. The replicator can be bidirectional or either push or pull. The replicator can also be one-short or continuous. The replicator runs asynchronously, so observe the status property to be notified of progress.
See moreDeclaration
Objective-C
@interface CBLReplicator : NSObject
-
Replicator status change details.
See moreDeclaration
Objective-C
@interface CBLReplicatorChange : NSObject
-
Replicator configuration.
See moreDeclaration
Objective-C
@interface CBLReplicatorConfiguration : NSObject <NSCopying>
-
The CBLSessionAuthenticator class is an authenticator that will authenticate by using the session ID of the session created by a Sync Gateway.
See moreDeclaration
Objective-C
@interface CBLSessionAuthenticator : CBLAuthenticator