statelydb 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/api/db/scan_pb.rb +1 -1
- data/lib/statelydb.rb +1 -1
- data/lib/version.rb +1 -1
- data/rbi/db/scan_pb.rbi +8 -8
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35e3251c32e9dd82dcb0d6e0d8da8b43f276d1756c0650027e8b12216760d663
|
4
|
+
data.tar.gz: c724f83a7fb1a78d347ee476231ec05d9511710222c051c988ca65af955bda71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f79157f6c53116af46845a1e2bd965f6a9f3c9b954b8064e6b9d70cf2ae8ef5700e0233a2fc4f25b66acc45df3ecb1345a0053dd73ea98329a72bddb7121bcb0
|
7
|
+
data.tar.gz: 851156f5b067b1ca34efaf4a44a78184018892fb8a60f120dfec13b66e8f6695ab31ef1d99032494111ad03c5be6c7e5b5c697223c2a96d1181fd43f25d2ffc6
|
data/lib/api/db/scan_pb.rb
CHANGED
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'api/db/list_filters_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\rdb/scan.proto\x12\nstately.db\x1a\x15\x64\x62/list_filters.proto\"\
|
10
|
+
descriptor_data = "\n\rdb/scan.proto\x12\nstately.db\x1a\x15\x64\x62/list_filters.proto\"\xa7\x02\n\x10\x42\x65ginScanRequest\x12\x19\n\x08store_id\x18\x01 \x01(\x04R\x07storeId\x12H\n\x11\x66ilter_conditions\x18\x02 \x03(\x0b\x32\x1b.stately.db.FilterConditionR\x10\x66ilterConditions\x12\x14\n\x05limit\x18\x03 \x01(\rR\x05limit\x12O\n\x13segmentation_params\x18\x04 \x01(\x0b\x32\x1e.stately.db.SegmentationParamsR\x12segmentationParams\x12*\n\x11schema_version_id\x18\x05 \x01(\rR\x0fschemaVersionId\x12\x1b\n\tschema_id\x18\x06 \x01(\x04R\x08schemaId\"`\n\x12SegmentationParams\x12%\n\x0etotal_segments\x18\x05 \x01(\rR\rtotalSegments\x12#\n\rsegment_index\x18\x06 \x01(\rR\x0csegmentIndexBd\n\x0e\x63om.stately.dbB\tScanProtoP\x01\xa2\x02\x03SDX\xaa\x02\nStately.Db\xca\x02\nStately\\Db\xe2\x02\x16Stately\\Db\\GPBMetadata\xea\x02\x0bStately::Dbb\x06proto3"
|
11
11
|
|
12
12
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
data/lib/statelydb.rb
CHANGED
@@ -267,7 +267,7 @@ module StatelyDB
|
|
267
267
|
req = Stately::Db::BeginScanRequest.new(
|
268
268
|
store_id: @store_id,
|
269
269
|
limit:,
|
270
|
-
|
270
|
+
filter_conditions: build_filters(item_types: item_types, cel_filters: cel_filters),
|
271
271
|
schema_id: @schema::SCHEMA_ID,
|
272
272
|
schema_version_id: @schema::SCHEMA_VERSION_ID
|
273
273
|
)
|
data/lib/version.rb
CHANGED
data/rbi/db/scan_pb.rbi
CHANGED
@@ -9,7 +9,7 @@ class Stately::Db::BeginScanRequest
|
|
9
9
|
sig do
|
10
10
|
params(
|
11
11
|
store_id: T.nilable(Integer),
|
12
|
-
|
12
|
+
filter_conditions: T.nilable(T::Array[T.nilable(Stately::Db::FilterCondition)]),
|
13
13
|
limit: T.nilable(Integer),
|
14
14
|
segmentation_params: T.nilable(Stately::Db::SegmentationParams),
|
15
15
|
schema_version_id: T.nilable(Integer),
|
@@ -18,7 +18,7 @@ class Stately::Db::BeginScanRequest
|
|
18
18
|
end
|
19
19
|
def initialize(
|
20
20
|
store_id: 0,
|
21
|
-
|
21
|
+
filter_conditions: [],
|
22
22
|
limit: 0,
|
23
23
|
segmentation_params: nil,
|
24
24
|
schema_version_id: 0,
|
@@ -44,25 +44,25 @@ class Stately::Db::BeginScanRequest
|
|
44
44
|
def clear_store_id
|
45
45
|
end
|
46
46
|
|
47
|
-
#
|
47
|
+
# filter_conditions is a set of conditions to filter the scan result by.
|
48
48
|
# If no conditions are provided, all items in the store will be returned.
|
49
49
|
# Filter conditions are combined with OR.
|
50
50
|
sig { returns(T::Array[T.nilable(Stately::Db::FilterCondition)]) }
|
51
|
-
def
|
51
|
+
def filter_conditions
|
52
52
|
end
|
53
53
|
|
54
|
-
#
|
54
|
+
# filter_conditions is a set of conditions to filter the scan result by.
|
55
55
|
# If no conditions are provided, all items in the store will be returned.
|
56
56
|
# Filter conditions are combined with OR.
|
57
57
|
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
58
|
-
def
|
58
|
+
def filter_conditions=(value)
|
59
59
|
end
|
60
60
|
|
61
|
-
#
|
61
|
+
# filter_conditions is a set of conditions to filter the scan result by.
|
62
62
|
# If no conditions are provided, all items in the store will be returned.
|
63
63
|
# Filter conditions are combined with OR.
|
64
64
|
sig { void }
|
65
|
-
def
|
65
|
+
def clear_filter_conditions
|
66
66
|
end
|
67
67
|
|
68
68
|
# limit is the maximum number of items to return. If this is not specified or
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statelydb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stately Cloud, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -58,14 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.73.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.73.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 13.3.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 13.3.0
|
69
83
|
description: Client for StatelyDB, a document database built on top of DynamoDB with
|
70
84
|
Elastic Schema that allows you to change your data model any time with automatic
|
71
85
|
backwards compatibility.
|