ee.Reducer.repeat
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy funkcję Reducer, łącząc określoną liczbę kopii podanej funkcji Reducer. Nazwy danych wyjściowych są takie same jak nazwy podanych funkcji redukujących, ale każda z nich jest listą odpowiednich danych wyjściowych z poszczególnych funkcji redukujących.
Wykorzystanie | Zwroty |
---|
Reducer.repeat(count) | Ograniczenie |
Argument | Typ | Szczegóły |
---|
to: reducer | Ograniczenie | |
count | Liczba całkowita | Liczba kopii funkcji redukującej do połączenia. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[],["Combines multiple copies of a specified reducer into a single Reducer. The `Reducer.repeat(count)` method takes an integer `count` representing the number of reducer copies to merge. It returns a new Reducer. The output names from the combined reducer are identical to the original, but each output is now a list containing the respective output from each of the individual reducers.\n"],null,[]]