예제 #1
0
 internal IndexBackedConstraintDescriptor(Org.Neo4j.@internal.Kernel.Api.schema.constraints.ConstraintDescriptor_Type type, LabelSchemaDescriptor schema) : base(type)
 {
     this._schema = schema;
 }
예제 #2
0
 private void AssertRule(ConstraintRule rule, string label, string propertyKey, Org.Neo4j.@internal.Kernel.Api.schema.constraints.ConstraintDescriptor_Type type)
 {
     assertTrue(SchemaDescriptorPredicates.hasLabel(rule, LabelId(label)));
     assertTrue(SchemaDescriptorPredicates.hasProperty(rule, PropId(propertyKey)));
     assertEquals(type, rule.ConstraintDescriptor.type());
 }
예제 #3
0
 internal ConstraintDescriptor(Org.Neo4j.@internal.Kernel.Api.schema.constraints.ConstraintDescriptor_Type type)
 {
     this._type = type;
 }