C# Class BplusDotNet.xBplusTreeBytes

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

Public Properties

Property Type Description
BucketSizeLimit int
prefixLength int
tree BplusTreeBytes

Public Methods

Method 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 method

public Abort ( ) : void
return void

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

FindBucketForPrefix() public method

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

Initialize() public static method

public static Initialize ( System treefile, System blockfile, int PrefixLength, int CultureId ) : xBplusTreeBytes
treefile System
blockfile System
PrefixLength int
CultureId int
return xBplusTreeBytes

Initialize() public static method

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
return xBplusTreeBytes

Initialize() public static method

public static Initialize ( string treefileName, string blockfileName, int PrefixLength ) : xBplusTreeBytes
treefileName string
blockfileName string
PrefixLength int
return xBplusTreeBytes

Initialize() public static method

public static Initialize ( string treefileName, string blockfileName, int PrefixLength, int CultureId ) : xBplusTreeBytes
treefileName string
blockfileName string
PrefixLength int
CultureId int
return xBplusTreeBytes

Initialize() public static method

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
return xBplusTreeBytes

LimitBucketSize() public method

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

NextKey() public method

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

PrefixForByteCount() public method

public PrefixForByteCount ( string s, int maxbytecount ) : string
s string
maxbytecount int
return string

ReOpen() public static method

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

ReOpen() public static method

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

ReadOnly() public static method

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

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[]

xBplusTreeBytes() public method

public xBplusTreeBytes ( BplusTreeBytes tree, int prefixLength ) : System
tree BplusTreeBytes
prefixLength int
return System

Property Details

BucketSizeLimit public_oe property

public int BucketSizeLimit
return int

prefixLength public_oe property

public int prefixLength
return int

tree public_oe property

public BplusTreeBytes,BplusDotNet tree
return BplusTreeBytes