Toggle navigation
Home
org.neo4j.kernel.api.constraints.UniquenessConstraint to org.neo4j.kernel.api.constraints.PropertyConstraint
No. of Instances - 131
No. of Commits - 1
No. of Projects - {'neo4j'}
Hierarchy/Composition: R_SUPER_T
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
statement.uniquenessConstraintCreate(labelId,propertyKeyId)
to
statement.uniquePropertyConstraintCreate(labelId,propertyKeyId)
statement.uniquenessConstraintCreate(labelId,propertyKeyId)
to
statement.uniquePropertyConstraintCreate(labelId,propertyKeyId)
ruleToConstraint((UniquenessConstraintRule)rule)
to
(PropertyConstraintRule)rule
(PropertyConstraintRule)rule
to
((PropertyConstraintRule)rule).toConstraint()
ruleToConstraint((UniquenessConstraintRule)rule)
to
(PropertyConstraintRule)rule
(PropertyConstraintRule)rule
to
((PropertyConstraintRule)rule).toConstraint()
existing.equals(constraint.label(),constraint.propertyKeyId())
to
existing.equals(constraint.type(),constraint.label(),constraint.propertyKeyId())
existing.equals(constraint.label(),constraint.propertyKeyId())
to
existing.equals(constraint.type(),constraint.label(),constraint.propertyKeyId())
statement.uniquenessConstraintCreate(labelId,propertyKeyId)
to
statement.uniquePropertyConstraintCreate(labelId,propertyKeyId)
statement.uniquenessConstraintCreate(labelId,propertyKeyId)
to
statement.uniquePropertyConstraintCreate(labelId,propertyKeyId)
Cascading Type Change (Different)
UniquenessConstraintRule
to
UniquePropertyConstraintRule
UniquenessConstraintRule
to
UniquePropertyConstraintRule
UniquenessConstraintRule
to
PropertyConstraintRule
Predicate<UniquenessConstraintRule>
to
Predicate<PropertyConstraintRule>
Cascading Type Change (Similar)
UniquenessConstraint
to
PropertyConstraint
UniquenessConstraint
to
PropertyConstraint
UniquenessConstraint
to
PropertyConstraint
Predicate<UniquenessConstraint>
to
Predicate<PropertyConstraint>
UniquenessConstraint
to
PropertyConstraint
Rename Method invocation
uniquenessConstraintCreate
to
uniquePropertyConstraintCreate
Update Anonymous class
{ @Override public boolean test( UniquenessConstraint item){ return item.propertyKeyId() == propertyKey; } }
to
{ @Override public boolean test( PropertyConstraint item){ return item.propertyKeyId() == propertyKey; } }
Rename Variable
UNIQUENESS_CONSTRAINT_TO_RULE
to
RULE_TO_CONSTRAINT
UNIQUENESS_CONSTRAINT_TO_RULE
to
RULE_TO_CONSTRAINT
UNIQUENESS_CONSTRAINT_TO_RULE
to
RULE_TO_CONSTRAINT