Enum Counters.Empty
- All Implemented Interfaces:
Counters
,Serializable
,Comparable<Counters.Empty>
- Enclosing interface:
- Counters
An empty instance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ac.simons.neo4j.migrations.core.refactorings.Counters
Counters.Empty
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionAddrhs
to this instance, creating a new oneint
int
int
int
int
int
int
int
int
int
int
static Counters.Empty
Returns the enum constant of this type with the specified name.static Counters.Empty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The single, empty instance.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
nodesCreated
public int nodesCreated()- Specified by:
nodesCreated
in interfaceCounters
- Returns:
- Number of nodes created
-
nodesDeleted
public int nodesDeleted()- Specified by:
nodesDeleted
in interfaceCounters
- Returns:
- Number of nodes deleted
-
labelsAdded
public int labelsAdded()- Specified by:
labelsAdded
in interfaceCounters
- Returns:
- Number of labels added
-
labelsRemoved
public int labelsRemoved()- Specified by:
labelsRemoved
in interfaceCounters
- Returns:
- Number of labels removed
-
typesAdded
public int typesAdded()- Specified by:
typesAdded
in interfaceCounters
- Returns:
- Number of types added
-
typesRemoved
public int typesRemoved()- Specified by:
typesRemoved
in interfaceCounters
- Returns:
- Number types removed
-
propertiesSet
public int propertiesSet()- Specified by:
propertiesSet
in interfaceCounters
- Returns:
- Number of properties changed
-
indexesAdded
public int indexesAdded()- Specified by:
indexesAdded
in interfaceCounters
- Returns:
- number of indexes added to the schema.
-
indexesRemoved
public int indexesRemoved()- Specified by:
indexesRemoved
in interfaceCounters
- Returns:
- number of indexes removed from the schema.
-
constraintsAdded
public int constraintsAdded()- Specified by:
constraintsAdded
in interfaceCounters
- Returns:
- number of constraints added to the schema.
-
constraintsRemoved
public int constraintsRemoved()- Specified by:
constraintsRemoved
in interfaceCounters
- Returns:
- number of constraints removed from the schema.
-
add
Description copied from interface:Counters
Addrhs
to this instance, creating a new one
-