Class ResultSetCountsValueObject

java.lang.Object
ubic.gemma.model.analysis.expression.diff.ResultSetCountsValueObject
All Implemented Interfaces:
Serializable

public final class ResultSetCountsValueObject extends Object implements Serializable
Cacheable, immutable snapshot of the per-result-set hit-list counts displayed by DiffExResultSetSummaryValueObject.

Keyed by result-set id in DifferentialExpressionResultCache so the per-resultSet enrichment in DifferentialExpressionAnalysisReadServiceImpl#findByExperimentIds can skip the Hibernate.initialize(resultSet.getHitListSizes()) call when warm. The shape mirrors the count fields populated from HitListSize rows at the default q-value threshold.

See Also:
  • Constructor Details

    • ResultSetCountsValueObject

      public ResultSetCountsValueObject(@Nullable Integer numberOfGenesAnalyzed, @Nullable Integer numberOfProbesAnalyzed, @Nullable Double threshold, @Nullable Integer numberOfDiffExpressedProbes, @Nullable Integer upregulatedCount, @Nullable Integer downregulatedCount)
  • Method Details

    • getNumberOfGenesAnalyzed

      @Nullable public Integer getNumberOfGenesAnalyzed()
    • getNumberOfProbesAnalyzed

      @Nullable public Integer getNumberOfProbesAnalyzed()
    • getThreshold

      @Nullable public Double getThreshold()
    • getNumberOfDiffExpressedProbes

      @Nullable public Integer getNumberOfDiffExpressedProbes()
    • getUpregulatedCount

      @Nullable public Integer getUpregulatedCount()
    • getDownregulatedCount

      @Nullable public Integer getDownregulatedCount()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object