C# Class BplusDotNet.xBplusTreeBytes

Bplustree with unlimited length strings (but only a fixed prefix is indexed in the tree directly).
Inheritance: IByteTree
Afficher le fichier Open project: benaston/BTree Class Usage Examples

Méthodes publiques

Свойство Type Description
BucketSizeLimit int
prefixLength int
tree BplusTreeBytes

Méthodes publiques

Méthode Description
Abort ( ) : void
Commit ( ) : void
Compare ( string left, string right ) : int
ContainsKey ( string key ) : bool
FindBucketForPrefix ( string key, xBucket &bucket, string &prefix, bool keyIsPrefix ) : bool
FirstKey ( ) : string
Get ( string key, object defaultValue ) : object
Initialize ( System treefile, System blockfile, int PrefixLength ) : xBplusTreeBytes
Initialize ( System treefile, System blockfile, int PrefixLength, int CultureId ) : xBplusTreeBytes
Initialize ( System treefile, System blockfile, int PrefixLength, int CultureId, int nodesize, int buffersize ) : xBplusTreeBytes
Initialize ( string treefileName, string blockfileName, int PrefixLength ) : xBplusTreeBytes
Initialize ( string treefileName, string blockfileName, int PrefixLength, int CultureId ) : xBplusTreeBytes
Initialize ( string treefileName, string blockfileName, int PrefixLength, int CultureId, int nodesize, int buffersize ) : xBplusTreeBytes
LimitBucketSize ( int limit ) : void
NextKey ( string AfterThisKey ) : string
PrefixForByteCount ( string s, int maxbytecount ) : string
ReOpen ( System treefile, System blockfile ) : xBplusTreeBytes
ReOpen ( string treefileName, string blockfileName ) : xBplusTreeBytes
ReadOnly ( string treefileName, string blockfileName ) : xBplusTreeBytes
Recover ( bool CorrectErrors ) : void
RemoveKey ( string key ) : void
Set ( string key, object map ) : void
SetFootPrintLimit ( int limit ) : void
Shutdown ( ) : void
this ( string key ) : byte[]
xBplusTreeBytes ( BplusTreeBytes tree, int prefixLength ) : System

Method Details

Abort() public méthode

public Abort ( ) : void
Résultat void

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

FindBucketForPrefix() public méthode

public FindBucketForPrefix ( string key, xBucket &bucket, string &prefix, bool keyIsPrefix ) : bool
key string
bucket xBucket
prefix string
keyIsPrefix bool
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 PrefixLength ) : xBplusTreeBytes
treefile System
blockfile System
PrefixLength int
Résultat xBplusTreeBytes

Initialize() public static méthode

public static Initialize ( System treefile, System blockfile, int PrefixLength, int CultureId ) : xBplusTreeBytes
treefile System
blockfile System
PrefixLength int
CultureId int
Résultat xBplusTreeBytes

Initialize() public static méthode

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

Initialize() public static méthode

public static Initialize ( string treefileName, string blockfileName, int PrefixLength ) : xBplusTreeBytes
treefileName string
blockfileName string
PrefixLength int
Résultat xBplusTreeBytes

Initialize() public static méthode

public static Initialize ( string treefileName, string blockfileName, int PrefixLength, int CultureId ) : xBplusTreeBytes
treefileName string
blockfileName string
PrefixLength int
CultureId int
Résultat xBplusTreeBytes

Initialize() public static méthode

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

LimitBucketSize() public méthode

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

NextKey() public méthode

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

PrefixForByteCount() public méthode

public PrefixForByteCount ( string s, int maxbytecount ) : string
s string
maxbytecount int
Résultat string

ReOpen() public static méthode

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

ReOpen() public static méthode

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

ReadOnly() public static méthode

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

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

this() public méthode

public this ( string key ) : byte[]
key string
Résultat byte[]

xBplusTreeBytes() public méthode

public xBplusTreeBytes ( BplusTreeBytes tree, int prefixLength ) : System
tree BplusTreeBytes
prefixLength int
Résultat System

Property Details

BucketSizeLimit public_oe property

public int BucketSizeLimit
Résultat int

prefixLength public_oe property

public int prefixLength
Résultat int

tree public_oe property

public BplusTreeBytes,BplusDotNet tree
Résultat BplusTreeBytes