C# 클래스 BTDB.KVDBLayer.BTreeMem.BTreeRoot

상속: IBTreeRootNode
파일 보기 프로젝트 열기: Bobris/BTDB

공개 메소드들

메소드 설명
BTreeRoot ( long transactionId ) : System
BuildTree ( long keyCount, Func memberGenerator ) : void
CalcKeyCount ( ) : long
CreateOrUpdate ( BTDB.KVDBLayer.BTreeMem.CreateOrUpdateCtx ctx ) : void
EraseRange ( long transactionId, long firstKeyIndex, long lastKeyIndex ) : IBTreeNode
EraseRange ( long firstKeyIndex, long lastKeyIndex ) : void
FillStackByIndex ( List stack, long keyIndex ) : void
FillStackByLeftMost ( List stack, int idx ) : void
FillStackByRightMost ( List stack, int idx ) : void
FindKey ( List stack, long &keyIndex, byte prefix, ByteBuffer key ) : FindResult
FindLastWithPrefix ( byte prefix ) : long
FindNextKey ( List stack ) : bool
FindPreviousKey ( List stack ) : bool
GetLastChildrenIdx ( ) : int
GetLeftMostKey ( ) : byte[]
NewTransactionRoot ( ) : IBTreeRootNode
NextIdxValid ( int idx ) : bool

비공개 메소드들

메소드 설명
BuildBranchNode ( long count, Func generator ) : IBTreeNode
BuildTreeNode ( long keyCount, Func memberGenerator ) : IBTreeNode
GetKeyFromStack ( List stack ) : ByteBuffer
KeyStartsWithPrefix ( byte prefix, ByteBuffer key ) : bool

메소드 상세

BTreeRoot() 공개 메소드

public BTreeRoot ( long transactionId ) : System
transactionId long
리턴 System

BuildTree() 공개 메소드

public BuildTree ( long keyCount, Func memberGenerator ) : void
keyCount long
memberGenerator Func
리턴 void

CalcKeyCount() 공개 메소드

public CalcKeyCount ( ) : long
리턴 long

CreateOrUpdate() 공개 메소드

public CreateOrUpdate ( BTDB.KVDBLayer.BTreeMem.CreateOrUpdateCtx ctx ) : void
ctx BTDB.KVDBLayer.BTreeMem.CreateOrUpdateCtx
리턴 void

EraseRange() 공개 메소드

public EraseRange ( long transactionId, long firstKeyIndex, long lastKeyIndex ) : IBTreeNode
transactionId long
firstKeyIndex long
lastKeyIndex long
리턴 IBTreeNode

EraseRange() 공개 메소드

public EraseRange ( long firstKeyIndex, long lastKeyIndex ) : void
firstKeyIndex long
lastKeyIndex long
리턴 void

FillStackByIndex() 공개 메소드

public FillStackByIndex ( List stack, long keyIndex ) : void
stack List
keyIndex long
리턴 void

FillStackByLeftMost() 공개 메소드

public FillStackByLeftMost ( List stack, int idx ) : void
stack List
idx int
리턴 void

FillStackByRightMost() 공개 메소드

public FillStackByRightMost ( List stack, int idx ) : void
stack List
idx int
리턴 void

FindKey() 공개 메소드

public FindKey ( List stack, long &keyIndex, byte prefix, ByteBuffer key ) : FindResult
stack List
keyIndex long
prefix byte
key ByteBuffer
리턴 FindResult

FindLastWithPrefix() 공개 메소드

public FindLastWithPrefix ( byte prefix ) : long
prefix byte
리턴 long

FindNextKey() 공개 메소드

public FindNextKey ( List stack ) : bool
stack List
리턴 bool

FindPreviousKey() 공개 메소드

public FindPreviousKey ( List stack ) : bool
stack List
리턴 bool

GetLastChildrenIdx() 공개 메소드

public GetLastChildrenIdx ( ) : int
리턴 int

GetLeftMostKey() 공개 메소드

public GetLeftMostKey ( ) : byte[]
리턴 byte[]

NewTransactionRoot() 공개 메소드

public NewTransactionRoot ( ) : IBTreeRootNode
리턴 IBTreeRootNode

NextIdxValid() 공개 메소드

public NextIdxValid ( int idx ) : bool
idx int
리턴 bool