Class SegmentPropertyIndexEditorProvider

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider

    public class SegmentPropertyIndexEditorProvider
    extends java.lang.Object
    implements org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider, java.io.Closeable
    Editor implementation which stores the property index NodeState data in a different SegmentNodeStore used solely for property index storage purpose
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      @Nullable org.apache.jackrabbit.oak.spi.commit.Editor getIndexEditor​(@NotNull java.lang.String type, @NotNull org.apache.jackrabbit.oak.spi.state.NodeBuilder definition, @NotNull org.apache.jackrabbit.oak.spi.state.NodeState root, @NotNull org.apache.jackrabbit.oak.plugins.index.IndexUpdateCallback callback)  
      SegmentPropertyIndexEditorProvider with​(org.apache.jackrabbit.oak.spi.mount.MountInfoProvider mountInfoProvider)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SegmentPropertyIndexEditorProvider

        public SegmentPropertyIndexEditorProvider​(java.io.File storeDir)
    • Method Detail

      • getIndexEditor

        @Nullable
        public @Nullable org.apache.jackrabbit.oak.spi.commit.Editor getIndexEditor​(@NotNull
                                                                                    @NotNull java.lang.String type,
                                                                                    @NotNull
                                                                                    @NotNull org.apache.jackrabbit.oak.spi.state.NodeBuilder definition,
                                                                                    @NotNull
                                                                                    @NotNull org.apache.jackrabbit.oak.spi.state.NodeState root,
                                                                                    @NotNull
                                                                                    @NotNull org.apache.jackrabbit.oak.plugins.index.IndexUpdateCallback callback)
                                                                             throws org.apache.jackrabbit.oak.api.CommitFailedException
        Specified by:
        getIndexEditor in interface org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider
        Throws:
        org.apache.jackrabbit.oak.api.CommitFailedException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException