Class MoveDocumentById
java.lang.Object
io.fluxzero.common.api.Request
io.fluxzero.common.api.Command
io.fluxzero.common.api.search.MoveDocumentById
- All Implemented Interfaces:
JsonType
Command to move a single document to another collection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUses the document ID as the routing key, ensuring consistency during the move.Methods inherited from class Command
getGuarantee
-
Constructor Details
-
MoveDocumentById
public MoveDocumentById()
-
-
Method Details
-
routingKey
Uses the document ID as the routing key, ensuring consistency during the move.- Overrides:
routingKeyin classCommand- Returns:
- a routing key string, or
nullif not specified
-