public static class Vec.CollectDomain extends MRTask2<Vec.CollectDomain>
_appendables, _fr, _fs, _hi, _left, _lo, _nhi, _nleft, _nrite, _nxx, _rite, _t0, _topLocal
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth
Constructor and Description |
---|
Vec.CollectDomain(Vec v) |
Modifier and Type | Method and Description |
---|---|
void |
copyOver(Freezable that) |
long[] |
domain()
Returns exact numeric domain of given vector computed by this task.
|
void |
map(Chunk ys)
Override with your map implementation.
|
Freezable |
read(AutoBuffer ab)
Deserialize from the AutoBuffer into a pre-existing 'this' object.
|
void |
reduce(Vec.CollectDomain mrt)
Override to combine results from 'mrt' into 'this' MRTask2.
|
protected void |
setupLocal()
Override to do any remote initialization on the 1st remote instance of
this object, for initializing node-local shared data structures.
|
AutoBuffer |
write(AutoBuffer ab)
Serialize the 'this' object into the AutoBuffer, returning the AutoBuffer.
|
asyncExec, asyncExec, asyncExec, block, clone, closeLocal, compute2, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, exec, exec, exec, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, priority, profString, reduce4, vecs
frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, setException, toDocField, writeJSONFields
compute
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 Vec.CollectDomain(Vec v)
protected void setupLocal()
MRTask2
setupLocal
in class MRTask2<Vec.CollectDomain>
public void map(Chunk ys)
MRTask2
map
in class MRTask2<Vec.CollectDomain>
public void reduce(Vec.CollectDomain mrt)
MRTask2
reduce
in class MRTask2<Vec.CollectDomain>
public AutoBuffer write(AutoBuffer ab)
Freezable
public Freezable read(AutoBuffer ab)
Freezable
public long[] domain()