Package com.eventstore.dbclient
Class DeleteProjectionOptions
java.lang.Object
com.eventstore.dbclient.DeleteProjectionOptions
Options of the delete projection request.
-
Method Summary
Modifier and TypeMethodDescriptionauthenticated(UserCredentials credentials) Sets user credentials for the requestauthenticated(String login, String password) Sets user credentials for the requestdeadline(long durationInMs) A length of time (in milliseconds) to use for gRPC deadlines.Deletes the projection checkpoint stream.deleteCheckpointStream(boolean delete) If true, deletes the projection checkpoint stream.Deletes emitted streams if the projections had track emitted streams enabled.deleteEmittedStreams(boolean delete) If true, deletes emitted streams if the projections had track emitted streams enabled.Deletes the projection state stream.deleteStateStream(boolean delete) If true, deletes the projection state stream.static DeleteProjectionOptionsget()Returns options with default values.Adds a custom HTTP header that will be added to the request.Do not require the request to be performed by the leader of the cluster.Requires the request to be performed by the leader of the cluster.requiresLeader(boolean value) If true, requires the request to be performed by the leader of the cluster.
-
Method Details
-
get
Returns options with default values. -
deleteEmittedStreams
Deletes emitted streams if the projections had track emitted streams enabled. -
deleteStateStream
Deletes the projection state stream. -
deleteCheckpointStream
Deletes the projection checkpoint stream. -
deleteEmittedStreams
If true, deletes emitted streams if the projections had track emitted streams enabled. -
deleteStateStream
If true, deletes the projection state stream. -
deleteCheckpointStream
If true, deletes the projection checkpoint stream. -
authenticated
Sets user credentials for the request- Parameters:
credentials-- Returns:
- updated options
- See Also:
-
authenticated
Sets user credentials for the request- Parameters:
login-password-- Returns:
- updated options
-
requiresLeader
Requires the request to be performed by the leader of the cluster.- Returns:
- updated options
-
notRequireLeader
Do not require the request to be performed by the leader of the cluster.- Returns:
- updated options
-
requiresLeader
If true, requires the request to be performed by the leader of the cluster.- Parameters:
value-- Returns:
- updated options
-
deadline
A length of time (in milliseconds) to use for gRPC deadlines.- Parameters:
durationInMs-- Returns:
-
header
Adds a custom HTTP header that will be added to the request.
-