File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 89
89
"data%T.h5",
90
90
api::AccessType::READ_ONLY);
91
91
92
+ // optional: accumulate heavy load
93
+ // operations until .flush()
94
+ // series.setFlush(api::FlushType::DEFER);
92
95
93
96
Python
94
97
^^^^^^
@@ -99,6 +102,10 @@ Python
99
102
"data%T.h5",
100
103
api.Access_Type.read_only)
101
104
105
+ # optional: accumulate heavy load
106
+ # operations until .flush()
107
+ # series.set_flush(api.Flush_Type.defer)
108
+
102
109
Iteration
103
110
---------
104
111
@@ -268,6 +275,11 @@ Python
268
275
269
276
series.flush()
270
277
278
+ .. note ::
279
+
280
+ You can *skip this step * if your series flush mode is *not * ``FlushType::DEFER ``/``Flush_Type.defer ``.
281
+ With the convenient default (``FlushType::DIRECT ``/``Flush_Type.direct ``), we call ``flush() `` implicitly in ``load_chunk() ``.
282
+
271
283
Data
272
284
-----
273
285
Original file line number Diff line number Diff line change 87
87
"myOutput/data_%05T.h5",
88
88
api::AccessType::CREATE);
89
89
90
+ // optional: accumulate heavy store
91
+ // operations until .flush()
92
+ // series.setFlush(api::FlushType::DEFER);
90
93
91
94
Python
92
95
^^^^^^
@@ -97,6 +100,10 @@ Python
97
100
"myOutput/data_%05T.h5",
98
101
api.Access_Type.create)
99
102
103
+ # optional: accumulate heavy store
104
+ # operations until .flush()
105
+ # series.set_flush(api.Flush_Type.defer)
106
+
100
107
Iteration
101
108
---------
102
109
@@ -340,6 +347,11 @@ Python
340
347
341
348
series.flush()
342
349
350
+ .. note ::
351
+
352
+ You can *skip this step * if your series flush mode is *not * ``FlushType::DEFER ``/``Flush_Type.defer ``.
353
+ With the convenient default (``FlushType::DIRECT ``/``Flush_Type.direct ``), we call ``flush() `` implicitly in ``store_chunk() ``.
354
+
343
355
Close
344
356
-----
345
357
You can’t perform that action at this time.
0 commit comments