C# Class FoundationDB.Filters.PrefixRewriterTransaction

[PROOF OF CONCEPT, DO NOT USE YET!] Transaction filter that automatically appends/remove a fixed prefix to all keys
Inheritance: FoundationDB.Filters.FdbTransactionFilter
Mostra file Open project: BedeGaming/foundationdb-dotnet-client

Public Methods

Method Description
AddConflictRange ( Slice beginKeyInclusive, Slice endKeyExclusive, FdbConflictRangeType type ) : void
Atomic ( Slice key, Slice param, FdbMutationType mutation ) : void
Clear ( Slice key ) : void
ClearRange ( Slice beginKeyInclusive, Slice endKeyExclusive ) : void
GetAddressesForKeyAsync ( Slice key ) : Task
GetAsync ( Slice key ) : Task
GetKeyAsync ( FdbKeySelector selector ) : Task
GetKeysAsync ( FdbKeySelector selectors ) : Task
GetRange ( FdbKeySelector beginInclusive, FdbKeySelector endExclusive, FoundationDB.Client.FdbRangeOptions options = null ) : Slice>>.FdbRangeQuery
GetRangeAsync ( FdbKeySelector beginInclusive, FdbKeySelector endExclusive, FoundationDB.Client.FdbRangeOptions options = null, int iteration ) : Task
GetValuesAsync ( Slice keys ) : Task
PrefixRewriterTransaction ( FdbSubspace prefix, IFdbTransaction trans, bool ownsTransaction ) : FoundationDB.Client
Set ( Slice key, Slice value ) : void
Watch ( Slice key, CancellationToken cancellationToken ) : FoundationDB.Client.FdbWatch

Private Methods

Method Description
Decode ( Slice key ) : Slice
Decode ( Slice keys ) : Slice[]
Encode ( FdbKeySelector selector ) : FdbKeySelector
Encode ( FdbKeySelector selectors ) : FdbKeySelector[]
Encode ( Slice key ) : Slice
Encode ( Slice keys ) : Slice[]

Method Details

AddConflictRange() public method

public AddConflictRange ( Slice beginKeyInclusive, Slice endKeyExclusive, FdbConflictRangeType type ) : void
beginKeyInclusive Slice
endKeyExclusive Slice
type FdbConflictRangeType
return void

Atomic() public method

public Atomic ( Slice key, Slice param, FdbMutationType mutation ) : void
key Slice
param Slice
mutation FdbMutationType
return void

Clear() public method

public Clear ( Slice key ) : void
key Slice
return void

ClearRange() public method

public ClearRange ( Slice beginKeyInclusive, Slice endKeyExclusive ) : void
beginKeyInclusive Slice
endKeyExclusive Slice
return void

GetAddressesForKeyAsync() public method

public GetAddressesForKeyAsync ( Slice key ) : Task
key Slice
return Task

GetAsync() public method

public GetAsync ( Slice key ) : Task
key Slice
return Task

GetKeyAsync() public method

public GetKeyAsync ( FdbKeySelector selector ) : Task
selector FdbKeySelector
return Task

GetKeysAsync() public method

public GetKeysAsync ( FdbKeySelector selectors ) : Task
selectors FdbKeySelector
return Task

GetRange() public method

public GetRange ( FdbKeySelector beginInclusive, FdbKeySelector endExclusive, FoundationDB.Client.FdbRangeOptions options = null ) : Slice>>.FdbRangeQuery
beginInclusive FdbKeySelector
endExclusive FdbKeySelector
options FoundationDB.Client.FdbRangeOptions
return Slice>>.FdbRangeQuery

GetRangeAsync() public method

public GetRangeAsync ( FdbKeySelector beginInclusive, FdbKeySelector endExclusive, FoundationDB.Client.FdbRangeOptions options = null, int iteration ) : Task
beginInclusive FdbKeySelector
endExclusive FdbKeySelector
options FoundationDB.Client.FdbRangeOptions
iteration int
return Task

GetValuesAsync() public method

public GetValuesAsync ( Slice keys ) : Task
keys Slice
return Task

PrefixRewriterTransaction() public method

public PrefixRewriterTransaction ( FdbSubspace prefix, IFdbTransaction trans, bool ownsTransaction ) : FoundationDB.Client
prefix FdbSubspace
trans IFdbTransaction
ownsTransaction bool
return FoundationDB.Client

Set() public method

public Set ( Slice key, Slice value ) : void
key Slice
value Slice
return void

Watch() public method

public Watch ( Slice key, CancellationToken cancellationToken ) : FoundationDB.Client.FdbWatch
key Slice
cancellationToken System.Threading.CancellationToken
return FoundationDB.Client.FdbWatch