Package org.apache.solr.analytics.util
Class OldAnalyticsRequestConverter
- java.lang.Object
-
- org.apache.solr.analytics.util.OldAnalyticsRequestConverter
-
- All Implemented Interfaces:
OldAnalyticsParams
public class OldAnalyticsRequestConverter extends Object implements OldAnalyticsParams
Converts Analytics Requests in the old olap-style format to the new format.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.util.OldAnalyticsParams
OldAnalyticsParams.FieldFacetParamParser, OldAnalyticsParams.RangeFacetParamParser
-
-
Field Summary
-
Fields inherited from interface org.apache.solr.analytics.util.OldAnalyticsParams
DEFAULT_ABBREVIATE_PREFIX, END, FIELD_FACET, GAP, HARDEND, INCLUDE_BOUNDARY, LIMIT, OFFSET, OLAP_SORT_EXPRESSION, OLD_ANALYTICS, OLD_EXPRESSION, OLD_PREFIX, OTHER_RANGE, QUERY, QUERY_FACET, RANGE_FACET, SHOW_MISSING, SORT_DIRECTION, SORT_EXPRESSION, START, VALUE_FACET
-
-
Constructor Summary
Constructors Constructor Description OldAnalyticsRequestConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnalyticsRequestParser.AnalyticsRequest
convert(org.apache.solr.common.params.SolrParams params)
Convert the old olap-style Analytics Request in the given params to an analytics request string using the current format.
-
-
-
Method Detail
-
convert
public static AnalyticsRequestParser.AnalyticsRequest convert(org.apache.solr.common.params.SolrParams params)
Convert the old olap-style Analytics Request in the given params to an analytics request string using the current format.- Parameters:
params
- to find the analytics request in- Returns:
- an analytics request string
-
-