public class AnalyticsDrillDownRequest extends Object implements Serializable
| Constructor and Description |
|---|
AnalyticsDrillDownRequest() |
AnalyticsDrillDownRequest(String tableName,
Map<String,List<String>> categoryPaths,
String rangeField,
List<AnalyticsDrillDownRange> ranges,
String query,
String scoreFunction,
int recordCount,
List<SortByField> sortByFields,
int recordStart) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCategoryPath(String field,
List<String> categoryPath)
Adds a facets to existing list of facets.
|
Map<String,List<String>> |
getCategoryPaths()
returns the list of Facets being queried.
|
String |
getQuery()
Returns the query expression.
|
String |
getRangeField() |
List<AnalyticsDrillDownRange> |
getRanges() |
int |
getRecordCount()
Returns the number of maximum records per a child facet in each facet field in drilldown result.
|
int |
getRecordStartIndex() |
String |
getScoreFunction()
Returns the Scoring function.
|
List<SortByField> |
getSortByFields() |
String |
getTableName() |
void |
setCategoryPaths(Map<String,List<String>> categoryPaths)
Sets the facets.
|
void |
setQuery(String query)
Sets the query expression in lucene or regex.
|
void |
setRangeField(String rangeField) |
void |
setRanges(List<AnalyticsDrillDownRange> ranges) |
void |
setRecordCount(int recordCount)
Sets the maximum number of records that can be there in a child facet in a facet field of result.
|
void |
setRecordStartIndex(int recordStart)
Set the starting index of the records under each cateogry
|
void |
setScoreFunction(String score)
Sets the score function.
|
void |
setSortByFields(List<SortByField> sortByFields) |
void |
setTableName(String tableName)
Sets the table Name.
|
public String getTableName()
public void setTableName(String tableName)
tableName - name of the tablepublic Map<String,List<String>> getCategoryPaths()
public void setCategoryPaths(Map<String,List<String>> categoryPaths)
categoryPaths - list of facetspublic void addCategoryPath(String field, List<String> categoryPath)
categoryPath - the facet object being insertedpublic String getScoreFunction()
public void setScoreFunction(String score)
score - the score functionpublic String getQuery()
public void setQuery(String query)
query - public int getRecordCount()
public void setRecordCount(int recordCount)
recordCount - The maximum number of records in achild facet.Default value is 0, if not setpublic int getRecordStartIndex()
public void setRecordStartIndex(int recordStart)
recordStart - 0 based indexpublic List<AnalyticsDrillDownRange> getRanges()
public void setRanges(List<AnalyticsDrillDownRange> ranges)
public String getRangeField()
public void setRangeField(String rangeField)
public List<SortByField> getSortByFields()
public void setSortByFields(List<SortByField> sortByFields)
Copyright © 2016 WSO2. All rights reserved.