Class TwoDimensionalStatsMap
java.lang.Object
com.atlassian.jira.lucene.internal.issue.statistics.TwoDimensionalStatsMap
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionTwoDimensionalStatsMap(StatisticsMapper xAxisMapper, StatisticsMapper yAxisMapper) Deprecated, for removal: This API element is subject to removal in a future version.TwoDimensionalStatsMap(StatisticsMapper xAxisMapper, StatisticsMapper yAxisMapper, StatisticGatherer statisticGatherer) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustMapForIrrelevantValues(JiraBytesRef[] xAxisValues, boolean xIrrelevant, JiraBytesRef[] yAxisValues, boolean yIrrelevant, int incrementValue) Deprecated, for removal: This API element is subject to removal in a future version.Used to keep track of the irrelevant counts for the issues returned for this 2D stats map.voidadjustMapForValues(JiraBytesRef[] xAxisValues, JiraBytesRef[] yAxisValues, int value) Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.IfhasIrrelevantXData()is true andhasIrrelevantYData()is true then we need to know the total where both axis are irrelevant.intgetCoordinate(Object xAxis, Object yAxis) Deprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.Returns the value of all unique issues identified within this StatsMap.getXAxis()Deprecated, for removal: This API element is subject to removal in a future version.intgetXAxisIrrelevantTotal(Object yAxis) Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of irrelevant issues for the X axis contained in the column identified by yAxis.Deprecated, for removal: This API element is subject to removal in a future version.intgetXAxisUniqueTotal(Object xAxis) Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of unique issues contained in the column identified by xAxis.getYAxis()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getYAxis(Comparator comp) Deprecated, for removal: This API element is subject to removal in a future version.intgetYAxisIrrelevantTotal(Object xAxis) Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of irrelevant issues for the Y axis contained in the column identified by xAxis.Deprecated, for removal: This API element is subject to removal in a future version.intgetYAxisUniqueTotal(Object yAxis) Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of unique issues contained in the column identified by xAxis.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
TOTAL_ORDER
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
NATURAL_ORDER
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DESC
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
ASC
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
TwoDimensionalStatsMap
public TwoDimensionalStatsMap(StatisticsMapper xAxisMapper, StatisticsMapper yAxisMapper, StatisticGatherer statisticGatherer) Deprecated, for removal: This API element is subject to removal in a future version. -
TwoDimensionalStatsMap
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getXAxis
Deprecated, for removal: This API element is subject to removal in a future version. -
getYAxis
Deprecated, for removal: This API element is subject to removal in a future version. -
getYAxis
Deprecated, for removal: This API element is subject to removal in a future version. -
getYAxis
Deprecated, for removal: This API element is subject to removal in a future version. -
getCoordinate
Deprecated, for removal: This API element is subject to removal in a future version. -
getyAxisMapper
Deprecated, for removal: This API element is subject to removal in a future version. -
getxAxisMapper
Deprecated, for removal: This API element is subject to removal in a future version. -
getXAxisUniqueTotal
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of unique issues contained in the column identified by xAxis.- Parameters:
xAxis- identifies the column who's total is requested, null is valid.- Returns:
- number of unique issues for the identified column.
-
getYAxisUniqueTotal
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of unique issues contained in the column identified by xAxis.- Parameters:
yAxis- identifies the row who's total is requested, null is valid.- Returns:
- number of unique issues for the identified row.
-
getXAxisIrrelevantTotal
Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of irrelevant issues for the X axis contained in the column identified by yAxis.The X axis values is implied by the method, it is the Irrelevant ones, the Y axis identifies which irrelevant X count we are after.
- Parameters:
yAxis- identifies the column who's total is requested, null is valid.- Returns:
- number of number of irrelevant issues for the identified column/row.
-
getYAxisIrrelevantTotal
Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of irrelevant issues for the Y axis contained in the column identified by xAxis.The Y axis values is implied by the method, it is the Irrelevant ones, the X axis identifies which irrelevant Y count we are after.
- Parameters:
xAxis- identifies the column who's total is requested, null is valid.- Returns:
- number of number of irrelevant issues for the identified column/row.
-
getBothIrrelevant
public int getBothIrrelevant()Deprecated, for removal: This API element is subject to removal in a future version.IfhasIrrelevantXData()is true andhasIrrelevantYData()is true then we need to know the total where both axis are irrelevant. This method will return that count.- Returns:
- the number of issues that have both X and Y irrelevant data.
-
hasIrrelevantXData
public boolean hasIrrelevantXData()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- true if the results contain irrelevant data for the X axis stat type.
-
hasIrrelevantYData
public boolean hasIrrelevantYData()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- true if the results contain irrelevant data for the Y axis stat type.
-
getUniqueTotal
public long getUniqueTotal()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of all unique issues identified within this StatsMap.- Returns:
- number of unique issues identified within this StatsMap.
-
adjustMapForIrrelevantValues
public void adjustMapForIrrelevantValues(JiraBytesRef[] xAxisValues, boolean xIrrelevant, JiraBytesRef[] yAxisValues, boolean yIrrelevant, int incrementValue) Deprecated, for removal: This API element is subject to removal in a future version.Used to keep track of the irrelevant counts for the issues returned for this 2D stats map.- Parameters:
xAxisValues- null or the relevant X values for an issuexIrrelevant- true if the X field is not visible for the issue we are recording stats for, false otherwiseyAxisValues- null or the relevant Y values for an issueyIrrelevant- true if the Y field is not visible for the issue we are recording stats for, false otherwiseincrementValue- the value to increment the counts by, seems to always be 1, perhaps someone once thought we would do otherwise.
-
adjustMapForValues
Deprecated, for removal: This API element is subject to removal in a future version.
-