Record Class Statistic
java.lang.Object
java.lang.Record
com.atlassian.jira.search.aggregation.twodimensional.Statistic
- Record Components:
value- the loaded value of the fieldcount- the count of the field
Holder for statistics for a value containing the stored/indexed key value, the loaded value and it's count.
- Since:
- 10.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcount()Returns the value of thecountrecord component.booleanCompares the values stored on theStatisticfor equality.inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
Method Details
-
equals
Compares the values stored on theStatisticfor equality. -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
count
public long count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-