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 TypeMethodDescriptionlong
count()
Returns the value of thecount
record component.boolean
Compares the values stored on theStatistic
for equality.int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.value()
Returns the value of thevalue
record component.
-
Constructor Details
-
Method Details
-
equals
Compares the values stored on theStatistic
for 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 thevalue
record component.- Returns:
- the value of the
value
record component
-
count
public long count()Returns the value of thecount
record component.- Returns:
- the value of the
count
record component
-