Class PipelinedTreeStoreTask
java.lang.Object
org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.PipelinedTreeStoreTask
- All Implemented Interfaces:
Callable<org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.PipelinedSortBatchTask.Result>
public class PipelinedTreeStoreTask
extends Object
implements Callable<org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.PipelinedSortBatchTask.Result>
Receives batches of node state entries, sorts then in memory, and finally writes them to a tree store.
-
Constructor Summary
ConstructorsConstructorDescriptionPipelinedTreeStoreTask
(TreeStore treeStore, ArrayBlockingQueue<NodeStateEntryBatch> emptyBuffersQueue, ArrayBlockingQueue<NodeStateEntryBatch> nonEmptyBuffersQueue, StatisticsProvider statisticsProvider, IndexingReporter reporter) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.PipelinedSortBatchTask.Result
call()
static String
removePropertiesOfBundledNodes
(String path, String value) If there are any, remove properties of bundled nodes (jcr:content/...) from the JSON-encoded node.
-
Constructor Details
-
PipelinedTreeStoreTask
public PipelinedTreeStoreTask(TreeStore treeStore, ArrayBlockingQueue<NodeStateEntryBatch> emptyBuffersQueue, ArrayBlockingQueue<NodeStateEntryBatch> nonEmptyBuffersQueue, StatisticsProvider statisticsProvider, IndexingReporter reporter)
-
-
Method Details
-
call
public org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.PipelinedSortBatchTask.Result call() throws Exception -
removePropertiesOfBundledNodes
If there are any, remove properties of bundled nodes (jcr:content/...) from the JSON-encoded node.- Parameters:
path
- the pathvalue
- the JSON-encoded node- Returns:
- the cleaned JSON
-