Classes
The following classes are available globally.
-
A query data source factory. The current data source supported is the database.
See moreDeclaration
Swift
public final class DataSource
-
A Parameters object used for setting values to the query parameters defined in the query.
See moreDeclaration
Swift
public class Parameters
-
Configuration for opening a database.
See moreDeclaration
Swift
public class DatabaseConfiguration
-
The Satisfies class represents the SATISFIES clause object in a quantified operator (ANY/ANY AND EVERY/EVERY
See moreIN SATISFIES ). The SATISFIES clause is used for specifying an expression that will be used to evaluate each item in the array. Declaration
Swift
public final class ArrayExpressionSatisfies
-
MutableFragment provides read and write access to data value. MutableFragment also provides subscript access by either key or index to the nested values which are wrapped by MutableFragment objects.
See moreDeclaration
Swift
public final class MutableFragment: Fragment, MutableDictionaryFragment, MutableArrayFragment
-
Listener token returned when adding a change listener. The token is used for removing the added change listener.
Declaration
Swift
public class ListenerToken
-
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
Swift
public final class Replicator
-
DocumentFragment provides access to a document object. DocumentFragment also provides subscript access by either key or index to the data values of the document which are wrapped by Fragment objects.
See moreDeclaration
Swift
public final class DocumentFragment: DictionaryFragment
-
Result 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 SelectResult objects given when constructing the Query object.
A key used for accessing the projecting result value could be one of the followings:
- The alias name of the SelectResult object.
- The last component of the keypath or property name of the property expression used when creating the SelectResult object.
- The provision key in $1, $2, …$N format for the SelectResult 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
Swift
public final class Result : ArrayProtocol, DictionaryProtocol, Sequence
-
Array function factory.
See moreDeclaration
Swift
public final class ArrayFunction
-
Full-text expression factory.
See moreDeclaration
Swift
public final class FullTextExpression
-
The In class represents the IN clause object in a quantified operator (ANY/ANY AND EVERY/EVERY
See moreIN SATISFIES ). The IN clause is used for specifying an array object or an expression evaluated as an array object, each item of which will be evaluated against the satisfies expression. Declaration
Swift
public final class ArrayExpressionIn
-
Fragment provides readonly access to data value. Fragment also provides subscript access by either key or index to the nested values which are wrapped by Fragment objects.
See moreDeclaration
Swift
public class Fragment: FragmentProtocol, ArrayFragment, DictionaryFragment
-
ResultSet is a result returned from a query.
See moreDeclaration
Swift
public final class ResultSet : Sequence, IteratorProtocol
-
A Limit component represents the LIMIT clause of the query statement.
Declaration
Swift
public final class Limit: Query
-
MutableDictionaryObject provides access to dictionary data.
See moreDeclaration
Swift
public final class MutableDictionaryObject: DictionaryObject, MutableDictionaryProtocol
-
DictionaryObject provides readonly access to dictionary data.
See moreDeclaration
Swift
public class DictionaryObject: DictionaryProtocol, Equatable, Hashable, Sequence
-
Replicator configuration.
See moreDeclaration
Swift
public class ReplicatorConfiguration
-
Index represents an index which could be a value index for regular queries or full-text index for full-text queries (using the match operator).
See moreDeclaration
Swift
public class IndexBuilder
-
Full-text search index item.
See moreDeclaration
Swift
public class FullTextIndexItem
-
Blob 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 Blob’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
Swift
public final class Blob: Equatable, Hashable
-
Full-text function factory.
See moreDeclaration
Swift
public final class FullTextFunction
-
ArrayObject provides readonly access to array data.
See moreDeclaration
Swift
public class ArrayObject: ArrayProtocol, Equatable, Hashable, Sequence
-
Array expression.
See moreDeclaration
Swift
public final class ArrayExpression
-
Query expression factory.
See moreDeclaration
Swift
public final class Expression
-
Collation factory. 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
Swift
public final class Collation
-
MutableArrayObject provides access to array data.
See moreDeclaration
Swift
public final class MutableArrayObject: ArrayObject, MutableArrayProtocol
-
Couchbase Lite document. The Document is immutable.
See moreDeclaration
Swift
public class Document : DictionaryProtocol, Equatable, Hashable, Sequence
-
SelectResult factory.
See moreDeclaration
Swift
public final class SelectResult