C# Class BplusDotNet.BplusTree

Tree index mapping strings to strings.
Inheritance: IStringTree
Afficher le fichier Open project: benaston/BTree Class Usage Examples

Méthodes publiques

Свойство Type Description
tree ITreeIndex

Méthodes publiques

Méthode Description
Abort ( ) : void
BplusTree ( ITreeIndex tree ) : System
BytesToString ( byte bytes ) : string
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 ) : BplusTree
Initialize ( System treefile, System blockfile, int KeyLength, int CultureId ) : BplusTree
Initialize ( System treefile, System blockfile, int KeyLength, int CultureId, int nodesize, int buffersize ) : BplusTree
Initialize ( string treefileName, string blockfileName, int KeyLength ) : BplusTree
Initialize ( string treefileName, string blockfileName, int KeyLength, int CultureId ) : BplusTree
Initialize ( string treefileName, string blockfileName, int KeyLength, int CultureId, int nodesize, int buffersize ) : BplusTree
NextKey ( string AfterThisKey ) : string
ReOpen ( System treefile, System blockfile ) : BplusTree
ReOpen ( string treefileName, string blockfileName ) : BplusTree
ReadOnly ( string treefileName, string blockfileName ) : BplusTree
Recover ( bool CorrectErrors ) : void
RemoveKey ( string key ) : void
Set ( string key, object map ) : void
SetFootPrintLimit ( int limit ) : void
Shutdown ( ) : void
StringToBytes ( string thestring ) : byte[]
this ( string key ) : string
toHtml ( ) : string

Méthodes protégées

Méthode Description
checkTree ( ) : bool

Method Details

Abort() public méthode

public Abort ( ) : void
Résultat void

BplusTree() public méthode

public BplusTree ( ITreeIndex tree ) : System
tree ITreeIndex
Résultat System

BytesToString() public static méthode

public static BytesToString ( byte bytes ) : string
bytes byte
Résultat string

Commit() public méthode

public Commit ( ) : void
Résultat void

Compare() public méthode

public Compare ( string left, string right ) : int
left string
right string
Résultat int

ContainsKey() public méthode

public ContainsKey ( string key ) : bool
key string
Résultat bool

FirstKey() public méthode

public FirstKey ( ) : string
Résultat string

Get() public méthode

public Get ( string key, object defaultValue ) : object
key string
defaultValue object
Résultat object

Initialize() public static méthode

public static Initialize ( System treefile, System blockfile, int KeyLength ) : BplusTree
treefile System
blockfile System
KeyLength int
Résultat BplusTree

Initialize() public static méthode

public static Initialize ( System treefile, System blockfile, int KeyLength, int CultureId ) : BplusTree
treefile System
blockfile System
KeyLength int
CultureId int
Résultat BplusTree

Initialize() public static méthode

public static Initialize ( System treefile, System blockfile, int KeyLength, int CultureId, int nodesize, int buffersize ) : BplusTree
treefile System
blockfile System
KeyLength int
CultureId int
nodesize int
buffersize int
Résultat BplusTree

Initialize() public static méthode

public static Initialize ( string treefileName, string blockfileName, int KeyLength ) : BplusTree
treefileName string
blockfileName string
KeyLength int
Résultat BplusTree

Initialize() public static méthode

public static Initialize ( string treefileName, string blockfileName, int KeyLength, int CultureId ) : BplusTree
treefileName string
blockfileName string
KeyLength int
CultureId int
Résultat BplusTree

Initialize() public static méthode

public static Initialize ( string treefileName, string blockfileName, int KeyLength, int CultureId, int nodesize, int buffersize ) : BplusTree
treefileName string
blockfileName string
KeyLength int
CultureId int
nodesize int
buffersize int
Résultat BplusTree

NextKey() public méthode

public NextKey ( string AfterThisKey ) : string
AfterThisKey string
Résultat string

ReOpen() public static méthode

public static ReOpen ( System treefile, System blockfile ) : BplusTree
treefile System
blockfile System
Résultat BplusTree

ReOpen() public static méthode

public static ReOpen ( string treefileName, string blockfileName ) : BplusTree
treefileName string
blockfileName string
Résultat BplusTree

ReadOnly() public static méthode

public static ReadOnly ( string treefileName, string blockfileName ) : BplusTree
treefileName string
blockfileName string
Résultat BplusTree

Recover() public méthode

public Recover ( bool CorrectErrors ) : void
CorrectErrors bool
Résultat void

RemoveKey() public méthode

public RemoveKey ( string key ) : void
key string
Résultat void

Set() public méthode

public Set ( string key, object map ) : void
key string
map object
Résultat void

SetFootPrintLimit() public méthode

public SetFootPrintLimit ( int limit ) : void
limit int
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

StringToBytes() public static méthode

public static StringToBytes ( string thestring ) : byte[]
thestring string
Résultat byte[]

checkTree() protected méthode

protected checkTree ( ) : bool
Résultat bool

this() public méthode

public this ( string key ) : string
key string
Résultat string

toHtml() public méthode

public toHtml ( ) : string
Résultat string

Property Details

tree public_oe property

Internal tree mapping strings to bytes (for conversion to strings).
public ITreeIndex tree
Résultat ITreeIndex