test_class.declarator: fixture
test_class.modifier: private final
test_class.original_string: private final NodeStoreFixture fixture;
test_class.type: NodeStoreFixture
test_class.var_name: fixture
test_class.declarator: nodeStore
test_class.modifier: private final
test_class.original_string: private final NodeStore nodeStore;
test_class.type: NodeStore
test_class.var_name: nodeStore
test_class.declarator: testNodePath =  "/content/testNode"
test_class.modifier: private
test_class.original_string: private String testNodePath =  "/content/testNode";
test_class.type: String
test_class.var_name: testNodePath
test_class.declarator: rnd = new Random()
test_class.modifier: private
test_class.original_string: private Random rnd = new Random();
test_class.type: Random
test_class.var_name: rnd
test_class.declarator: maxBucketSize = 100
test_class.modifier: private
test_class.original_string: private int maxBucketSize = 100;
test_class.type: int
test_class.var_name: maxBucketSize
test_class.declarator: maxDepth = 4
test_class.modifier: private
test_class.original_string: private int maxDepth = 4;
test_class.type: int
test_class.var_name: maxDepth
test_class.file: oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/property/RecursiveDeleteTest.java
test_class.identifier: RecursiveDeleteTest
test_case.body: @Test
      public void recursiveDelete() throws Exception{
          int actualCount = createSubtree(10000);
          assertEquals(actualCount, getSubtreeCount(getNode(nodeStore.getRoot(), testNodePath)));
  
          RecursiveDelete rd = new RecursiveDelete(nodeStore, EmptyHook.INSTANCE, () -> CommitInfo.EMPTY);
          rd.setBatchSize(100);
          rd.run(testNodePath);
  
          assertEquals(actualCount, rd.getNumRemoved());
          assertFalse(getNode(nodeStore.getRoot(), testNodePath).exists());
  
          System.out.println(rd.getMergeCount());
          System.out.println(actualCount);
      }
test_case.class_method_signature: RecursiveDeleteTest.recursiveDelete()
test_case.full_signature: @Test public void recursiveDelete()
test_case.identifier: recursiveDelete
test_case.invocations: createSubtree assertEquals getSubtreeCount getNode getRoot setBatchSize run assertEquals getNumRemoved assertFalse exists getNode getRoot println getMergeCount println
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void recursiveDelete()
focal_class.declarator: log = LoggerFactory.getLogger(getClass())
focal_class.modifier: private final
focal_class.original_string: private final Logger log = LoggerFactory.getLogger(getClass());
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: nodeStore
focal_class.modifier: private final
focal_class.original_string: private final NodeStore nodeStore;
focal_class.type: NodeStore
focal_class.var_name: nodeStore
focal_class.declarator: commitHook
focal_class.modifier: private final
focal_class.original_string: private final CommitHook commitHook;
focal_class.type: CommitHook
focal_class.var_name: commitHook
focal_class.declarator: commitInfo
focal_class.modifier: private final
focal_class.original_string: private final Supplier<CommitInfo> commitInfo;
focal_class.type: Supplier<CommitInfo>
focal_class.var_name: commitInfo
focal_class.declarator: batchSize = 1024
focal_class.modifier: private
focal_class.original_string: private int batchSize = 1024;
focal_class.type: int
focal_class.var_name: batchSize
focal_class.declarator: sleepPerBatch
focal_class.modifier: private
focal_class.original_string: private int sleepPerBatch;
focal_class.type: int
focal_class.var_name: sleepPerBatch
focal_class.declarator: maxRemoveCount = Integer.MAX_VALUE
focal_class.modifier: private
focal_class.original_string: private int maxRemoveCount = Integer.MAX_VALUE;
focal_class.type: int
focal_class.var_name: maxRemoveCount
focal_class.declarator: numRemoved
focal_class.modifier: private
focal_class.original_string: private int numRemoved;
focal_class.type: int
focal_class.var_name: numRemoved
focal_class.declarator: mergeCount
focal_class.modifier: private
focal_class.original_string: private int mergeCount;
focal_class.type: int
focal_class.var_name: mergeCount
focal_class.declarator: builder
focal_class.modifier: private
focal_class.original_string: private NodeBuilder builder;
focal_class.type: NodeBuilder
focal_class.var_name: builder
focal_class.file: oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/property/RecursiveDelete.java
focal_class.identifier: RecursiveDelete
focal_class.class_method_signature: RecursiveDelete.RecursiveDelete(NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo)
focal_class.full_signature: public  RecursiveDelete(NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo)
focal_class.identifier: RecursiveDelete
focal_class.modifiers: public
focal_class.parameters: (NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo)
focal_class.signature:  RecursiveDelete(NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo)
focal_class.class_method_signature: RecursiveDelete.run(Iterable<String> paths)
focal_class.full_signature: public void run(Iterable<String> paths)
focal_class.identifier: run
focal_class.modifiers: public
focal_class.parameters: (Iterable<String> paths)
focal_class.return: void
focal_class.signature: void run(Iterable<String> paths)
focal_class.class_method_signature: RecursiveDelete.run(String path)
focal_class.full_signature: public void run(String path)
focal_class.identifier: run
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void run(String path)
focal_class.class_method_signature: RecursiveDelete.getNumRemoved()
focal_class.full_signature: public int getNumRemoved()
focal_class.identifier: getNumRemoved
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNumRemoved()
focal_class.class_method_signature: RecursiveDelete.getMergeCount()
focal_class.full_signature: public int getMergeCount()
focal_class.identifier: getMergeCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMergeCount()
focal_class.class_method_signature: RecursiveDelete.setBatchSize(int batchSize)
focal_class.full_signature: public void setBatchSize(int batchSize)
focal_class.identifier: setBatchSize
focal_class.modifiers: public
focal_class.parameters: (int batchSize)
focal_class.return: void
focal_class.signature: void setBatchSize(int batchSize)
focal_class.class_method_signature: RecursiveDelete.delete(NodeState node, String path)
focal_class.full_signature: private int delete(NodeState node, String path)
focal_class.identifier: delete
focal_class.modifiers: private
focal_class.parameters: (NodeState node, String path)
focal_class.return: int
focal_class.signature: int delete(NodeState node, String path)
focal_class.class_method_signature: RecursiveDelete.deleteChildNodes(NodeState node, String path)
focal_class.full_signature: private int deleteChildNodes(NodeState node, String path)
focal_class.identifier: deleteChildNodes
focal_class.modifiers: private
focal_class.parameters: (NodeState node, String path)
focal_class.return: int
focal_class.signature: int deleteChildNodes(NodeState node, String path)
focal_class.class_method_signature: RecursiveDelete.save(String pathDetails, int currentSize, boolean force)
focal_class.full_signature: private boolean save(String pathDetails, int currentSize, boolean force)
focal_class.identifier: save
focal_class.modifiers: private
focal_class.parameters: (String pathDetails, int currentSize, boolean force)
focal_class.return: boolean
focal_class.signature: boolean save(String pathDetails, int currentSize, boolean force)
focal_class.class_method_signature: RecursiveDelete.child(NodeBuilder nb, String path)
focal_class.full_signature: private static NodeBuilder child(NodeBuilder nb, String path)
focal_class.identifier: child
focal_class.modifiers: private static
focal_class.parameters: (NodeBuilder nb, String path)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder child(NodeBuilder nb, String path)
focal_class.class_method_signature: RecursiveDelete.getMaxRemoveCount()
focal_class.full_signature: public int getMaxRemoveCount()
focal_class.identifier: getMaxRemoveCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMaxRemoveCount()
focal_class.class_method_signature: RecursiveDelete.setMaxRemoveCount(int maxRemoveCount)
focal_class.full_signature: public void setMaxRemoveCount(int maxRemoveCount)
focal_class.identifier: setMaxRemoveCount
focal_class.modifiers: public
focal_class.parameters: (int maxRemoveCount)
focal_class.return: void
focal_class.signature: void setMaxRemoveCount(int maxRemoveCount)
focal_class.class_method_signature: RecursiveDelete.getSleepPerBatch()
focal_class.full_signature: public int getSleepPerBatch()
focal_class.identifier: getSleepPerBatch
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSleepPerBatch()
focal_class.class_method_signature: RecursiveDelete.setSleepPerBatch(int sleepPerBatch)
focal_class.full_signature: public void setSleepPerBatch(int sleepPerBatch)
focal_class.identifier: setSleepPerBatch
focal_class.modifiers: public
focal_class.parameters: (int sleepPerBatch)
focal_class.return: void
focal_class.signature: void setSleepPerBatch(int sleepPerBatch)
focal_method.body: public RecursiveDelete(NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo) {
          this.nodeStore = nodeStore;
          this.commitHook = commitHook;
          this.commitInfo = commitInfo;
      }
focal_method.class_method_signature: RecursiveDelete.RecursiveDelete(NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo)
focal_method.full_signature: public  RecursiveDelete(NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo)
focal_method.identifier: RecursiveDelete
focal_method.modifiers: public
focal_method.parameters: (NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo)
focal_method.signature:  RecursiveDelete(NodeStore nodeStore, CommitHook commitHook,
                             Supplier<CommitInfo> commitInfo)