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 int
commitWithin
String
id
org.apache.lucene.util.BytesRef
indexedId
String
query
-
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 void
clear()
String
getId()
org.apache.lucene.util.BytesRef
getIndexedId()
Returns the indexed ID for this delete.String
getQuery()
boolean
isDeleteById()
String
name()
void
setId(String id)
void
setIndexedId(org.apache.lucene.util.BytesRef indexedId)
void
setQuery(String query)
String
toString()
-
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:
name
in 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:
toString
in classUpdateCommand
-
-