Package org.apache.solr.update
Class DeleteUpdateCommand
- java.lang.Object
-
- org.apache.solr.update.UpdateCommand
-
- org.apache.solr.update.DeleteUpdateCommand
-
- All Implemented Interfaces:
Cloneable
public class DeleteUpdateCommand extends UpdateCommand
-
-
Field Summary
Fields Modifier and Type Field Description intcommitWithinStringidorg.apache.lucene.util.BytesRefindexedIdStringquery-
Fields inherited from class org.apache.solr.update.UpdateCommand
BUFFERING, CLEAR_CACHES, flags, IGNORE_AUTOCOMMIT, IGNORE_INDEXWRITER, PEER_SYNC, REPLAY, req, route, version
-
-
Constructor Summary
Constructors Constructor Description DeleteUpdateCommand(SolrQueryRequest req)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()StringgetId()org.apache.lucene.util.BytesRefgetIndexedId()Returns the indexed ID for this delete.StringgetQuery()booleanisDeleteById()Stringname()voidsetId(String id)voidsetIndexedId(org.apache.lucene.util.BytesRef indexedId)voidsetQuery(String query)StringtoString()-
Methods inherited from class org.apache.solr.update.UpdateCommand
clone, getFlags, getReq, getRoute, getVersion, setFlags, setReq, setRoute, setVersion
-
-
-
-
Constructor Detail
-
DeleteUpdateCommand
public DeleteUpdateCommand(SolrQueryRequest req)
-
-
Method Detail
-
name
public String name()
- Specified by:
namein classUpdateCommand
-
isDeleteById
public boolean isDeleteById()
-
clear
public void clear()
-
getIndexedId
public org.apache.lucene.util.BytesRef getIndexedId()
Returns the indexed ID for this delete. The returned BytesRef is retained across multiple calls, and should not be modified.
-
getId
public String getId()
-
getQuery
public String getQuery()
-
setQuery
public void setQuery(String query)
-
setIndexedId
public void setIndexedId(org.apache.lucene.util.BytesRef indexedId)
-
setId
public void setId(String id)
-
toString
public String toString()
- Overrides:
toStringin classUpdateCommand
-
-