public class ParForStatementBlock extends ForStatementBlock
Modifier and Type | Class and Description |
---|---|
static class |
ParForStatementBlock.ResultVar |
Modifier and Type | Field and Description |
---|---|
static String |
CHECK |
static String |
DATA_PARTITIONER |
static String |
EXEC_MODE |
static String |
INTERAL_FN_INDEX_COL |
static String |
INTERAL_FN_INDEX_ROW |
static String |
OPT_LOG |
static String |
OPT_MODE |
static String |
PAR |
static String |
PROFILE |
static String |
RESULT_MERGE |
static String |
TASK_PARTITIONER |
static String |
TASK_SIZE |
Constructor and Description |
---|
ParForStatementBlock() |
Modifier and Type | Method and Description |
---|---|
ParForProgramBlock.PartitionFormat |
determineDataPartitionFormat(String var)
Determines the PDataPartitioningFormat for read-only parent variables according
to the access pattern of that variable within the parfor statement block.
|
long |
getID() |
List<String> |
getReadOnlyParentMatrixVars() |
ArrayList<ParForStatementBlock.ResultVar> |
getResultVariables() |
VariableSet |
validate(DMLProgram dmlProg,
VariableSet ids,
HashMap<String,ConstIdentifier> constVars,
boolean conditional) |
analyze, getFromHops, getFromLops, getIncrementHops, getIncrementLops, getInputstoSB, getIterPredicate, getToHops, getToLops, initializebackwardLV, initializeforwardLV, performConstantPropagation, requiresFromRecompilation, requiresIncrementRecompilation, requiresToRecompilation, setFromHops, setFromLops, setIncrementHops, setIncrementLops, setToHops, setToLops, updatePredicateRecompilationFlags
addStatement, addStatementBlock, getBeginColumn, getBeginLine, getConstIn, getConstOut, getDMLProg, getEndColumn, getEndLine, getFilename, getHops, getLops, getName, getNumStatements, getOutputNamesofSB, getOutputsofSB, getSBID, getStatement, getStatements, getText, getUpdateInPlaceVars, isMergeableFunctionCallBlock, isNondeterministic, isRewritableFunctionCall, isSplitDag, mergeable, mergeFunctionCalls, mergeStatementBlocks, printBlockErrorLocation, printErrorLocation, printWarningLocation, raiseValidateError, raiseValidateError, requiresRecompilation, rewriteFunctionCallStatements, rHoistFunctionCallsFromExpressions, rHoistFunctionCallsFromExpressions, rHoistFunctionCallsFromExpressions, setBeginColumn, setBeginLine, setDMLProg, setEndColumn, setEndLine, setFilename, setHops, setLops, setNondeterministic, setParseInfo, setSplitDag, setStatementFormatType, setStatementFormatType, setStatements, setText, setUpdateInPlaceVars, toString, updateRecompilationFlag
getGen, getKill, getWarn, liveIn, liveOut, setGen, setKill, setLiveIn, setLiveOut, setReadVariables, setUpdatedVariables, updateLiveVariablesOut, variablesRead, variablesUpdated
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
ctxAndFilenameToParseInfo
public static final String CHECK
public static final String PAR
public static final String TASK_PARTITIONER
public static final String TASK_SIZE
public static final String DATA_PARTITIONER
public static final String RESULT_MERGE
public static final String EXEC_MODE
public static final String OPT_MODE
public static final String OPT_LOG
public static final String PROFILE
public static final String INTERAL_FN_INDEX_ROW
public static final String INTERAL_FN_INDEX_COL
public long getID()
public ArrayList<ParForStatementBlock.ResultVar> getResultVariables()
public VariableSet validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)
validate
in class ForStatementBlock
public ParForProgramBlock.PartitionFormat determineDataPartitionFormat(String var)
var
- variablesCopyright © 2020 The Apache Software Foundation. All rights reserved.