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 Map<String,String>
commitData
User provided commit data.List<SolrCore>
cores
List<String>
paths
List<org.apache.solr.common.cloud.DocRouter.Range>
ranges
String
routeFieldName
org.apache.solr.common.cloud.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<org.apache.solr.common.cloud.DocRouter.Range> ranges, org.apache.solr.common.cloud.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, getTracer, getVersion, setFlags, setReq, setRoute, setVersion
-
-
-
-
Field Detail
-
rsp
public final SolrQueryResponse rsp
-
ranges
public final List<org.apache.solr.common.cloud.DocRouter.Range> ranges
-
router
public final org.apache.solr.common.cloud.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<org.apache.solr.common.cloud.DocRouter.Range> ranges, org.apache.solr.common.cloud.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
-
-