Package org.apache.solr.update
Class SplitIndexCommand
- java.lang.Object
-
- org.apache.solr.update.UpdateCommand
-
- org.apache.solr.update.SplitIndexCommand
-
- All Implemented Interfaces:
Cloneable
public class SplitIndexCommand extends UpdateCommand
A split index command encapsulated in an object.- Since:
- solr 1.4
-
-
Field Summary
Fields Modifier and Type Field Description List<SolrCore>
cores
List<String>
paths
List<DocRouter.Range>
ranges
String
routeFieldName
DocRouter
router
SolrQueryResponse
rsp
String
splitKey
SolrIndexSplitter.SplitMethod
splitMethod
-
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 SplitIndexCommand(SolrQueryRequest req, SolrQueryResponse rsp, List<String> paths, List<SolrCore> cores, List<DocRouter.Range> ranges, DocRouter router, String routeFieldName, String splitKey, SolrIndexSplitter.SplitMethod splitMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
String
toString()
-
Methods inherited from class org.apache.solr.update.UpdateCommand
clone, getFlags, getReq, getRoute, getVersion, setFlags, setReq, setRoute, setVersion
-
-
-
-
Field Detail
-
rsp
public final SolrQueryResponse rsp
-
ranges
public final List<DocRouter.Range> ranges
-
router
public final DocRouter router
-
routeFieldName
public final String routeFieldName
-
splitKey
public final String splitKey
-
splitMethod
public final SolrIndexSplitter.SplitMethod splitMethod
-
-
Constructor Detail
-
SplitIndexCommand
public SplitIndexCommand(SolrQueryRequest req, SolrQueryResponse rsp, List<String> paths, List<SolrCore> cores, List<DocRouter.Range> ranges, DocRouter router, String routeFieldName, String splitKey, SolrIndexSplitter.SplitMethod splitMethod)
-
-
Method Detail
-
name
public String name()
- Specified by:
name
in classUpdateCommand
-
toString
public String toString()
- Overrides:
toString
in classUpdateCommand
-
-