CollectionConfiguration class final
The replication configuration for a Collection.
Constructors
-
CollectionConfiguration({List<
String> ? channels, List<String> ? documentIds, ReplicationFilter? pushFilter, ReplicationFilter? pullFilter, ConflictResolver? conflictResolver}) - Creates a replication configuration for a Collection.
- CollectionConfiguration.from(CollectionConfiguration config)
-
Creates a replication configuration for a Collection from another
config
by coping it.
Properties
-
channels
↔ List<
String> ? -
A set of Sync Gateway channel names to pull from.
getter/setter pair
- conflictResolver ↔ ConflictResolver?
-
A custom conflict resolver.
getter/setter pair
-
documentIds
↔ List<
String> ? -
A set of document IDs to filter by.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- pullFilter ↔ ReplicationFilter?
-
Filter for validating whether the Documents can be pulled from the
remote endpoint.
getter/setter pair
- pushFilter ↔ ReplicationFilter?
-
Filter for validating whether the Documents can be pushed to the remote
endpoint.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited