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
 
 public abstract class UpdateCommand extends Object implements Cloneable An index update command encapsulated in an object (Command pattern)
- 
- 
Field SummaryFields Modifier and Type Field Description static intBUFFERINGstatic intCLEAR_CACHESprotected intflagsstatic intIGNORE_AUTOCOMMITstatic intIGNORE_INDEXWRITERstatic intPEER_SYNCstatic intREPLAYprotected SolrQueryRequestreqprotected Stringrouteprotected longversion
 - 
Constructor SummaryConstructors Constructor Description UpdateCommand(SolrQueryRequest req)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UpdateCommandclone()intgetFlags()SolrQueryRequestgetReq()StringgetRoute()io.opentracing.TracergetTracer()Distributed tracing Tracer.longgetVersion()abstract Stringname()voidsetFlags(int flags)voidsetReq(SolrQueryRequest req)voidsetRoute(String route)voidsetVersion(long version)StringtoString()
 
- 
- 
- 
Field Detail- 
reqprotected SolrQueryRequest req 
 - 
versionprotected long version 
 - 
routeprotected String route 
 - 
flagsprotected int flags 
 - 
BUFFERINGpublic static int BUFFERING 
 - 
REPLAYpublic static int REPLAY 
 - 
PEER_SYNCpublic static int PEER_SYNC 
 - 
IGNORE_AUTOCOMMITpublic static int IGNORE_AUTOCOMMIT 
 - 
CLEAR_CACHESpublic static int CLEAR_CACHES 
 - 
IGNORE_INDEXWRITERpublic static int IGNORE_INDEXWRITER 
 
- 
 - 
Constructor Detail- 
UpdateCommandpublic UpdateCommand(SolrQueryRequest req) 
 
- 
 - 
Method Detail- 
namepublic abstract String name() 
 - 
getVersionpublic long getVersion() 
 - 
setVersionpublic void setVersion(long version) 
 - 
getRoutepublic String getRoute() 
 - 
setRoutepublic void setRoute(String route) 
 - 
setFlagspublic void setFlags(int flags) 
 - 
getFlagspublic int getFlags() 
 - 
getReqpublic SolrQueryRequest getReq() 
 - 
setReqpublic void setReq(SolrQueryRequest req) 
 - 
getTracerpublic io.opentracing.Tracer getTracer() Distributed tracing Tracer. Never null but might implementNoopTracer.
 - 
clonepublic UpdateCommand clone() 
 
- 
 
-