Apache REEF  0.16.0
Retainable Evaluator Execution Framework
Static Public Member Functions | Properties | List of all members
Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult > Class Template Reference

Represents the output of an IUpdateFunction. More...

Static Public Member Functions

static UpdateResult< TMapInput, TResult > Done (TResult result)
 Indicate that the IMRU job is done. More...
 
static UpdateResult< TMapInput, TResult > AnotherRound (TMapInput mapInput)
 Indicate that another round of computation is needed. More...
 
static UpdateResult< TMapInput, TResult > AnotherRound (TMapInput mapInput, TResult intermediateResult)
 Indicate another round and produce some intermediate results. More...
 

Properties

bool IsDone [get]
 
bool IsNotDone [get]
 
bool HasMapInput [get]
 
bool HasResult [get]
 
TMapInput MapInput [get]
 
TResult Result [get]
 

Detailed Description

Represents the output of an IUpdateFunction.

See also
IUpdateFunction<TMapInput,TMapOutput,TResult>
Template Parameters
TMapInput
TResult

Member Function Documentation

◆ AnotherRound() [1/2]

static UpdateResult<TMapInput, TResult> Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.AnotherRound ( TMapInput  mapInput)
inlinestatic

Indicate that another round of computation is needed.

Parameters
mapInputThe input to the IMapFunction.Map() method.
Returns

◆ AnotherRound() [2/2]

static UpdateResult<TMapInput, TResult> Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.AnotherRound ( TMapInput  mapInput,
TResult  intermediateResult 
)
inlinestatic

Indicate another round and produce some intermediate results.

Parameters
mapInputThe input to the IMapFunction.Map() method.
intermediateResultThe intermediate results.
Returns

◆ Done()

static UpdateResult<TMapInput, TResult> Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.Done ( TResult  result)
inlinestatic

Indicate that the IMRU job is done.

Parameters
resultThe result of the job.
Returns

Property Documentation

◆ HasMapInput

bool Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.HasMapInput
get

◆ HasResult

bool Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.HasResult
get

◆ IsDone

bool Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.IsDone
get

◆ IsNotDone

bool Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.IsNotDone
get

◆ MapInput

TMapInput Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.MapInput
get

◆ Result

TResult Org.Apache.REEF.IMRU.API.UpdateResult< TMapInput, TResult >.Result
get

The documentation for this class was generated from the following file: