Classes
The following classes are available globally.
-
CBLArray provides access to array data.
See moreDeclaration
Objective-C
@interface CBLArray : CBLReadOnlyArray <CBLArray>
-
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
-
Undocumented
See more
-
Undocumented
See more
-
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>
-
Undocumented
See more
-
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>
-
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>
-
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
-
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 database data source. You could also create an alias data source by calling the -as: method with a given alias name.
See moreDeclaration
Objective-C
@interface CBLQueryDatabase : CBLQueryDataSource
-
A CBLQueryExpression represents an expression used for constructing a query statement.
See moreDeclaration
Objective-C
@interface CBLQueryExpression : NSObject
-
A CBLQueryOrderBy represents a query ORDER BY clause by specifying properties or expressions that the result rows should be sorted by. A CBLQueryOrderBy can be construct as a single CBLQuerySortOrder instance with a propery name or an expression instance or as a chain of multiple CBLQueryOrderBy instances.
See moreDeclaration
Objective-C
@interface CBLQueryOrderBy : NSObject
-
CBLQuerySortOrder is a subclass of the CBLQueryOrderBy that allows to create an ascending or a descending CBLQueryOrderBy instance.
See moreDeclaration
Objective-C
@interface CBLQuerySortOrder : CBLQueryOrderBy
-
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 CBLQuerySelect represents the returning properties in each query result row.
See moreDeclaration
Objective-C
@interface CBLQuerySelect : 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