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
public abstract class UpdateCommand
- extends Object
- implements Cloneable
An index update command encapsulated in an object (Command pattern)
req
protected SolrQueryRequest req
version
protected long version
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
UpdateCommand
public UpdateCommand(SolrQueryRequest req)
name
public abstract String name()
toString
public String toString()
- Overrides:
toString
in class Object
getVersion
public long getVersion()
setVersion
public void setVersion(long version)
setFlags
public void setFlags(int flags)
getFlags
public int getFlags()
getReq
public SolrQueryRequest getReq()
setReq
public void setReq(SolrQueryRequest req)
clone
public UpdateCommand clone()
- Overrides:
clone
in class Object
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.