Class AggregateUnarySPInstruction
- java.lang.Object
-
- org.apache.sysds.runtime.instructions.Instruction
-
- org.apache.sysds.runtime.instructions.spark.SPInstruction
-
- org.apache.sysds.runtime.instructions.spark.ComputationSPInstruction
-
- org.apache.sysds.runtime.instructions.spark.UnarySPInstruction
-
- org.apache.sysds.runtime.instructions.spark.AggregateUnarySPInstruction
-
- All Implemented Interfaces:
LineageTraceable
- Direct Known Subclasses:
CumulativeAggregateSPInstruction
public class AggregateUnarySPInstruction extends UnarySPInstruction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregateUnarySPInstruction.RDDUAggFunction2
Similar to RDDUAggFunction but single output block.static class
AggregateUnarySPInstruction.RDDUTensorAggFunction2
Similar to RDDUAggFunction but single output block.-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.spark.SPInstruction
SPInstruction.SPType
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.Instruction
Instruction.IType
-
-
Field Summary
-
Fields inherited from class org.apache.sysds.runtime.instructions.spark.ComputationSPInstruction
input1, input2, input3, output
-
Fields inherited from class org.apache.sysds.runtime.instructions.Instruction
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AggBinaryOp.SparkAggType
getAggType()
static AggregateUnarySPInstruction
parseInstruction(String str)
void
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.-
Methods inherited from class org.apache.sysds.runtime.instructions.spark.ComputationSPInstruction
checkpointRDD, getLineageItem, getOutputVariableName
-
Methods inherited from class org.apache.sysds.runtime.instructions.spark.SPInstruction
getGraphString, getSPInstructionType, getType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate
-
Methods inherited from class org.apache.sysds.runtime.instructions.Instruction
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setPrivacyConstraint, setPrivacyConstraint, toString, updateInstructionThreadID
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sysds.runtime.lineage.LineageTraceable
getLineageItems, hasSingleLineage
-
-
-
-
Method Detail
-
parseInstruction
public static AggregateUnarySPInstruction parseInstruction(String str)
-
processInstruction
public void processInstruction(ExecutionContext ec)
Description copied from class:Instruction
This method should be used to execute the instruction.- Specified by:
processInstruction
in classSPInstruction
- Parameters:
ec
- execution context
-
getAggType
public AggBinaryOp.SparkAggType getAggType()
-
-