Package org.apache.sysds.common
Enum Types.AggOp
- java.lang.Object
- 
- java.lang.Enum<Types.AggOp>
- 
- org.apache.sysds.common.Types.AggOp
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Types.AggOp>
 - Enclosing class:
- Types
 
 public static enum Types.AggOp extends Enum<Types.AggOp> 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()StringtoString()static Types.AggOpvalueOf(int aggOp)Returns the enum constant of this type with the specified name.static Types.AggOpvalueOf(String name)Returns the enum constant of this type with the specified name.static Types.AggOp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SUMpublic static final Types.AggOp SUM 
 - 
SUM_SQpublic static final Types.AggOp SUM_SQ 
 - 
MINpublic static final Types.AggOp MIN 
 - 
MAXpublic static final Types.AggOp MAX 
 - 
PRODpublic static final Types.AggOp PROD 
 - 
SUM_PRODpublic static final Types.AggOp SUM_PROD 
 - 
TRACEpublic static final Types.AggOp TRACE 
 - 
MEANpublic static final Types.AggOp MEAN 
 - 
VARpublic static final Types.AggOp VAR 
 - 
MAXINDEXpublic static final Types.AggOp MAXINDEX 
 - 
MININDEXpublic static final Types.AggOp MININDEX 
 - 
COUNT_DISTINCTpublic static final Types.AggOp COUNT_DISTINCT 
 - 
COUNT_DISTINCT_APPROXpublic static final Types.AggOp COUNT_DISTINCT_APPROX 
 
- 
 - 
Method Detail- 
valuespublic static Types.AggOp[] 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 (Types.AggOp c : Types.AggOp.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Types.AggOp 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Enum<Types.AggOp>
 
 - 
valueOfpublic static Types.AggOp valueOf(int aggOp) 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:
- aggOp- 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
 
 - 
getValuepublic int getValue() 
 
- 
 
-