Table of Contents

Class EvalResult<TAccumulator>

Namespace
Scaleout.Modules.Abstractions
Assembly
Scaleout.Modules.Abstractions.dll

Result returned from a ParallelApiProcessor.Eval implementation.

public class EvalResult<TAccumulator>

Type Parameters

TAccumulator
Inheritance
EvalResult<TAccumulator>
Inherited Members

Constructors

EvalResult(ProcessingResult, TAccumulator)

Initializes a new instance of the EvalResult<TAccumulator> class, representing the result of an parallel API Eval operation.

public EvalResult(ProcessingResult processingResult, TAccumulator result)

Parameters

processingResult ProcessingResult

Indicates whether modifications to the sossObject parameter should be persisted or whether the object should be removed. Use NoUpdate to indicate that the sossObject instance was not modified and does not need to be updated in the ScaleOut service. NoUpdate should not be used if the object was modified in any way. If you are unsure of whether the sossObject was modified, use DoUpdate.

result TAccumulator

Accumulated result for the current parallel operation.

Properties

ProcessingResult

Indicates whether modifications to the sossObject parameter should be persisted or whether the object should be removed.

public ProcessingResult ProcessingResult { get; init; }

Property Value

ProcessingResult

Remarks

Set to NoUpdate to indicate that the sossObject instance was not modified and does not need to be updated in the ScaleOut service. NoUpdate should not be used if the object was modified in any way. If you are unsure of whether the sossObject was modified, set to DoUpdate.

Result

Accumulated result object.

public TAccumulator Result { get; }

Property Value

TAccumulator