Class UpdateCommand

java.lang.Object
org.apache.solr.update.UpdateCommand
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AddUpdateCommand, CommitUpdateCommand, DeleteUpdateCommand, MergeIndexesCommand, RollbackUpdateCommand, SplitIndexCommand

public abstract class UpdateCommand extends Object implements Cloneable
An index update command encapsulated in an object (Command pattern)
  • Field Details

    • req

      protected final SolrQueryRequest req
    • version

      protected long version
    • route

      protected String route
    • flags

      protected int flags
    • BUFFERING

      public static int BUFFERING
    • REPLAY

      public static int REPLAY
    • PEER_SYNC

      public static int PEER_SYNC
    • IGNORE_AUTOCOMMIT

      public static int IGNORE_AUTOCOMMIT
    • CLEAR_CACHES

      public static int CLEAR_CACHES
    • IGNORE_INDEXWRITER

      public static int IGNORE_INDEXWRITER
  • Constructor Details

  • Method Details

    • name

      public abstract String name()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getVersion

      public long getVersion()
    • setVersion

      public void setVersion(long version)
    • getRoute

      public String getRoute()
    • setRoute

      public void setRoute(String route)
    • setFlags

      public void setFlags(int flags)
    • getFlags

      public int getFlags()
    • getReq

      public SolrQueryRequest getReq()
    • clone

      public UpdateCommand clone()
      Overrides:
      clone in class Object