T
- public abstract class ContributionsWithBackgroundFrameTask<T extends ContributionsWithBackgroundFrameTask<T>>
extends water.MRTask<T>
Constructor and Description |
---|
ContributionsWithBackgroundFrameTask(water.Key<water.fvec.Frame> frKey,
water.Key<water.fvec.Frame> backgroundFrameKey,
boolean perReference) |
Modifier and Type | Method and Description |
---|---|
static boolean |
enoughMinMemory(double estimatedMemory) |
static double |
estimatePerNodeMinimalMemory(int nCols,
water.fvec.Frame frame,
water.fvec.Frame backgroundFrame) |
static double |
estimateRequiredMemory(int nCols,
water.fvec.Frame frame,
water.fvec.Frame backgroundFrame) |
protected void |
loadFrames() |
protected abstract void |
map(water.fvec.Chunk[] cs,
water.fvec.Chunk[] bgCs,
water.fvec.NewChunk[] ncs) |
void |
map(water.fvec.Chunk[] cs,
water.fvec.NewChunk[] ncs) |
static long |
minMemoryPerNode() |
water.fvec.Frame |
runAndGetOutput(water.Job j,
water.Key<water.fvec.Frame> destinationKey,
java.lang.String[] names) |
static long |
totalFreeMemory() |
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, reduce, self, setupLocal, withPostMapAction
copyOver, getDException, hasException, logVerbose, onAck, onAckAck, setException
asBytes, clone, compute, compute1, currThrPriority, frozenType, icer, priority, read, readJSON, reloadFromBytes, write, writeJSON
__tryComplete, addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete
adapt, 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, tryUnfork
public ContributionsWithBackgroundFrameTask(water.Key<water.fvec.Frame> frKey, water.Key<water.fvec.Frame> backgroundFrameKey, boolean perReference)
protected void loadFrames()
public void map(water.fvec.Chunk[] cs, water.fvec.NewChunk[] ncs)
map
in class water.MRTask<T extends ContributionsWithBackgroundFrameTask<T>>
public static double estimateRequiredMemory(int nCols, water.fvec.Frame frame, water.fvec.Frame backgroundFrame)
public static double estimatePerNodeMinimalMemory(int nCols, water.fvec.Frame frame, water.fvec.Frame backgroundFrame)
public static long minMemoryPerNode()
public static long totalFreeMemory()
public static boolean enoughMinMemory(double estimatedMemory)
protected abstract void map(water.fvec.Chunk[] cs, water.fvec.Chunk[] bgCs, water.fvec.NewChunk[] ncs)
public water.fvec.Frame runAndGetOutput(water.Job j, water.Key<water.fvec.Frame> destinationKey, java.lang.String[] names)