EventStoreProjectionsUpdate mixin
Operations for updating user-defined projections.
- Superclass Constraints
- Mixin Applications
Properties
- api → Versions
-
Get api versions. If verify is not invoked,
Versions.server is null.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGrpcWeb → bool
-
True if this client is using grpc-web protocol
finalinherited
- leader → EndPoint
-
Get EndPoint for last known leader node.
If connecting to a single node, this returns
EventStoreClientSettings.singleNode.
no setterinherited
- options → CallOptions?
-
GRPC
CallOptions
instancefinalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → EventStoreClientSettings
-
Connection name supplied as metadata to server
finalinherited
- supportsClientStreamingRpc → bool
-
Check if grpc protocol supports client streaming
See https://github.com/grpc/grpc-web/blob/master/doc/interop-test-descriptions.md
no setterinherited
Methods
-
$createChannel(
EndPoint endPoint) → GrpcOrGrpcWebClientChannel -
inherited
-
$getClient(
) → Future< ProjectionsClient> -
inherited
-
discover(
) → Future< EndPoint> -
Discover node
EndPoint
given current EventStoreClientSettings.nodePreference.inherited -
isFeatureSupported(
ApiFeature feature) → bool -
Check if given
feature
is supported by api.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → Future< void> -
Shutdown all channels
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String name, String query, {bool? emitEnabled, UserCredentials? userCredentials}) → Future< void> -
Updates given projection.
The
name
parameter identifies the projection that is updated. Thequery
parameter contains the updated JavaScript. See user-defined projections API. for more information about the query language (javascript). TheemitEnabled
parameter controls if projection emits events -
verify(
) → Future< void> -
Verify that EventStoreClientSettings.apiVersion
is compatible with server version. Throws a
UnsupportedApiVersionException if
MemberInfo.apiVersion is incompatible with
requested EventStoreClientSettings.apiVersion.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited