public interface EventTransformationService
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EventTransformationService.TransformationStream
The stream toward the transformation needed to register the required events' changes.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
cancel(String transformationId)
Requests to AxonServer to cancel the transformation with the specified identifier.
|
CompletableFuture<String> |
newTransformation(String description)
Creates a new transformation.
|
CompletableFuture<Void> |
startApplying(String transformationId,
Long sequence)
Requests to AxonServer to apply the transformation with the specified identifier.
|
CompletableFuture<Void> |
startCompacting()
Requests to AxonServer to compact the event store.
|
CompletableFuture<EventTransformation> |
transformationById(String id)
Returns the Event Transformations with the specified id.
|
CompletableFuture<Iterable<EventTransformation>> |
transformations()
Returns all the existing Event Transformations.
|
EventTransformationService.TransformationStream |
transformationStream(String transformationId)
Opens a
EventTransformationService.TransformationStream towards the transformation, that can be used to register the required
changes. |
CompletableFuture<Iterable<EventTransformation>> transformations()
CompletableFuture of the Event TransformationsCompletableFuture<EventTransformation> transformationById(String id)
id - the id of the EventTransformation to be returned.CompletableFuture of the EventTransformation with the specified id.CompletableFuture<String> newTransformation(String description)
description - the description of the transformation to create.CompletableFuture of the identifier of the newly created transformation.EventTransformationService.TransformationStream transformationStream(String transformationId)
EventTransformationService.TransformationStream towards the transformation, that can be used to register the required
changes.transformationId - the identifier of the transformationEventTransformationService.TransformationStreamCompletableFuture<Void> startApplying(String transformationId, Long sequence)
transformationId - the identifier of the transformation to be appliedsequence - the expected last sequence of the transformation, used to check that no change request
has been lostCompletableFuture that completes when the request has been received by Axon Server.CompletableFuture<Void> cancel(String transformationId)
transformationId - the identifier of the transformation to be cancelledCompletableFuture that completes when the request has been received by Axon Server.CompletableFuture<Void> startCompacting()
CompletableFuture that completes when the request has been received by Axon Server.Copyright © 2020–2023 AxonIQ BV. All rights reserved.