C# Class Raven.Storage.Managed.Data.Tree

Mostra file Open project: markrendle/ravendb Class Usage Examples

Public Methods

Method Description
Add ( JToken key, long documentPosition ) : void
FindNode ( JToken key ) : TreeNode
FindValue ( JToken key ) : long?
Flush ( ) : void
GetLeftMost ( ) : JToken
GetRightMost ( ) : JToken
IndexScan ( ) : IEnumerable
Remove ( JToken key ) : void
ReverseScanFromInclusive ( JToken key ) : IEnumerable
ScanFromExclusive ( JToken key ) : IEnumerable
ScanFromInclusive ( JToken key ) : IEnumerable
Tree ( Stream reader, Stream writer, StartMode mode ) : System

Private Methods

Method Description
ReadJToken ( ) : JToken
ReadNode ( StreamPosition streamPosition ) : TreeNode
ReadPositionInFile ( ) : StreamPosition
Write ( JToken token ) : void
WriteNode ( TreeNode arg ) : long
WriteNodeLazy ( TreeNode arg ) : StreamPosition

Method Details

Add() public method

public Add ( JToken key, long documentPosition ) : void
key JToken
documentPosition long
return void

FindNode() public method

public FindNode ( JToken key ) : TreeNode
key JToken
return TreeNode

FindValue() public method

public FindValue ( JToken key ) : long?
key JToken
return long?

Flush() public method

public Flush ( ) : void
return void

GetLeftMost() public method

public GetLeftMost ( ) : JToken
return JToken

GetRightMost() public method

public GetRightMost ( ) : JToken
return JToken

IndexScan() public method

public IndexScan ( ) : IEnumerable
return IEnumerable

Remove() public method

public Remove ( JToken key ) : void
key JToken
return void

ReverseScanFromInclusive() public method

public ReverseScanFromInclusive ( JToken key ) : IEnumerable
key JToken
return IEnumerable

ScanFromExclusive() public method

public ScanFromExclusive ( JToken key ) : IEnumerable
key JToken
return IEnumerable

ScanFromInclusive() public method

public ScanFromInclusive ( JToken key ) : IEnumerable
key JToken
return IEnumerable

Tree() public method

public Tree ( Stream reader, Stream writer, StartMode mode ) : System
reader Stream
writer Stream
mode StartMode
return System