Class 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.
    • Method Detail

      • call

        public org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.PipelinedSortBatchTask.Result call()
                                                                                                               throws Exception
        Specified by:
        call in interface Callable<org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.PipelinedSortBatchTask.Result>
        Throws:
        Exception
      • removePropertiesOfBundledNodes

        public static String removePropertiesOfBundledNodes​(String path,
                                                            String value)
        If there are any, remove properties of bundled nodes (jcr:content/...) from the JSON-encoded node.
        Parameters:
        path - the path
        value - the JSON-encoded node
        Returns:
        the cleaned JSON