C# Class BplusDotNet.BplusTreeBytes

BPlus tree implementation mapping strings to bytes with fixed key length
Inheritance: IByteTree
Mostra file Open project: benaston/BTree Class Usage Examples

Public Methods

Method Description
Abort ( ) : void
BplusTreeBytes ( BplusDotNet.BplusTreeLong tree, LinkedFile archive ) : System
Commit ( ) : void
Compare ( string left, string right ) : int
ContainsKey ( string key ) : bool
FirstKey ( ) : string
Get ( string key, object defaultValue ) : object
Initialize ( System treefile, System blockfile, int KeyLength ) : BplusTreeBytes
Initialize ( System treefile, System blockfile, int KeyLength, int CultureId ) : BplusTreeBytes
Initialize ( System treefile, System blockfile, int KeyLength, int CultureId, int nodesize, int buffersize ) : BplusTreeBytes
Initialize ( string treefileName, string blockfileName, int KeyLength ) : BplusTreeBytes
Initialize ( string treefileName, string blockfileName, int KeyLength, int CultureId ) : BplusTreeBytes
Initialize ( string treefileName, string blockfileName, int KeyLength, int CultureId, int nodesize, int buffersize ) : BplusTreeBytes
MaxKeyLength ( ) : int
NextKey ( string AfterThisKey ) : string
NoCulture ( ) : void

Use non-culture sensitive total order on binary strings.

ReOpen ( System treefile, System blockfile ) : BplusTreeBytes
ReOpen ( string treefileName, string blockfileName ) : BplusTreeBytes
ReOpen ( string treefileName, string blockfileName, System access ) : BplusTreeBytes
ReadOnly ( string treefileName, string blockfileName ) : BplusTreeBytes
Recover ( bool CorrectErrors ) : void
RemoveKey ( string key ) : void
Set ( string key, object map ) : void
SetFootPrintLimit ( int limit ) : void
Shutdown ( ) : void
this ( string key ) : byte[]
toHtml ( ) : string

Private Methods

Method Description
ClearBookKeeping ( ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

BplusTreeBytes() public method

public BplusTreeBytes ( BplusDotNet.BplusTreeLong tree, LinkedFile archive ) : System
tree BplusDotNet.BplusTreeLong
archive LinkedFile
return System

Commit() public method

public Commit ( ) : void
return void

Compare() public method

public Compare ( string left, string right ) : int
left string
right string
return int

ContainsKey() public method

public ContainsKey ( string key ) : bool
key string
return bool

FirstKey() public method

public FirstKey ( ) : string
return string

Get() public method

public Get ( string key, object defaultValue ) : object
key string
defaultValue object
return object

Initialize() public static method

public static Initialize ( System treefile, System blockfile, int KeyLength ) : BplusTreeBytes
treefile System
blockfile System
KeyLength int
return BplusTreeBytes

Initialize() public static method

public static Initialize ( System treefile, System blockfile, int KeyLength, int CultureId ) : BplusTreeBytes
treefile System
blockfile System
KeyLength int
CultureId int
return BplusTreeBytes

Initialize() public static method

public static Initialize ( System treefile, System blockfile, int KeyLength, int CultureId, int nodesize, int buffersize ) : BplusTreeBytes
treefile System
blockfile System
KeyLength int
CultureId int
nodesize int
buffersize int
return BplusTreeBytes

Initialize() public static method

public static Initialize ( string treefileName, string blockfileName, int KeyLength ) : BplusTreeBytes
treefileName string
blockfileName string
KeyLength int
return BplusTreeBytes

Initialize() public static method

public static Initialize ( string treefileName, string blockfileName, int KeyLength, int CultureId ) : BplusTreeBytes
treefileName string
blockfileName string
KeyLength int
CultureId int
return BplusTreeBytes

Initialize() public static method

public static Initialize ( string treefileName, string blockfileName, int KeyLength, int CultureId, int nodesize, int buffersize ) : BplusTreeBytes
treefileName string
blockfileName string
KeyLength int
CultureId int
nodesize int
buffersize int
return BplusTreeBytes

MaxKeyLength() public method

public MaxKeyLength ( ) : int
return int

NextKey() public method

public NextKey ( string AfterThisKey ) : string
AfterThisKey string
return string

NoCulture() public method

Use non-culture sensitive total order on binary strings.
public NoCulture ( ) : void
return void

ReOpen() public static method

public static ReOpen ( System treefile, System blockfile ) : BplusTreeBytes
treefile System
blockfile System
return BplusTreeBytes

ReOpen() public static method

public static ReOpen ( string treefileName, string blockfileName ) : BplusTreeBytes
treefileName string
blockfileName string
return BplusTreeBytes

ReOpen() public static method

public static ReOpen ( string treefileName, string blockfileName, System access ) : BplusTreeBytes
treefileName string
blockfileName string
access System
return BplusTreeBytes

ReadOnly() public static method

public static ReadOnly ( string treefileName, string blockfileName ) : BplusTreeBytes
treefileName string
blockfileName string
return BplusTreeBytes

Recover() public method

public Recover ( bool CorrectErrors ) : void
CorrectErrors bool
return void

RemoveKey() public method

public RemoveKey ( string key ) : void
key string
return void

Set() public method

public Set ( string key, object map ) : void
key string
map object
return void

SetFootPrintLimit() public method

public SetFootPrintLimit ( int limit ) : void
limit int
return void

Shutdown() public method

public Shutdown ( ) : void
return void

this() public method

public this ( string key ) : byte[]
key string
return byte[]

toHtml() public method

public toHtml ( ) : string
return string