예제 #1
0
파일: PageSplitter.cs 프로젝트: mow/ravendb
        private byte *AddSeparatorToParentPage(long pageRefNumber, MemorySlice separatorKey, out Page parentOfPageRef)
        {
            var parent = new ParentPageAction(_parentPage, _page, _tree, _cursor, _tx);

            var pos = parent.AddSeparator(separatorKey, pageRefNumber);

            parentOfPageRef = parent.ParentOfAddedPageRef;

            return(pos);
        }
예제 #2
0
        private void AddSeparatorToParentPage(Page childPage, Page parentPage, long pageNumber, MemorySlice seperatorKey, int separatorKeyPosition)
        {
            var parent = new ParentPageAction(parentPage, childPage, _tree, _cursor, _tx);

            parent.AddSeparator(seperatorKey, pageNumber, separatorKeyPosition);
        }
예제 #3
0
        private void AddSeparatorToParentPage(Page childPage, Page parentPage, long pageNumber, MemorySlice seperatorKey, int separatorKeyPosition)
        {
            var parent = new ParentPageAction(parentPage, childPage, _tree, _cursor, _tx);

            parent.AddSeparator(seperatorKey, pageNumber, separatorKeyPosition);
        }
예제 #4
0
        private byte* AddSeparatorToParentPage(long pageRefNumber, MemorySlice separatorKey, out Page parentOfPageRef)
        {
            var parent = new ParentPageAction(_parentPage, _page, _tree, _cursor, _tx);

            var pos = parent.AddSeparator(separatorKey, pageRefNumber);

            parentOfPageRef = parent.ParentOfAddedPageRef;

            return pos;
        }