Exemplo n.º 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);
     }
   }
 }
Exemplo n.º 2
0
 @Override
 public String[] relationshipIndexNames() {
   return indexStore.getNames(Relationship.class);
 }
Exemplo n.º 3
0
 @Override
 public String[] nodeIndexNames() {
   return indexStore.getNames(Node.class);
 }
Exemplo n.º 4
0
 @Override
 public String[] relationshipIndexNames() {
   assertInTransaction();
   return indexStore.getNames(Relationship.class);
 }
Exemplo n.º 5
0
 @Override
 public String[] nodeIndexNames() {
   assertInTransaction();
   return indexStore.getNames(Node.class);
 }