CPC G06F 16/2365 (2019.01) [G06F 16/9024 (2019.01)] | 15 Claims |
1. A method for managing uniqueness constraints associated with entities in a graph database, wherein the method comprises:
receiving, by a uniqueness constraint management server, a constraint specification of at least one entity from a constraint management system;
receiving, by uniqueness constraint management server, a configure operation for maintaining uniqueness requirement in the constraint management system;
determining, by the uniqueness constraint management server, at least one constraint key based on inputs received for maintaining the uniqueness requirement in the constraint management system;
creating, by the uniqueness constraint management server, a composite unique constraint based on the at least one constraint key, wherein the composite unique constraint comprises properties of the at least one constraint key and a constraint vertex indicating a class of constraints available in the inputs received for maintaining uniqueness requirement; and
storing, by the uniqueness constraint management server, the composite unique constraint in the constraint specification received from the constraint management system to validate the uniqueness before performing at least one operation on the at least one entity.
|