Package org.apache.solr.handler.admin
Class SegmentsInfoRequestHandler
- java.lang.Object
-
- org.apache.solr.handler.RequestHandlerBase
-
- org.apache.solr.handler.admin.SegmentsInfoRequestHandler
-
- All Implemented Interfaces:
AutoCloseable,ApiSupport,SolrInfoBean,NestedRequestHandler,SolrMetricProducer,SolrRequestHandler,PermissionNameProvider
public class SegmentsInfoRequestHandler extends RequestHandlerBase
This handler exposes information about last commit generation segments
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.handler.RequestHandlerBase
RequestHandlerBase.HandlerMetrics
-
Nested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProvider
PermissionNameProvider.Name
-
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group
-
-
Field Summary
Fields Modifier and Type Field Description static StringCORE_INFO_PARAMstatic StringFIELD_INFO_PARAMstatic StringRAW_SIZE_DETAILS_PARAMstatic StringRAW_SIZE_PARAMstatic StringRAW_SIZE_SAMPLING_PERCENT_PARAMstatic StringRAW_SIZE_SUMMARY_PARAMstatic StringSIZE_INFO_PARAM-
Fields inherited from class org.apache.solr.handler.RequestHandlerBase
appends, defaults, httpCaching, initArgs, invariants, metrics, solrMetricsContext
-
Fields inherited from interface org.apache.solr.security.PermissionNameProvider
ANY, NULL, values
-
Fields inherited from interface org.apache.solr.request.SolrRequestHandler
TYPE
-
-
Constructor Summary
Constructors Constructor Description SegmentsInfoRequestHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrInfoBean.CategorygetCategory()Category of this componentStringgetDescription()Simple one or two line descriptionPermissionNameProvider.NamegetPermissionName(AuthorizationContext request)voidhandleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)-
Methods inherited from class org.apache.solr.handler.RequestHandlerBase
getApis, getInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, setPluginInfo
-
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.api.ApiSupport
registerV1, registerV2
-
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close
-
-
-
-
Field Detail
-
FIELD_INFO_PARAM
public static final String FIELD_INFO_PARAM
- See Also:
- Constant Field Values
-
CORE_INFO_PARAM
public static final String CORE_INFO_PARAM
- See Also:
- Constant Field Values
-
SIZE_INFO_PARAM
public static final String SIZE_INFO_PARAM
- See Also:
- Constant Field Values
-
RAW_SIZE_PARAM
public static final String RAW_SIZE_PARAM
- See Also:
- Constant Field Values
-
RAW_SIZE_SUMMARY_PARAM
public static final String RAW_SIZE_SUMMARY_PARAM
- See Also:
- Constant Field Values
-
RAW_SIZE_DETAILS_PARAM
public static final String RAW_SIZE_DETAILS_PARAM
- See Also:
- Constant Field Values
-
RAW_SIZE_SAMPLING_PERCENT_PARAM
public static final String RAW_SIZE_SAMPLING_PERCENT_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleRequestBody
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Specified by:
handleRequestBodyin classRequestHandlerBase- Throws:
Exception
-
getDescription
public String getDescription()
Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
getDescriptionin interfaceSolrInfoBean- Specified by:
getDescriptionin classRequestHandlerBase
-
getCategory
public SolrInfoBean.Category getCategory()
Description copied from interface:SolrInfoBeanCategory of this component- Specified by:
getCategoryin interfaceSolrInfoBean- Overrides:
getCategoryin classRequestHandlerBase
-
getPermissionName
public PermissionNameProvider.Name getPermissionName(AuthorizationContext request)
-
-