All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addAllInputs(ArrayList<Hop> list) |
void |
addInput(Hop h) |
abstract boolean |
allowsAllExecTypes() |
void |
checkAndSetForcedPlatform() |
void |
checkAndSetInvalidCPDimsAndSize() |
abstract void |
checkArity()
Check whether this Hop has a correct number of inputs.
|
void |
clearMemEstimate() |
abstract Object |
clone() |
boolean |
colsKnown() |
abstract boolean |
compare(Hop that) |
long |
compressedSize() |
double |
computeBoundsInformation(Hop input) |
static double |
computeBoundsInformation(Hop input,
LocalVariableMap vars) |
static double |
computeBoundsInformation(Hop input,
LocalVariableMap vars,
HashMap<Long,Double> memo) |
void |
computeMemEstimate(MemoTable memo)
Computes the estimate of memory required to store the input/output of this hop in memory.
|
static long |
computeSizeInformation(Hop input) |
long |
computeSizeInformation(Hop input,
LocalVariableMap vars) |
long |
computeSizeInformation(Hop input,
LocalVariableMap vars,
HashMap<Long,Long> memo) |
void |
constructAndSetLopsDataFlowProperties() |
abstract Lop |
constructLops() |
static Lop |
createOffsetLop(Hop hop,
boolean repCols) |
boolean |
dimsKnown() |
boolean |
dimsKnown(boolean includeNnz) |
boolean |
dimsKnownAny() |
int |
getBeginColumn() |
int |
getBeginLine() |
int |
getBlocksize() |
long |
getCompressedSize() |
DataCharacteristics |
getDataCharacteristics() |
Types.DataType |
getDataType() |
long |
getDim(int i) |
long |
getDim1() |
long |
getDim2() |
int |
getEndColumn() |
int |
getEndLine() |
Types.ExecType |
getExecType() |
String |
getFilename() |
Types.ExecType |
getForcedExecType() |
long |
getHopID() |
ArrayList<Hop> |
getInput() |
Hop |
getInput(int ix) |
double |
getInputMemEstimate() |
double |
getInputOutputSize(Collection<String> exclVars) |
double |
getIntermediateMemEstimate() |
long |
getLength() |
Lop |
getLops() |
double |
getMemEstimate()
NOTES:
* Purpose: Whenever the output dimensions / sparsity of a hop are unknown, this hop
should store its worst-case output statistics (if known) in that table.
|
String |
getName() |
long |
getNnz() |
abstract String |
getOpString() |
double |
getOutputMemEstimate() |
ArrayList<Hop> |
getParent() |
PrivacyConstraint |
getPrivacy() |
double |
getSparsity() |
double |
getSpBroadcastSize() |
String |
getText() |
MatrixObject.UpdateType |
getUpdateType() |
Types.ValueType |
getValueType() |
boolean |
hasCompressedInput() |
boolean |
hasFederatedOutput() |
boolean |
hasMatrixInputWithDifferentBlocksizes() |
boolean |
hasValidCPDimsAndSize() |
boolean |
isCompressedOutput() |
boolean |
isFederated() |
boolean |
isFederatedOutput() |
abstract boolean |
isGPUEnabled()
In memory-based optimizer mode (see OptimizerUtils.isMemoryBasedOptLevel()),
the exectype is determined by checking this method as well as memory budget of this Hop.
|
boolean |
isMatrix() |
boolean |
isMemEstimated() |
boolean |
isOutputEmptyBlocks() |
boolean |
isRequiredDecompression() |
boolean |
isScalar() |
boolean |
isTransposeSafe()
Defines if this operation is transpose-safe, which means that
the result of op(input) is equivalent to op(t(input)).
|
boolean |
isVisited() |
String |
printErrorLocation() |
void |
refreshColsParameterInformation(Hop input,
LocalVariableMap vars) |
void |
refreshColsParameterInformation(Hop input,
LocalVariableMap vars,
HashMap<Long,Long> memo) |
void |
refreshMemEstimates(MemoTable memo)
Recursively computes memory estimates for all the Hops in the DAG rooted at the
current hop pointed by this .
|
void |
refreshRowsParameterInformation(Hop input,
LocalVariableMap vars) |
void |
refreshRowsParameterInformation(Hop input,
LocalVariableMap vars,
HashMap<Long,Long> memo) |
abstract void |
refreshSizeInformation()
Update the output size information for this hop.
|
boolean |
requiresCheckpoint() |
boolean |
requiresCompression() |
boolean |
requiresLineageCaching() |
boolean |
requiresReblock() |
boolean |
requiresRecompile()
Indicates if dynamic recompilation is required for this hop.
|
void |
resetExecType() |
static void |
resetRecompilationFlag(ArrayList<Hop> hops,
Types.ExecType et,
Recompiler.ResetType reset) |
static void |
resetRecompilationFlag(Hop hops,
Types.ExecType et,
Recompiler.ResetType reset) |
Hop |
resetVisitStatus() |
static void |
resetVisitStatus(ArrayList<Hop> hops) |
static void |
resetVisitStatus(ArrayList<Hop> hops,
boolean force) |
void |
resetVisitStatusForced(HashSet<Long> memo) |
boolean |
rowsKnown() |
void |
setBeginColumn(int passed) |
void |
setBeginLine(int passed) |
void |
setBlocksize(int blen) |
void |
setCompressedOutput(boolean value) |
void |
setCompressedSize(long size) |
void |
setDataType(Types.DataType dt) |
void |
setDim(int i,
long dim) |
void |
setDim1(long dim1) |
void |
setDim2(long dim2) |
void |
setEndColumn(int passed) |
void |
setEndLine(int passed) |
void |
setExecType(Types.ExecType execType) |
void |
setFederatedOutput(FEDInstruction.FederatedOutput federatedOutput) |
void |
setFilename(String passed) |
void |
setForcedExecType(Types.ExecType etype) |
void |
setLops(Lop lops) |
void |
setMemEstimate(double mem)
Sets memory estimate in bytes
|
void |
setName(String _name) |
void |
setNnz(long nnz) |
void |
setOutputEmptyBlocks(boolean flag) |
void |
setParseInfo(ParseInfo parseInfo)
Set parse information.
|
void |
setPrivacy(PrivacyConstraint privacy) |
void |
setRequiresCheckpoint(boolean flag) |
void |
setRequiresCompression() |
void |
setRequiresCompression(AWTreeNode node) |
void |
setRequiresDeCompression() |
void |
setRequiresLineageCaching(boolean flag) |
void |
setRequiresReblock(boolean flag) |
void |
setRequiresRecompile()
Marks the hop for dynamic recompilation.
|
void |
setText(String text) |
void |
setUpdateType(MatrixObject.UpdateType update) |
void |
setValueType(Types.ValueType vt) |
void |
setVisited() |
void |
setVisited(boolean flag) |
boolean |
someInputFederated() |
String |
toString() |