Package org.apache.solr.handler.admin
Class InstallCoreDataOp
- java.lang.Object
-
- org.apache.solr.handler.admin.InstallCoreDataOp
-
- All Implemented Interfaces:
CoreAdminHandler.CoreAdminOp
public class InstallCoreDataOp extends Object implements CoreAdminHandler.CoreAdminOp
v1 shim implementation of the "Install Core Data" API, a core-admin API used to implement the "Install Shard Data" Collection-Admin functionalityConverts v1-style query parameters into a v2-style request body and delegating to
InstallCoreData
.
-
-
Constructor Summary
Constructors Constructor Description InstallCoreDataOp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(CoreAdminHandler.CallInfo it)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.handler.admin.CoreAdminHandler.CoreAdminOp
isExpensive
-
-
-
-
Method Detail
-
execute
public void execute(CoreAdminHandler.CallInfo it) throws Exception
- Specified by:
execute
in interfaceCoreAdminHandler.CoreAdminOp
- Parameters:
it
- request/response objectIf the request is invalid throw a SolrException with SolrException.ErrorCode.BAD_REQUEST ( 400 ) If the execution of the command fails throw a SolrException with SolrException.ErrorCode.SERVER_ERROR ( 500 )
Any non-SolrException's are wrapped at a higher level as a SolrException with SolrException.ErrorCode.SERVER_ERROR.
- Throws:
Exception
-
-