예제 #1
0
 private void removeProvidersFromIndexDbFile(File storeDir) {
   IndexStore indexStore = new IndexStore(storeDir.getPath());
   for (Class<? extends PropertyContainer> cls : new Class[] {Node.class, Relationship.class}) {
     for (String name : indexStore.getNames(cls)) {
       Map<String, String> config = indexStore.get(cls, name);
       config = new HashMap<String, String>(config);
       config.remove(IndexManager.PROVIDER);
       indexStore.set(Node.class, name, config);
     }
   }
 }
예제 #2
0
 @Override
 public String[] relationshipIndexNames() {
   return indexStore.getNames(Relationship.class);
 }
예제 #3
0
 @Override
 public String[] nodeIndexNames() {
   return indexStore.getNames(Node.class);
 }
예제 #4
0
 @Override
 public String[] relationshipIndexNames() {
   assertInTransaction();
   return indexStore.getNames(Relationship.class);
 }
예제 #5
0
 @Override
 public String[] nodeIndexNames() {
   assertInTransaction();
   return indexStore.getNames(Node.class);
 }