FdbTransactionLog.GetCommand<TResult>

Namespace: FoundationDB.Filters.Logging · class

Implements: Command<TResult>

Represents a GetAsync operation

Constructors

GetCommand<TResult>

GetCommand<TResult>(Slice key, bool snapshot)

Properties

ArgumentBytes

int? ArgumentBytes { get; }

Total size (in bytes) of the arguments

For selectors, only include the size of the keys

Key

Slice Key { get; }

Key read from the database

Op

Operation Op { get; }

Return the type of operation

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