C# Класс BplusDotNet.xBplusTreeBytes

Bplustree with unlimited length strings (but only a fixed prefix is indexed in the tree directly).
Наследование: IByteTree
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BucketSizeLimit int
prefixLength int
tree BplusTreeBytes

Открытые методы

Метод Описание
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

Описание методов

Abort() публичный Метод

public Abort ( ) : void
Результат void

Commit() публичный Метод

public Commit ( ) : void
Результат void

Compare() публичный Метод

public Compare ( string left, string right ) : int
left string
right string
Результат int

ContainsKey() публичный Метод

public ContainsKey ( string key ) : bool
key string
Результат bool

FindBucketForPrefix() публичный Метод

public FindBucketForPrefix ( string key, xBucket &bucket, string &prefix, bool keyIsPrefix ) : bool
key string
bucket xBucket
prefix string
keyIsPrefix bool
Результат bool

FirstKey() публичный Метод

public FirstKey ( ) : string
Результат string

Get() публичный Метод

public Get ( string key, object defaultValue ) : object
key string
defaultValue object
Результат object

Initialize() публичный статический Метод

public static Initialize ( System treefile, System blockfile, int PrefixLength ) : xBplusTreeBytes
treefile System
blockfile System
PrefixLength int
Результат xBplusTreeBytes

Initialize() публичный статический Метод

public static Initialize ( System treefile, System blockfile, int PrefixLength, int CultureId ) : xBplusTreeBytes
treefile System
blockfile System
PrefixLength int
CultureId int
Результат xBplusTreeBytes

Initialize() публичный статический Метод

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
Результат xBplusTreeBytes

Initialize() публичный статический Метод

public static Initialize ( string treefileName, string blockfileName, int PrefixLength ) : xBplusTreeBytes
treefileName string
blockfileName string
PrefixLength int
Результат xBplusTreeBytes

Initialize() публичный статический Метод

public static Initialize ( string treefileName, string blockfileName, int PrefixLength, int CultureId ) : xBplusTreeBytes
treefileName string
blockfileName string
PrefixLength int
CultureId int
Результат xBplusTreeBytes

Initialize() публичный статический Метод

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
Результат xBplusTreeBytes

LimitBucketSize() публичный Метод

public LimitBucketSize ( int limit ) : void
limit int
Результат void

NextKey() публичный Метод

public NextKey ( string AfterThisKey ) : string
AfterThisKey string
Результат string

PrefixForByteCount() публичный Метод

public PrefixForByteCount ( string s, int maxbytecount ) : string
s string
maxbytecount int
Результат string

ReOpen() публичный статический Метод

public static ReOpen ( System treefile, System blockfile ) : xBplusTreeBytes
treefile System
blockfile System
Результат xBplusTreeBytes

ReOpen() публичный статический Метод

public static ReOpen ( string treefileName, string blockfileName ) : xBplusTreeBytes
treefileName string
blockfileName string
Результат xBplusTreeBytes

ReadOnly() публичный статический Метод

public static ReadOnly ( string treefileName, string blockfileName ) : xBplusTreeBytes
treefileName string
blockfileName string
Результат xBplusTreeBytes

Recover() публичный Метод

public Recover ( bool CorrectErrors ) : void
CorrectErrors bool
Результат void

RemoveKey() публичный Метод

public RemoveKey ( string key ) : void
key string
Результат void

Set() публичный Метод

public Set ( string key, object map ) : void
key string
map object
Результат void

SetFootPrintLimit() публичный Метод

public SetFootPrintLimit ( int limit ) : void
limit int
Результат void

Shutdown() публичный Метод

public Shutdown ( ) : void
Результат void

this() публичный Метод

public this ( string key ) : byte[]
key string
Результат byte[]

xBplusTreeBytes() публичный Метод

public xBplusTreeBytes ( BplusTreeBytes tree, int prefixLength ) : System
tree BplusTreeBytes
prefixLength int
Результат System

Описание свойств

BucketSizeLimit публичное свойство

public int BucketSizeLimit
Результат int

prefixLength публичное свойство

public int prefixLength
Результат int

tree публичное свойство

public BplusTreeBytes,BplusDotNet tree
Результат BplusTreeBytes