C# 클래스 FoundationDB.Layers.Blobs.FdbHashSetCollection

Represents a collection of dictionaries of fields.
파일 보기 프로젝트 열기: BedeGaming/foundationdb-dotnet-client

공개 메소드들

메소드 설명
Delete ( IFdbTransaction trans, IFdbTuple id ) : void

Remove all fields of an hashset

DeleteValue ( IFdbTransaction trans, IFdbTuple id, string field ) : void

Remove a field of an hashset

FdbHashSetCollection ( FdbSubspace subspace ) : FoundationDB.Client
GetAsync ( IFdbReadOnlyTransaction trans, IFdbTuple id ) : Slice>>.Task

Return all fields of an hashset

GetAsync ( IFdbReadOnlyTransaction trans, IFdbTuple id, string fields ) : Slice>>.Task

Return one or more fields of an hashset

GetKeys ( IFdbReadOnlyTransaction trans, IFdbTuple id, CancellationToken cancellationToken = default(CancellationToken) ) : Task>

Return the list the names of all fields of an hashset

GetValueAsync ( IFdbReadOnlyTransaction trans, IFdbTuple id, string field ) : Task

Return the value of a specific field of an hashset

Set ( IFdbTransaction trans, IFdbTuple id, Slice>.IEnumerable fields ) : void
SetValue ( IFdbTransaction trans, IFdbTuple id, string field, Slice value ) : void

보호된 메소드들

메소드 설명
GetFieldKey ( IFdbTuple id, string field ) : Slice

Returns the key of a specific field of an HashSet: (subspace, id, field, )

GetKey ( IFdbTuple id ) : Slice

Returns the key prefix of an HashSet: (subspace, id, )

ParseFieldKey ( IFdbTuple key ) : string

메소드 상세

Delete() 공개 메소드

Remove all fields of an hashset
public Delete ( IFdbTransaction trans, IFdbTuple id ) : void
trans IFdbTransaction
id IFdbTuple
리턴 void

DeleteValue() 공개 메소드

Remove a field of an hashset
public DeleteValue ( IFdbTransaction trans, IFdbTuple id, string field ) : void
trans IFdbTransaction
id IFdbTuple
field string
리턴 void

FdbHashSetCollection() 공개 메소드

public FdbHashSetCollection ( FdbSubspace subspace ) : FoundationDB.Client
subspace FdbSubspace
리턴 FoundationDB.Client

GetAsync() 공개 메소드

Return all fields of an hashset
public GetAsync ( IFdbReadOnlyTransaction trans, IFdbTuple id ) : Slice>>.Task
trans IFdbReadOnlyTransaction Transaction that will be used for this request
id IFdbTuple Unique identifier of the hashset
리턴 Slice>>.Task

GetAsync() 공개 메소드

Return one or more fields of an hashset
public GetAsync ( IFdbReadOnlyTransaction trans, IFdbTuple id, string fields ) : Slice>>.Task
trans IFdbReadOnlyTransaction Transaction that will be used for this request
id IFdbTuple Unique identifier of the hashset
fields string List of the fields to read
리턴 Slice>>.Task

GetFieldKey() 보호된 메소드

Returns the key of a specific field of an HashSet: (subspace, id, field, )
protected GetFieldKey ( IFdbTuple id, string field ) : Slice
id IFdbTuple
field string
리턴 Slice

GetKey() 보호된 메소드

Returns the key prefix of an HashSet: (subspace, id, )
protected GetKey ( IFdbTuple id ) : Slice
id IFdbTuple
리턴 Slice

GetKeys() 공개 메소드

Return the list the names of all fields of an hashset
public GetKeys ( IFdbReadOnlyTransaction trans, IFdbTuple id, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
trans IFdbReadOnlyTransaction Transaction that will be used for this request
id IFdbTuple Unique identifier of the hashset
cancellationToken System.Threading.CancellationToken
리턴 Task>

GetValueAsync() 공개 메소드

Return the value of a specific field of an hashset
public GetValueAsync ( IFdbReadOnlyTransaction trans, IFdbTuple id, string field ) : Task
trans IFdbReadOnlyTransaction Transaction that will be used for this request
id IFdbTuple Unique identifier of the hashset
field string Name of the field to read
리턴 Task

ParseFieldKey() 보호된 메소드

protected ParseFieldKey ( IFdbTuple key ) : string
key IFdbTuple
리턴 string

Set() 공개 메소드

public Set ( IFdbTransaction trans, IFdbTuple id, Slice>.IEnumerable fields ) : void
trans IFdbTransaction
id IFdbTuple
fields Slice>.IEnumerable
리턴 void

SetValue() 공개 메소드

public SetValue ( IFdbTransaction trans, IFdbTuple id, string field, Slice value ) : void
trans IFdbTransaction
id IFdbTuple
field string
value Slice
리턴 void