Package org.neo4j.gds.core
Enum Aggregation
- java.lang.Object
-
- java.lang.Enum<Aggregation>
-
- org.neo4j.gds.core.Aggregation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Aggregation>
public enum Aggregation extends java.lang.Enum<Aggregation>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description doubleemptyValue(double mappingDefaultValue)static booleanequivalentToNone(Aggregation aggregation)abstract doublemerge(double runningTotal, double value)doublenormalizePropertyValue(double value)static Aggregationparse(java.lang.Object input)static Aggregationresolve(Aggregation aggregation)static java.lang.StringtoString(Aggregation aggregation)static AggregationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Aggregation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final Aggregation DEFAULT
-
NONE
public static final Aggregation NONE
-
SINGLE
public static final Aggregation SINGLE
-
SUM
public static final Aggregation SUM
-
MIN
public static final Aggregation MIN
-
MAX
public static final Aggregation MAX
-
COUNT
public static final Aggregation COUNT
-
-
Method Detail
-
values
public static Aggregation[] 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 (Aggregation c : Aggregation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Aggregation valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
merge
public abstract double merge(double runningTotal, double value)
-
normalizePropertyValue
public double normalizePropertyValue(double value)
-
emptyValue
public double emptyValue(double mappingDefaultValue)
-
parse
public static Aggregation parse(java.lang.Object input)
-
resolve
public static Aggregation resolve(Aggregation aggregation)
-
toString
public static java.lang.String toString(Aggregation aggregation)
-
equivalentToNone
public static boolean equivalentToNone(Aggregation aggregation)
-
-