Protocols
The following protocols are available globally.
-
ENTERPRISE EDITION ONLY.
The authenticator used by URLEndpointListener to authenticate clients.
Declaration
Swift
@available(macOS 10.12, iOS 10.0, *) public protocol ListenerAuthenticator
-
ENTERPRISE EDITION ONLY
PredictionFunction protocol that allows to create an expression that refers to one of the properties of the prediction result dictionary.
See moreDeclaration
Swift
public protocol PredictionFunction : ExpressionProtocol
-
ENTERPRISE EDITION ONLY
PredictiveModel protocol that allows to integrate machine learning model into CBL Query via invoking the Function.prediction() function.
See moreDeclaration
Swift
public protocol PredictiveModel
-
The stream oriented transportation; the replicator will apply framing to each message.
ENTERPRISE EDITION ONLY.
A delegate used by the replicator to create MessageEndpointConnection objects.
See moreDeclaration
Swift
public protocol MessageEndpointDelegate : AnyObject
-
ENTERPRISE EDITION ONLY.
The protocol implemented by the application using a custom transporation method to exchange replication data between peers.
See moreDeclaration
Swift
public protocol MessageEndpointConnection : AnyObject
-
ENTERPRISE EDITION ONLY.
The replicator connection used by the application to tell the replicator to consume the data received from the other peer or to close the connection.
See moreDeclaration
Swift
public protocol ReplicatorConnection
-
ArrayProtocol defines a set of methods for readonly accessing array data.
See moreDeclaration
Swift
public protocol ArrayProtocol : ArrayFragment
-
Authenticator objects provide server authentication credentials to the replicator. Authenticator is a base opaque protocol; you must instantiate one of its implementation.
Declaration
Swift
public protocol Authenticator
-
Collation 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.
Declaration
Swift
public protocol CollationProtocol
-
The CollectionChangeObservable interface represents the object that can notify change events that occur to documents in collections.
See moreDeclaration
Swift
public protocol CollectionChangeObservable
-
Conflict Resolver protocol
See moreDeclaration
Swift
public protocol ConflictResolverProtocol
-
A query data source. used for specifiying the data source for your query.
Declaration
Swift
public protocol DataSourceProtocol
-
A query data source with the aliasing function.
See moreDeclaration
Swift
public protocol DataSourceAs : DataSourceProtocol
-
DictionaryProtocol defines a set of methods for readonly accessing dictionary data.
See moreDeclaration
Swift
public protocol DictionaryProtocol : DictionaryFragment
-
Replication target endpoint.
Declaration
Swift
public protocol Endpoint
-
Query expression.
See moreDeclaration
Swift
public protocol ExpressionProtocol
-
FragmentProtocol provides readonly access to the data value wrapped by a fragment object.
See moreDeclaration
Swift
public protocol FragmentProtocol
-
ArrayFragment protocol provides subscript access to Fragment objects by index.
See moreDeclaration
Swift
public protocol ArrayFragment
-
DictionaryFragment protocol provides subscript access to Fragment objects by key.
See moreDeclaration
Swift
public protocol DictionaryFragment
-
Full-text expression.
See moreDeclaration
Swift
@available(*, deprecated, message: "Use FullTextFunction.match(indexName: String, query: String﹚ instead.") public protocol FullTextExpressionProtocol
-
Index Expression.
Declaration
Swift
public protocol IndexExpressionProtocol
-
Full-Text Index Expression.
See moreDeclaration
Swift
public protocol FullTextIndexExpressionProtocol : IndexExpressionProtocol
-
Index protocol.
Declaration
Swift
public protocol Index
-
Undocumented
Declaration
Swift
public protocol IndexConfiguration
-
The Indexable interface defines a set of functions for managing the query indexes.
See moreDeclaration
Swift
public protocol Indexable
-
Join component representing a JOIN clause in the query statement.
Declaration
Swift
public protocol JoinProtocol
-
Join ON clause used for specifying join conditions.
See moreDeclaration
Swift
public protocol JoinOnProtocol : JoinProtocol
-
Logger protocol
See moreDeclaration
Swift
public protocol Logger
-
Meta expression.
See moreDeclaration
Swift
public protocol MetaExpressionProtocol : ExpressionProtocol
-
MutableArrayProtocol protocol defines a set of methods for getting and setting array data.
See moreDeclaration
Swift
public protocol MutableArrayProtocol : ArrayProtocol, MutableArrayFragment
-
MutableDictionaryProtocol defines a set of methods for getting and setting dictionary data.
See moreDeclaration
Swift
public protocol MutableDictionaryProtocol : DictionaryProtocol, MutableDictionaryFragment
-
MutableFragmentProtocol provides read and write access to the data value wrapped by a fragment object.
See moreDeclaration
Swift
public protocol MutableFragmentProtocol : FragmentProtocol
-
MutableArrayFragment protocol provides subscript access to Fragment objects by index.
See moreDeclaration
Swift
public protocol MutableArrayFragment
-
MutableDictionaryFragment protocol provides subscript access to CBLMutableFragment objects by key.
See moreDeclaration
Swift
public protocol MutableDictionaryFragment
-
Ordering represents a single ordering component in the query ORDER BY clause.
Declaration
Swift
public protocol OrderingProtocol
-
SortOrder allows to specify the ordering direction which is ascending or descending order. The default ordering is the ascending order.
See moreDeclaration
Swift
public protocol QuerySortOrder : OrderingProtocol
-
Property expression.
See moreDeclaration
Swift
public protocol PropertyExpressionProtocol : ExpressionProtocol
-
The QueryFactory interface defines a function for creating a query from the given SQL string.
See moreDeclaration
Swift
public protocol QueryFactory
-
SelectResult represents a signle return value of the query statement.
Declaration
Swift
public protocol SelectResultProtocol
-
SelectResult with the aliasing function. The alias name can be used as the key for accessing the result value from the query Result object.
See moreDeclaration
Swift
public protocol SelectResultAs : SelectResultProtocol
-
SelectResult with the from function that you can specify the data source alias name.
See moreDeclaration
Swift
public protocol SelectResultFrom : SelectResultProtocol
-
Variable expression that expresses an array item in the ArrayExpression.
Declaration
Swift
public protocol VariableExpressionProtocol : ExpressionProtocol