Package com.redislabs.redisgraph
Enum Statistics.Label
- java.lang.Object
-
- java.lang.Enum<Statistics.Label>
-
- com.redislabs.redisgraph.Statistics.Label
-
- All Implemented Interfaces:
Serializable
,Comparable<Statistics.Label>
- Enclosing interface:
- Statistics
public static enum Statistics.Label extends Enum<Statistics.Label>
Different Statistics labels
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHED_EXECUTION
INDICES_ADDED
INDICES_DELETED
LABELS_ADDED
NODES_CREATED
NODES_DELETED
PROPERTIES_SET
QUERY_INTERNAL_EXECUTION_TIME
RELATIONSHIPS_CREATED
RELATIONSHIPS_DELETED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Statistics.Label
getEnum(String value)
Get a Label by label textString
toString()
static Statistics.Label
valueOf(String name)
Returns the enum constant of this type with the specified name.static Statistics.Label[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LABELS_ADDED
public static final Statistics.Label LABELS_ADDED
-
INDICES_ADDED
public static final Statistics.Label INDICES_ADDED
-
INDICES_DELETED
public static final Statistics.Label INDICES_DELETED
-
NODES_CREATED
public static final Statistics.Label NODES_CREATED
-
NODES_DELETED
public static final Statistics.Label NODES_DELETED
-
RELATIONSHIPS_DELETED
public static final Statistics.Label RELATIONSHIPS_DELETED
-
PROPERTIES_SET
public static final Statistics.Label PROPERTIES_SET
-
RELATIONSHIPS_CREATED
public static final Statistics.Label RELATIONSHIPS_CREATED
-
CACHED_EXECUTION
public static final Statistics.Label CACHED_EXECUTION
-
QUERY_INTERNAL_EXECUTION_TIME
public static final Statistics.Label QUERY_INTERNAL_EXECUTION_TIME
-
-
Method Detail
-
values
public static Statistics.Label[] 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 (Statistics.Label c : Statistics.Label.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Statistics.Label 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<Statistics.Label>
-
getEnum
public static Statistics.Label getEnum(String value)
Get a Label by label text- Parameters:
value
- label text- Returns:
- the matching Label
-
-