Class MoveDocumentById

All Implemented Interfaces:
JsonType

public class MoveDocumentById extends Command
Command to move a single document to another collection.
  • Constructor Details

    • MoveDocumentById

      public MoveDocumentById()
  • Method Details

    • routingKey

      public String routingKey()
      Uses the document ID as the routing key, ensuring consistency during the move.
      Overrides:
      routingKey in class Command
      Returns:
      a routing key string, or null if not specified