Package org.apache.solr.update
Class UpdateCommand
java.lang.Object
org.apache.solr.update.UpdateCommand
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
AddUpdateCommand,CommitUpdateCommand,DeleteUpdateCommand,MergeIndexesCommand,RollbackUpdateCommand,SplitIndexCommand
An index update command encapsulated in an object (Command pattern)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intprotected intstatic intstatic intstatic intstatic intprotected SolrQueryRequestprotected Stringprotected long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
req
-
version
protected long version -
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
-
UpdateCommand
-
-
Method Details
-
name
-
toString
-
getVersion
public long getVersion() -
setVersion
public void setVersion(long version) -
getRoute
-
setRoute
-
setFlags
public void setFlags(int flags) -
getFlags
public int getFlags() -
getReq
-
setReq
-
getTracer
public io.opentracing.Tracer getTracer()Distributed tracing Tracer. Never null but might implementNoopTracer. -
clone
-