File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ use thiserror::Error;
20
20
21
21
pub use b64_encode:: * ;
22
22
pub use sealed:: { SealedTableEntry , UnsealSpec } ;
23
- pub use sealer:: Sealer ;
23
+ pub use sealer:: { Sealer , UnsealedIndex } ;
24
24
pub use unsealed:: Unsealed ;
25
25
26
26
/// In order to stop indexes from exploding with indexes on large strings, cap the number of terms
Original file line number Diff line number Diff line change @@ -169,6 +169,10 @@ impl PreparedRecord {
169
169
. map ( |( key, attr) | ( key. as_str ( ) , attr) )
170
170
}
171
171
172
+ pub fn unsealed_indexes ( & self ) -> & [ UnsealedIndex ] {
173
+ & self . sealer . unsealed_indexes
174
+ }
175
+
172
176
pub fn prepare_record < R > ( record : R ) -> Result < Self , SealError >
173
177
where
174
178
R : Searchable + Identifiable ,
@@ -228,6 +232,10 @@ impl PreparedRecord {
228
232
pub fn type_name ( & self ) -> & str {
229
233
& self . sealer . type_name
230
234
}
235
+
236
+ pub fn protected_indexes ( & self ) -> & [ ( Cow < ' static , str > , IndexType ) ] {
237
+ & self . protected_indexes
238
+ }
231
239
}
232
240
233
241
impl DynamoRecordPatch {
You can’t perform that action at this time.
0 commit comments