Package org.apache.solr.analytics
Class AnalyticsRequestParser
- java.lang.Object
-
- org.apache.solr.analytics.AnalyticsRequestParser
-
public class AnalyticsRequestParser extends Object
Class to manage the parsing of new-style analytics requests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnalyticsRequestParser.AnalyticsExpressionSortRequest
static interface
AnalyticsRequestParser.AnalyticsFacetRequest
static class
AnalyticsRequestParser.AnalyticsFacetValueSortRequest
static class
AnalyticsRequestParser.AnalyticsGroupingRequest
static class
AnalyticsRequestParser.AnalyticsPivotFacetRequest
static class
AnalyticsRequestParser.AnalyticsPivotRequest
static class
AnalyticsRequestParser.AnalyticsQueryFacetRequest
static class
AnalyticsRequestParser.AnalyticsRangeFacetRequest
static class
AnalyticsRequestParser.AnalyticsRequest
static class
AnalyticsRequestParser.AnalyticsSortCriteriaRequest
static class
AnalyticsRequestParser.AnalyticsSortRequest
static class
AnalyticsRequestParser.AnalyticsValueFacetRequest
-
Field Summary
Fields Modifier and Type Field Description static String
analyticsParamName
static boolean
DEFAULT_HARDEND
static int
DEFAULT_LIMIT
static int
DEFAULT_OFFSET
static String
DEFAULT_SORT_DIRECTION
-
Constructor Summary
Constructors Constructor Description AnalyticsRequestParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
init()
static AnalyticsRequestManager
parse(String rawRequest, ExpressionFactory expressionFactory, boolean isDistribRequest)
static AnalyticsRequestManager
parse(AnalyticsRequestParser.AnalyticsRequest request, ExpressionFactory expressionFactory, boolean isDistribRequest)
-
-
-
Field Detail
-
analyticsParamName
public static final String analyticsParamName
- See Also:
- Constant Field Values
-
DEFAULT_SORT_DIRECTION
public static final String DEFAULT_SORT_DIRECTION
- See Also:
- Constant Field Values
-
DEFAULT_OFFSET
public static final int DEFAULT_OFFSET
- See Also:
- Constant Field Values
-
DEFAULT_LIMIT
public static final int DEFAULT_LIMIT
- See Also:
- Constant Field Values
-
DEFAULT_HARDEND
public static final boolean DEFAULT_HARDEND
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public static void init()
-
parse
public static AnalyticsRequestManager parse(AnalyticsRequestParser.AnalyticsRequest request, ExpressionFactory expressionFactory, boolean isDistribRequest) throws org.apache.solr.common.SolrException
- Throws:
org.apache.solr.common.SolrException
-
parse
public static AnalyticsRequestManager parse(String rawRequest, ExpressionFactory expressionFactory, boolean isDistribRequest) throws org.apache.solr.common.SolrException
- Throws:
org.apache.solr.common.SolrException
-
-