public abstract class RowTask<T extends Freezable> extends MRTask<RowTask<T>>
Modifier and Type | Class and Description |
---|---|
static class |
RowTask.Row<T extends Freezable> |
static class |
RowTask.RowFunction<T extends Iced> |
_hi, _lo, _runSingleThreaded
_fs, _is_local, _keys, _top_level
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth
Constructor and Description |
---|
RowTask(ValueArray ary) |
Modifier and Type | Method and Description |
---|---|
void |
map(Key key)
Run some useful function over this local key, and
record the results in the this MRTask.
|
abstract void |
map(RowTask.Row r,
T t) |
abstract T |
newRes() |
void |
reduce(RowTask<T> other) |
abstract T |
reduce(T left,
T right) |
T |
result() |
hi, init, lcompute, lo, lonCompletion, memOverheadPerChunk, onExceptionalCompletion
alsoBlockFor, alsoBlockFor, block, clone, compute2, dfork, getFutures, invoke, invokeOnAllNodes, isReleasable, keys, onCompletion, postGlobal, reduceAlsoBlock
copyOver, dinvoke, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFields
compute, priority
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
public RowTask(ValueArray ary)
public void map(Key key)
MRTask
public abstract T newRes()
public abstract void map(RowTask.Row r, T t)
public void reduce(RowTask<T> other)
reduce
in class DRemoteTask<RowTask<T extends Freezable>>
public T result()