_beginColumn, _beginLine, _endColumn, _endLine, _filename, _text, CPThreshold
Constructor and Description |
---|
DataOp(String l,
Types.DataType dt,
Types.ValueType vt,
Hop in,
Types.OpOpData dop,
String fname) |
DataOp(String l,
Types.DataType dt,
Types.ValueType vt,
Types.OpOpData dop,
HashMap<String,Hop> params)
READ operation for Matrix / SQL operation for tensor
This constructor supports expressions in parameters
|
DataOp(String l,
Types.DataType dt,
Types.ValueType vt,
Types.OpOpData dop,
Hop in,
HashMap<String,Hop> inputParameters)
WRITE operation for Matrix
This constructor supports expression in parameters
|
DataOp(String l,
Types.DataType dt,
Types.ValueType vt,
Types.OpOpData dop,
String fname,
long dim1,
long dim2,
long nnz,
int blen)
READ operation for Matrix w/ dim1, dim2.
|
DataOp(String l,
Types.DataType dt,
Types.ValueType vt,
Types.OpOpData dop,
String fname,
long dim1,
long dim2,
long nnz,
MatrixObject.UpdateType update,
int blen) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsAllExecTypes() |
void |
checkArity()
Check for N (READ) or N+1 (WRITE) inputs.
|
Object |
clone() |
boolean |
compare(Hop that) |
Lop |
constructLops() |
void |
disableRecompileRead()
Explicitly disables recompilation of transient reads, this additional information
is required because requiresRecompile is set in a top-down manner, hence any value
set from a consuming operating would be overwritten by opFindExecType.
|
String |
getFileName() |
long |
getInputBlocksize() |
Types.FileFormat |
getInputFormatType() |
Types.OpOpData |
getOp() |
String |
getOpString() |
int |
getParameterIndex(String name) |
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 |
isPersistentReadWrite() |
boolean |
isRead() |
boolean |
isWrite() |
void |
refreshSizeInformation()
Update the output size information for this hop.
|
void |
removeInput(String inputName)
Remove an input from the list of inputs and from the parameter index map.
|
void |
setDataOpType(Types.OpOpData type) |
void |
setFileName(String fn) |
void |
setInputBlocksize(long blen) |
void |
setInputFormatType(Types.FileFormat ft) |
void |
setOutputParams(long dim1,
long dim2,
long nnz,
MatrixObject.UpdateType update,
int blen) |
addAllInputs, addInput, checkAndSetForcedPlatform, checkAndSetInvalidCPDimsAndSize, clearMemEstimate, colsKnown, computeBoundsInformation, computeBoundsInformation, computeBoundsInformation, computeMemEstimate, computeSizeInformation, computeSizeInformation, computeSizeInformation, constructAndSetLopsDataFlowProperties, createOffsetLop, dimsKnown, dimsKnown, dimsKnownAny, getBeginColumn, getBeginLine, getBlocksize, getDataCharacteristics, getDataType, getDim, getDim1, getDim2, getEndColumn, getEndLine, getExecType, getFilename, getForcedExecType, getHopID, getInput, getInputMemEstimate, getInputOutputSize, getIntermediateMemEstimate, getLength, getLops, getMemEstimate, getName, getNnz, getOutputMemEstimate, getParent, getPrivacy, getSparsity, getSpBroadcastSize, getText, getUpdateType, getValueType, hasMatrixInputWithDifferentBlocksizes, hasValidCPDimsAndSize, isMatrix, isMemEstimated, isOutputEmptyBlocks, isScalar, isTransposeSafe, isVisited, printErrorLocation, refreshColsParameterInformation, refreshColsParameterInformation, refreshMemEstimates, refreshRowsParameterInformation, refreshRowsParameterInformation, requiresCheckpoint, requiresCompression, requiresLineageCaching, requiresReblock, requiresRecompile, resetExecType, resetRecompilationFlag, resetRecompilationFlag, resetVisitStatus, resetVisitStatus, resetVisitStatus, resetVisitStatusForced, rowsKnown, setBeginColumn, setBeginLine, setBlocksize, setDataType, setDim, setDim1, setDim2, setEndColumn, setEndLine, setFilename, setForcedExecType, setLops, setMemEstimate, setName, setNnz, setOutputEmptyBlocks, setParseInfo, setPrivacy, setRequiresCheckpoint, setRequiresCompression, setRequiresLineageCaching, setRequiresReblock, setRequiresRecompile, setText, setUpdateType, setValueType, setVisited, setVisited
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ctxAndFilenameToParseInfo
public DataOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOpData dop, String fname, long dim1, long dim2, long nnz, int blen)
l
- ?dt
- data typevt
- value typedop
- data operator typefname
- file namedim1
- dimension 1dim2
- dimension 2nnz
- number of non-zerosblen
- rows/cols per blockpublic DataOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOpData dop, String fname, long dim1, long dim2, long nnz, MatrixObject.UpdateType update, int blen)
public DataOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOpData dop, HashMap<String,Hop> params)
l
- ?dt
- data typevt
- value typedop
- data operator typeparams
- input parameterspublic DataOp(String l, Types.DataType dt, Types.ValueType vt, Hop in, Types.OpOpData dop, String fname)
public DataOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOpData dop, Hop in, HashMap<String,Hop> inputParameters)
l
- ?dt
- data typevt
- value typedop
- data operator typein
- high-level operatorinputParameters
- input parameterspublic void checkArity()
checkArity
in class Hop
public Types.OpOpData getOp()
public void setDataOpType(Types.OpOpData type)
public void setOutputParams(long dim1, long dim2, long nnz, MatrixObject.UpdateType update, int blen)
public void setFileName(String fn)
public String getFileName()
public int getParameterIndex(String name)
public boolean isGPUEnabled()
Hop
isGPUEnabled
in class Hop
public Lop constructLops()
constructLops
in class Hop
public void setInputFormatType(Types.FileFormat ft)
public Types.FileFormat getInputFormatType()
public void setInputBlocksize(long blen)
public long getInputBlocksize()
public boolean isRead()
public boolean isWrite()
public boolean isPersistentReadWrite()
public String getOpString()
getOpString
in class Hop
public boolean allowsAllExecTypes()
allowsAllExecTypes
in class Hop
public void refreshSizeInformation()
Hop
refreshSizeInformation
in class Hop
public void disableRecompileRead()
public Object clone() throws CloneNotSupportedException
clone
in class Hop
CloneNotSupportedException
public void removeInput(String inputName)
inputName
- The name of the input to removeCopyright © 2020 The Apache Software Foundation. All rights reserved.