Skip to content

Commit 6d9d60b

Browse files
author
flow-php
committed
1 parent f925e6d commit 6d9d60b

File tree

30 files changed

+3679
-78
lines changed

30 files changed

+3679
-78
lines changed

changelog/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,11 @@ <h2 class="my-2 text-2xl font-semibold tracking-wide">Loads</h2>
215215
</div>
216216

217217
<section id="changelog" class="py-10 px-2 sm:px-4 mx-auto max-w-screen-xl">
218-
<h2><a id="flow-php-unreleased---2025-02-19" href="#content-unreleased---2025-02-19" class="mr-2" aria-hidden="true" title="Permalink">#</a>[Unreleased] - 2025-02-19</h2>
218+
<h2><a id="flow-php-unreleased---2025-02-20" href="#content-unreleased---2025-02-20" class="mr-2" aria-hidden="true" title="Permalink">#</a>[Unreleased] - 2025-02-20</h2>
219219
<h3><a id="flow-php-added" href="#content-added" class="mr-2" aria-hidden="true" title="Permalink">#</a>Added</h3>
220220
<ul>
221+
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1484">#1484</a> - <strong>Added function StringBefore and Tests</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/f-lapinski">@f-lapinski</a></li>
222+
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1484">#1484</a> - <strong>Including needle is set false by default</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/f-lapinski">@f-lapinski</a></li>
221223
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1485">#1485</a> - <strong>Added function StringBefore and Tests stringAfter($needle, $includingNeedle including needle is set false by default</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/f-lapinski">@f-lapinski</a></li>
222224
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1477">#1477</a> - <strong>Add Title function with argument allWords set false as default with Tests</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/f-lapinski">@f-lapinski</a></li>
223225
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1475">#1475</a> - <strong>Early detection of XML type in dbal bulk</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/norberttech">@norberttech</a></li>

documentation/api/bridge/symfony/http-foundation/classes/Flow-Bridge-Symfony-HttpFoundation-DataStream.html

Lines changed: 778 additions & 0 deletions
Large diffs are not rendered by default.

documentation/api/bridge/symfony/http-foundation/classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-AddRowIndex-StartFrom.html

Lines changed: 370 additions & 0 deletions
Large diffs are not rendered by default.

documentation/api/bridge/symfony/http-foundation/classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-AddRowIndex.html

Lines changed: 436 additions & 0 deletions
Large diffs are not rendered by default.

documentation/api/bridge/symfony/http-foundation/classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html renamed to documentation/api/bridge/symfony/http-foundation/classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Fil
105105

106106
<article class="phpdocumentor-element -class">
107107
<h2 class="phpdocumentor-content__title">
108-
Transformations
108+
BatchSize
109109

110110

111111

@@ -125,14 +125,20 @@ <h2 class="phpdocumentor-content__title">
125125
</div>
126126

127127
<aside class="phpdocumentor-element-found-in">
128-
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/Transformations.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-transformations.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/Transformations.php">Transformations.php</abbr></a></abbr>
128+
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/BatchSize.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-batchsize.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/BatchSize.php">BatchSize.php</abbr></a></abbr>
129129
:
130-
<span class="phpdocumentor-element-found-in__line">9</span>
130+
<span class="phpdocumentor-element-found-in__line">18</span>
131131

132132
</aside>
133133

134-
134+
<p class="phpdocumentor-summary">Sets batch size for DataFrame.</p>
135+
135136

137+
<section class="phpdocumentor-description"><p>Small batch size can be useful when processing large data sets since only one row is processed at a time.
138+
This means that while processing large data sets, memory usage is kept low.</p>
139+
<p>Normally flow allows to use batch size -1 (which means no batches) but it defeats the purpose of using this transformation on
140+
Data Streams.</p>
141+
</section>
136142

137143

138144

@@ -143,7 +149,7 @@ <h2 class="phpdocumentor-content__title">
143149

144150
<h4 id="toc-interfaces">
145151
Interfaces
146-
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#toc-interfaces" class="headerlink"><i class="fas fa-link"></i></a>
152+
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#toc-interfaces" class="headerlink"><i class="fas fa-link"></i></a>
147153

148154
</h4>
149155
<dl class="phpdocumentor-table-of-contents">
@@ -158,18 +164,18 @@ <h4 id="toc-interfaces">
158164

159165
<h4 id="toc-methods">
160166
Methods
161-
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
167+
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
162168

163169
</h4>
164170
<dl class="phpdocumentor-table-of-contents">
165171
<dt class="phpdocumentor-table-of-contents__entry -method -public">
166-
<a class="" href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#method___construct">__construct()</a>
172+
<a class="" href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#method___construct">__construct()</a>
167173
<span>
168174
&nbsp;: mixed </span>
169175
</dt>
170176

171177
<dt class="phpdocumentor-table-of-contents__entry -method -public">
172-
<a class="" href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#method_transform">transform()</a>
178+
<a class="" href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#method_transform">transform()</a>
173179
<span>
174180
&nbsp;: <abbr title="\Flow\ETL\DataFrame">DataFrame</abbr> </span>
175181
</dt>
@@ -185,7 +191,7 @@ <h4 id="toc-methods">
185191
<section class="phpdocumentor-methods">
186192
<h3 class="phpdocumentor-elements__header" id="methods">
187193
Methods
188-
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
194+
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
189195

190196
</h3>
191197
<article
@@ -196,20 +202,20 @@ <h3 class="phpdocumentor-elements__header" id="methods">
196202
>
197203
<h4 class="phpdocumentor-element__name" id="method___construct">
198204
__construct()
199-
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
205+
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
200206

201207
</h4>
202208
<aside class="phpdocumentor-element-found-in">
203-
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/Transformations.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-transformations.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/Transformations.php">Transformations.php</abbr></a></abbr>
209+
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/BatchSize.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-batchsize.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/BatchSize.php">BatchSize.php</abbr></a></abbr>
204210
:
205-
<span class="phpdocumentor-element-found-in__line">16</span>
211+
<span class="phpdocumentor-element-found-in__line">23</span>
206212

207213
</aside>
208214

209215

210216
<code class="phpdocumentor-code phpdocumentor-signature ">
211217
<span class="phpdocumentor-signature__visibility">public</span>
212-
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Flow\ETL\Transformation">Transformation</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__variadic-operator">...</span><span class="phpdocumentor-signature__argument__name">$transformations</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
218+
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int<1, max>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$size</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
213219

214220
<div class="phpdocumentor-label-line">
215221
</div>
@@ -218,8 +224,8 @@ <h4 class="phpdocumentor-element__name" id="method___construct">
218224
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
219225
<dl class="phpdocumentor-argument-list">
220226
<dt class="phpdocumentor-argument-list__entry">
221-
<span class="phpdocumentor-signature__argument__name">$transformations</span>
222-
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Flow\ETL\Transformation">Transformation</abbr></span>
227+
<span class="phpdocumentor-signature__argument__name">$size</span>
228+
: <span class="phpdocumentor-signature__argument__return-type">int<1, max></span>
223229
</dt>
224230
<dd class="phpdocumentor-argument-list__definition">
225231

@@ -240,13 +246,13 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
240246
>
241247
<h4 class="phpdocumentor-element__name" id="method_transform">
242248
transform()
243-
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#method_transform" class="headerlink"><i class="fas fa-link"></i></a>
249+
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#method_transform" class="headerlink"><i class="fas fa-link"></i></a>
244250

245251
</h4>
246252
<aside class="phpdocumentor-element-found-in">
247-
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/Transformations.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-transformations.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/Transformations.php">Transformations.php</abbr></a></abbr>
253+
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/BatchSize.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-batchsize.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/BatchSize.php">BatchSize.php</abbr></a></abbr>
248254
:
249-
<span class="phpdocumentor-element-found-in__line">21</span>
255+
<span class="phpdocumentor-element-found-in__line">30</span>
250256

251257
</aside>
252258

@@ -286,7 +292,7 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
286292
<div class="phpdocumentor-modal-bg" data-exit-button></div>
287293
<div class="phpdocumentor-modal-container">
288294
<div class="phpdocumentor-modal-content">
289-
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/Transformations.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
295+
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/BatchSize.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
290296
</div>
291297
<button data-exit-button class="phpdocumentor-modal__close">&times;</button>
292298
</div>
@@ -385,16 +391,16 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
385391
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
386392
<li>
387393
<ul class="phpdocumentor-list -clean">
388-
<li><a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#toc-methods">Methods</a></li>
394+
<li><a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#toc-methods">Methods</a></li>
389395
</ul>
390396
</li>
391397

392398

393399
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
394400
<li>
395401
<ul class="phpdocumentor-list -clean">
396-
<li class=""><a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#method___construct">__construct()</a></li>
397-
<li class=""><a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#method_transform">transform()</a></li>
402+
<li class=""><a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#method___construct">__construct()</a></li>
403+
<li class=""><a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#method_transform">transform()</a></li>
398404
</ul>
399405
</li>
400406
</ul>
@@ -414,7 +420,7 @@ <h2 class="phpdocumentor-search-results__title">Search results</h2>
414420
</section>
415421
</section>
416422
</div>
417-
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-Transformations.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
423+
<a href="classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-BatchSize.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
418424

419425
</main>
420426

documentation/api/bridge/symfony/http-foundation/classes/Flow-Bridge-Symfony-HttpFoundation-Transformation-MaskColumns.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,15 @@ <h2 class="phpdocumentor-content__title">
127127
<aside class="phpdocumentor-element-found-in">
128128
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/MaskColumns.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-maskcolumns.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/MaskColumns.php">MaskColumns.php</abbr></a></abbr>
129129
:
130-
<span class="phpdocumentor-element-found-in__line">10</span>
130+
<span class="phpdocumentor-element-found-in__line">14</span>
131131

132132
</aside>
133133

134-
134+
<p class="phpdocumentor-summary">Mask columns in DataFrame by replacing their values with a mask.</p>
135+
135136

137+
<section class="phpdocumentor-description"><p>If column does not exist in DataFrame, it will be added with a mask value.</p>
138+
</section>
136139

137140

138141

@@ -202,7 +205,7 @@ <h4 class="phpdocumentor-element__name" id="method___construct">
202205
<aside class="phpdocumentor-element-found-in">
203206
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/MaskColumns.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-maskcolumns.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/MaskColumns.php">MaskColumns.php</abbr></a></abbr>
204207
:
205-
<span class="phpdocumentor-element-found-in__line">12</span>
208+
<span class="phpdocumentor-element-found-in__line">16</span>
206209

207210
</aside>
208211

@@ -253,7 +256,7 @@ <h4 class="phpdocumentor-element__name" id="method_transform">
253256
<aside class="phpdocumentor-element-found-in">
254257
<abbr class="phpdocumentor-element-found-in__file" title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/MaskColumns.php"><a href="files/src-bridge-symfony-http-foundation-src-flow-bridge-symfony-httpfoundation-transformation-maskcolumns.html"><abbr title="src/bridge/symfony/http-foundation/src/Flow/Bridge/Symfony/HttpFoundation/Transformation/MaskColumns.php">MaskColumns.php</abbr></a></abbr>
255258
:
256-
<span class="phpdocumentor-element-found-in__line">16</span>
259+
<span class="phpdocumentor-element-found-in__line">20</span>
257260

258261
</aside>
259262

0 commit comments

Comments
 (0)