public static class AstStratifiedSplit.ClassIdxTask extends MRTask<AstStratifiedSplit.ClassIdxTask>
MRTask.PostMapAction<T extends MRTask.PostMapAction<T>>DTask.DKeyTask<T extends DTask.DKeyTask,V extends Keyed>, DTask.RemoveCall| Constructor and Description |
|---|
ClassIdxTask(int nclasses,
long[] classes) |
| Modifier and Type | Method and Description |
|---|---|
void |
map(Chunk[] ck)
Override with your map implementation.
|
void |
reduce(AstStratifiedSplit.ClassIdxTask c)
Override to combine results from 'mrt' into 'this' MRTask.
|
protected void |
setupLocal()
Override to do any remote initialization on the 1st remote instance of
this object, for initializing node-local shared data structures.
|
appendables, asyncExecOnAllNodes, block, closeLocal, compute2, dfork, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAllNodes, getResult, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, modifiesVolatileVecs, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, profile, profString, self, withPostMapActioncopyOver, getDException, hasException, logVerbose, onAck, onAckAck, setExceptionasBytes, clone, compute, compute1, currThrPriority, frozenType, icer, priority, read, readJSON, reloadFromBytes, write, writeJSON__tryComplete, addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, 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, tryUnforkprotected void setupLocal()
MRTasksetupLocal in class MRTask<AstStratifiedSplit.ClassIdxTask>public void map(Chunk[] ck)
MRTaskmap in class MRTask<AstStratifiedSplit.ClassIdxTask>public void reduce(AstStratifiedSplit.ClassIdxTask c)
MRTaskreduce in class MRTask<AstStratifiedSplit.ClassIdxTask>