示例#1
0
 public IndexDescriptor(SchemaDescriptor schema, Type type, Optional <string> userSuppliedName, IndexProviderDescriptor providerDescriptor)
 {
     this.SchemaConflict             = schema;
     this.TypeConflict               = type;
     this.UserSuppliedNameConflict   = userSuppliedName;
     this.ProviderDescriptorConflict = providerDescriptor;
 }
示例#2
0
 private void AssertRule(StoreIndexDescriptor rule, string label, string propertyKey, IndexDescriptor.Type type)
 {
     assertTrue(SchemaDescriptorPredicates.hasLabel(rule, LabelId(label)));
     assertTrue(SchemaDescriptorPredicates.hasProperty(rule, PropId(propertyKey)));
     assertEquals(type, rule.Type());
 }