Skip to content

Commit e7800ab

Browse files
committed
post-merge fixups
1 parent d770e3d commit e7800ab

File tree

3 files changed

+125
-2
lines changed

3 files changed

+125
-2
lines changed
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
using StackExchange.Redis;
2+
3+
namespace RESPite.StackExchange.Redis;
4+
5+
internal partial class RespContextDatabase
6+
{
7+
// Vector Set operations
8+
public Task<bool> VectorSetAddAsync(
9+
RedisKey key,
10+
VectorSetAddRequest request,
11+
CommandFlags flags = CommandFlags.None) => throw new NotImplementedException();
12+
13+
public Task<long> VectorSetLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None) =>
14+
throw new NotImplementedException();
15+
16+
public Task<int> VectorSetDimensionAsync(RedisKey key, CommandFlags flags = CommandFlags.None) =>
17+
throw new NotImplementedException();
18+
19+
public Task<Lease<float>?> VectorSetGetApproximateVectorAsync(
20+
RedisKey key,
21+
RedisValue member,
22+
CommandFlags flags = CommandFlags.None) => throw new NotImplementedException();
23+
24+
public Task<string?> VectorSetGetAttributesJsonAsync(
25+
RedisKey key,
26+
RedisValue member,
27+
CommandFlags flags = CommandFlags.None) => throw new NotImplementedException();
28+
29+
public Task<VectorSetInfo?> VectorSetInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None) =>
30+
throw new NotImplementedException();
31+
32+
public Task<bool> VectorSetContainsAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None) =>
33+
throw new NotImplementedException();
34+
35+
public Task<Lease<RedisValue>?> VectorSetGetLinksAsync(
36+
RedisKey key,
37+
RedisValue member,
38+
CommandFlags flags = CommandFlags.None) => throw new NotImplementedException();
39+
40+
public Task<Lease<VectorSetLink>?> VectorSetGetLinksWithScoresAsync(
41+
RedisKey key,
42+
RedisValue member,
43+
CommandFlags flags = CommandFlags.None) => throw new NotImplementedException();
44+
45+
public Task<RedisValue> VectorSetRandomMemberAsync(RedisKey key, CommandFlags flags = CommandFlags.None) =>
46+
throw new NotImplementedException();
47+
48+
public Task<RedisValue[]> VectorSetRandomMembersAsync(
49+
RedisKey key,
50+
long count,
51+
CommandFlags flags = CommandFlags.None) => throw new NotImplementedException();
52+
53+
public Task<bool> VectorSetRemoveAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None) =>
54+
throw new NotImplementedException();
55+
56+
public Task<bool> VectorSetSetAttributesJsonAsync(
57+
RedisKey key,
58+
RedisValue member,
59+
string attributesJson,
60+
CommandFlags flags = CommandFlags.None) =>
61+
throw new NotImplementedException();
62+
63+
public Task<Lease<VectorSetSimilaritySearchResult>?> VectorSetSimilaritySearchAsync(
64+
RedisKey key,
65+
VectorSetSimilaritySearchRequest query,
66+
CommandFlags flags = CommandFlags.None) =>
67+
throw new NotImplementedException();
68+
69+
public bool VectorSetAdd(RedisKey key, VectorSetAddRequest request, CommandFlags flags = CommandFlags.None) =>
70+
throw new NotImplementedException();
71+
72+
public long VectorSetLength(RedisKey key, CommandFlags flags = CommandFlags.None) =>
73+
throw new NotImplementedException();
74+
75+
public int VectorSetDimension(RedisKey key, CommandFlags flags = CommandFlags.None) =>
76+
throw new NotImplementedException();
77+
78+
public Lease<float>? VectorSetGetApproximateVector(
79+
RedisKey key,
80+
RedisValue member,
81+
CommandFlags flags = CommandFlags.None) => throw new NotImplementedException();
82+
83+
public string?
84+
VectorSetGetAttributesJson(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None) =>
85+
throw new NotImplementedException();
86+
87+
public VectorSetInfo? VectorSetInfo(RedisKey key, CommandFlags flags = CommandFlags.None) =>
88+
throw new NotImplementedException();
89+
90+
public bool VectorSetContains(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None) =>
91+
throw new NotImplementedException();
92+
93+
public Lease<RedisValue>?
94+
VectorSetGetLinks(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None) =>
95+
throw new NotImplementedException();
96+
97+
public Lease<VectorSetLink>? VectorSetGetLinksWithScores(
98+
RedisKey key,
99+
RedisValue member,
100+
CommandFlags flags = CommandFlags.None) => throw new NotImplementedException();
101+
102+
public RedisValue VectorSetRandomMember(RedisKey key, CommandFlags flags = CommandFlags.None) =>
103+
throw new NotImplementedException();
104+
105+
public RedisValue[] VectorSetRandomMembers(RedisKey key, long count, CommandFlags flags = CommandFlags.None) =>
106+
throw new NotImplementedException();
107+
108+
public bool VectorSetRemove(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None) =>
109+
throw new NotImplementedException();
110+
111+
public bool VectorSetSetAttributesJson(
112+
RedisKey key,
113+
RedisValue member,
114+
string attributesJson,
115+
CommandFlags flags = CommandFlags.None) =>
116+
throw new NotImplementedException();
117+
118+
public Lease<VectorSetSimilaritySearchResult>? VectorSetSimilaritySearch(
119+
RedisKey key,
120+
VectorSetSimilaritySearchRequest query,
121+
CommandFlags flags = CommandFlags.None) =>
122+
throw new NotImplementedException();
123+
}

tests/BasicTest/SlowConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace BasicTest;
44

5-
internal class SlowConfig : CustomConfig
5+
internal sealed class SlowConfig : CustomConfig
66
{
77
protected override Job Configure(Job j)
88
=> j.WithLaunchCount(1)

tests/RESPite.Tests/OperationUnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public void CoreValueTaskToTaskSupportsCancellation()
192192
#endif
193193
}
194194

195-
private class TestAwaitable : IValueTaskSource
195+
private sealed class TestAwaitable : IValueTaskSource
196196
{
197197
private ManualResetValueTaskSourceCore<int> _core;
198198
public ValueTask AsValueTask() => new(this, _core.Version);

0 commit comments

Comments
 (0)