Method | Description | |
---|---|---|
AddConflictRange ( Slice beginKeyInclusive, Slice endKeyExclusive, FdbConflictRangeType type ) : void | ||
Atomic ( Slice key, Slice param, FdbMutationType type ) : void | ||
Cancel ( ) : void | ||
Clear ( Slice key ) : void | ||
ClearRange ( Slice beginKeyInclusive, Slice endKeyExclusive ) : void | ||
CommitAsync ( |
Attempts to commit the sets and clears previously applied to the database snapshot represented by this transaction to the actual database. The commit may or may not succeed – in particular, if a conflicting transaction previously committed, then the commit must fail in order to preserve transactional isolation. If the commit does succeed, the transaction is durably committed to the database and all subsequently started transactions will observe its effects. As with other client/server databases, in some failure scenarios a client may be unable to determine whether a transaction succeeded. In these cases, CommitAsync() will throw CommitUnknownResult error. The OnErrorAsync() function treats this error as retryable, so retry loops that don’t check for CommitUnknownResult could execute the transaction twice. In these cases, you must consider the idempotence of the transaction. |
|
Dispose ( ) : void | ||
FdbNativeTransaction ( |
||
GetAddressesForKeyAsync ( Slice key, |
||
GetAsync ( Slice key, bool snapshot, |
||
GetCommittedVersion ( ) : long | ||
GetKeyAsync ( FdbKeySelector selector, bool snapshot, |
||
GetKeysAsync ( FdbKeySelector selectors, bool snapshot, |
||
GetRangeAsync ( FdbKeySelector begin, FdbKeySelector end, FdbRangeOptions options, int iteration, bool snapshot, |
Asynchronously fetch a new page of results
|
|
GetReadVersionAsync ( |
||
GetValuesAsync ( Slice keys, bool snapshot, |
||
OnErrorAsync ( FdbError code, |
||
Reset ( ) : void | ||
Set ( Slice key, Slice value ) : void | ||
SetOption ( FdbTransactionOption option, Slice data ) : void | ||
SetReadVersion ( long version ) : void | ||
Watch ( Slice key, |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
GetKeyResult ( |
||
GetKeyValueArrayResult ( |
||
GetStringArrayResult ( |
||
GetValueResultBytes ( |
||
ResetInternal ( ) : void | ||
TryGetValueResult ( |
public AddConflictRange ( Slice beginKeyInclusive, Slice endKeyExclusive, FdbConflictRangeType type ) : void | ||
beginKeyInclusive | Slice | |
endKeyExclusive | Slice | |
type | FdbConflictRangeType | |
return | void |
public Atomic ( Slice key, Slice param, FdbMutationType type ) : void | ||
key | Slice | |
param | Slice | |
type | FdbMutationType | |
return | void |
public ClearRange ( Slice beginKeyInclusive, Slice endKeyExclusive ) : void | ||
beginKeyInclusive | Slice | |
endKeyExclusive | Slice | |
return | void |
public CommitAsync ( |
||
cancellationToken | ||
return | Task |
public FdbNativeTransaction ( |
||
db | ||
handle | ||
return | FoundationDB.Client.Core |
public GetAddressesForKeyAsync ( Slice key, |
||
key | Slice | |
cancellationToken | ||
return | Task |
public GetAsync ( Slice key, bool snapshot, |
||
key | Slice | |
snapshot | bool | |
cancellationToken | ||
return | Task |
public GetKeyAsync ( FdbKeySelector selector, bool snapshot, |
||
selector | FdbKeySelector | |
snapshot | bool | |
cancellationToken | ||
return | Task |
public GetKeysAsync ( FdbKeySelector selectors, bool snapshot, |
||
selectors | FdbKeySelector | |
snapshot | bool | |
cancellationToken | ||
return | Task |
public GetRangeAsync ( FdbKeySelector begin, FdbKeySelector end, FdbRangeOptions options, int iteration, bool snapshot, |
||
begin | FdbKeySelector | |
end | FdbKeySelector | |
options | FdbRangeOptions | |
iteration | int | |
snapshot | bool | |
cancellationToken | ||
return | Task |
public GetReadVersionAsync ( |
||
cancellationToken | ||
return | Task |
public GetValuesAsync ( Slice keys, bool snapshot, |
||
keys | Slice | |
snapshot | bool | |
cancellationToken | ||
return | Task |
public OnErrorAsync ( FdbError code, |
||
code | FdbError | |
cancellationToken | ||
return | Task |
public SetOption ( FdbTransactionOption option, Slice data ) : void | ||
option | FdbTransactionOption | |
data | Slice | |
return | void |
public SetReadVersion ( long version ) : void | ||
version | long | |
return | void |
public Watch ( Slice key, |
||
key | Slice | |
cancellationToken | ||
return | FdbWatch |