FdbTransactionLog.VisitRangeCommand

Namespace: FoundationDB.Filters.Logging · class

Implements: Command<FdbRangeResult>

Constructors

VisitRangeCommand

VisitRangeCommand(KeySelector begin, KeySelector end, bool snapshot, FdbRangeOptions options, int iteration)

Properties

ArgumentBytes

int? ArgumentBytes { get; }

Total size (in bytes) of the arguments

For selectors, only include the size of the keys

Begin

KeySelector Begin { get; }

Selector to the start of the range

End

KeySelector End { get; }

Selector to the end of the range

Iteration

int Iteration { get; }

Iteration number

Op

Operation Op { get; }

Return the type of operation

Options

FdbRangeOptions Options { get; }

Options of the range read

ResultBytes

int? ResultBytes { get; }

Total size (in bytes) of the result, or null if this operation does not produce a result

Includes the keys and values for range reads

Methods

GetArguments

string GetArguments(KeyResolver resolver)

Returns a formatted representation of the arguments, for logging purpose

GetResult

string GetResult(KeyResolver resolver)

Returns a formatted representation of the results, for logging purpose