@@ -622,12 +622,12 @@ const (
622622 StreamingModeWantAll StreamingMode = - 1
623623
624624 // The default. The client doesn't know how much of the range it is likely
625- // to used and wants different performance concerns to be balanced. Only a
626- // small portion of data is transferred to the client initially (in order to
627- // minimize costs if the client doesn't read the entire range), and as the
628- // caller iterates over more items in the range larger batches will be
629- // transferred in order to minimize latency. After enough iterations, the
630- // iterator mode will eventually reach the same byte limit as “WANT_ALL“
625+ // to used and wants different performance concerns to be balanced.
626+ // Only a small portion of data is transferred to the client initially (in
627+ // order to minimize costs if the client doesn't read the entire range), and
628+ // as the caller iterates over more items in the range larger batches will
629+ // be transferred in order to minimize latency. After enough iterations,
630+ // the iterator mode will eventually reach the same byte limit as “WANT_ALL“
631631 StreamingModeIterator StreamingMode = 0
632632
633633 // Infrequently used. The client has passed a specific row limit and wants
@@ -637,25 +637,25 @@ const (
637637 // mode is used.
638638 StreamingModeExact StreamingMode = 1
639639
640- // Infrequently used. Transfer data in batches small enough to not be much
641- // more expensive than reading individual rows, to minimize cost if
640+ // Infrequently used. Transfer data in batches small enough to not be
641+ // much more expensive than reading individual rows, to minimize cost if
642642 // iteration stops early.
643643 StreamingModeSmall StreamingMode = 2
644644
645645 // Infrequently used. Transfer data in batches sized in between small and
646646 // large.
647647 StreamingModeMedium StreamingMode = 3
648648
649- // Infrequently used. Transfer data in batches large enough to be, in a
650- // high-concurrency environment, nearly as efficient as possible. If the
651- // client stops iteration early, some disk and network bandwidth may be
652- // wasted. The batch size may still be too small to allow a single client to
653- // get high throughput from the database, so if that is what you need
649+ // Infrequently used. Transfer data in batches large enough to be,
650+ // in a high-concurrency environment, nearly as efficient as possible.
651+ // If the client stops iteration early, some disk and network bandwidth may
652+ // be wasted. The batch size may still be too small to allow a single client
653+ // to get high throughput from the database, so if that is what you need
654654 // consider the SERIAL StreamingMode.
655655 StreamingModeLarge StreamingMode = 4
656656
657- // Transfer data in batches large enough that an individual client can get
658- // reasonable read bandwidth from the database. If the client stops
657+ // Transfer data in batches large enough that an individual client can
658+ // get reasonable read bandwidth from the database. If the client stops
659659 // iteration early, considerable disk and network bandwidth may be wasted.
660660 StreamingModeSerial StreamingMode = 5
661661)
0 commit comments