Enum OperatorType
- java.lang.Object
- 
- java.lang.Enum<OperatorType>
- 
- org.apache.sysds.runtime.privacy.propagation.OperatorType
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<OperatorType>
 
 public enum OperatorType extends Enum<OperatorType> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description AggregateNonAggregate
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static OperatorTypegetAggregationType(AggregateBinaryCPInstruction inst, ExecutionContext ec)Returns the operator type of AggregateBinaryCPInstruction based on the input data characteristics and the transpose.static OperatorTypegetAggregationType(MMChainCPInstruction inst, ExecutionContext ec)Returns the operator type of MMChainCPInstruction based on the input data characteristics.static OperatorTypegetAggregationType(MMTSJCPInstruction inst, ExecutionContext ec)Returns the operator type of MMTSJCPInstruction based on the input data characteristics and the MMTSJType.static OperatorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OperatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
Aggregatepublic static final OperatorType Aggregate 
 - 
NonAggregatepublic static final OperatorType NonAggregate 
 
- 
 - 
Method Detail- 
valuespublic static OperatorType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperatorType c : OperatorType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static OperatorType valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getAggregationTypepublic static OperatorType getAggregationType(MMChainCPInstruction inst, ExecutionContext ec) Returns the operator type of MMChainCPInstruction based on the input data characteristics.- Parameters:
- inst- MMChainCPInstruction for which operator type is returned
- ec- execution context
- Returns:
- operator type of instruction
 
 - 
getAggregationTypepublic static OperatorType getAggregationType(MMTSJCPInstruction inst, ExecutionContext ec) Returns the operator type of MMTSJCPInstruction based on the input data characteristics and the MMTSJType.- Parameters:
- inst- MMTSJCPInstruction for which operator type is returned
- ec- execution context
- Returns:
- operator type of instruction
 
 - 
getAggregationTypepublic static OperatorType getAggregationType(AggregateBinaryCPInstruction inst, ExecutionContext ec) Returns the operator type of AggregateBinaryCPInstruction based on the input data characteristics and the transpose.- Parameters:
- inst- AggregateBinaryCPInstruction for which operator type is returned
- ec- execution context
- Returns:
- operator type of instruction
 
 
- 
 
-