C# Class DBreeze.LianaTrie.LTrieRow

Datei anzeigen Open project: hhblaze/DBreeze Class Usage Examples

Public Properties

Property Type Description
Key byte[]
Value byte[]
ValueFullLength uint
ValueIsReadOut bool
ValueStartPointer long

Public Methods

Method Description
GetFullValue ( bool useCache ) : byte[]

Returns either value as byte array or null if value doesn't exist

GetPartialValue ( uint startIndex, uint length, bool useCache ) : byte[]

Returns either value partially or null

LTrieRow ( LTrieRootNode root ) : System

Method Details

GetFullValue() public method

Returns either value as byte array or null if value doesn't exist
public GetFullValue ( bool useCache ) : byte[]
useCache bool if true, then only committed data will be shown
return byte[]

GetPartialValue() public method

Returns either value partially or null
public GetPartialValue ( uint startIndex, uint length, bool useCache ) : byte[]
startIndex uint
length uint
useCache bool if true, then only committed data will be shown
return byte[]

LTrieRow() public method

public LTrieRow ( LTrieRootNode root ) : System
root LTrieRootNode
return System

Property Details

Key public_oe property

Default is null
public byte[] Key
return byte[]

Value public_oe property

public byte[] Value
return byte[]

ValueFullLength public_oe property

If ValueStartPointer == -1, has no meaning
public uint ValueFullLength
return uint

ValueIsReadOut public_oe property

public bool ValueIsReadOut
return bool

ValueStartPointer public_oe property

Represents pointer to the value in physical file, remember for READ must come via sync-cache -1 if not defined
public long ValueStartPointer
return long