Record Class SingleCellAggregationPayload
java.lang.Object
java.lang.Record
ubic.gemma.core.security.audit.payload.SingleCellAggregationPayload
- All Implemented Interfaces:
AuditEventPayload
public record SingleCellAggregationPayload(String sourceQuantitationType, String singleCellDimension, String mask, List<SingleCellAggregationPayload.AggregatedAssay> aggregatedAssays)
extends Record
implements AuditEventPayload
Structured payload for the
DataAddedEvent written at the end of
SingleCellExpressionExperimentAggregateServiceImpl#aggregateVectors.
Captures the same structured fields the legacy free-form DETAIL
string encoded:
sourceQuantitationType— display string of the source single-cell QT.singleCellDimension— display string of the source single-cell dimension.mask— optional mask token (theconfig.getMask()value if non-null).aggregatedAssays— one entry per aggregated pseudo-bulk assay, carrying the same per-assay metrics (number of cells, design elements, masked cells, library size, library-size adjustment) the legacy detail string encoded.
Phase C bucket 2f — see AUDIT_PHASE_C_RECCE.md §4d.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordPer-assay metrics for an aggregated pseudo-bulk assay.Nested classes/interfaces inherited from interface AuditEventPayload
AuditEventPayload.None -
Constructor Summary
ConstructorsConstructorDescriptionSingleCellAggregationPayload(String sourceQuantitationType, String singleCellDimension, String mask, List<SingleCellAggregationPayload.AggregatedAssay> aggregatedAssays) Creates an instance of aSingleCellAggregationPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregatedAssaysrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mask()Returns the value of themaskrecord component.Returns the value of thesingleCellDimensionrecord component.Returns the value of thesourceQuantitationTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SingleCellAggregationPayload
public SingleCellAggregationPayload(String sourceQuantitationType, String singleCellDimension, @Nullable String mask, List<SingleCellAggregationPayload.AggregatedAssay> aggregatedAssays) Creates an instance of aSingleCellAggregationPayloadrecord class.- Parameters:
sourceQuantitationType- the value for thesourceQuantitationTyperecord componentsingleCellDimension- the value for thesingleCellDimensionrecord componentmask- the value for themaskrecord componentaggregatedAssays- the value for theaggregatedAssaysrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
sourceQuantitationType
Returns the value of thesourceQuantitationTyperecord component.- Returns:
- the value of the
sourceQuantitationTyperecord component
-
singleCellDimension
Returns the value of thesingleCellDimensionrecord component.- Returns:
- the value of the
singleCellDimensionrecord component
-
mask
Returns the value of themaskrecord component.- Returns:
- the value of the
maskrecord component
-
aggregatedAssays
Returns the value of theaggregatedAssaysrecord component.- Returns:
- the value of the
aggregatedAssaysrecord component
-