ee.Reducer.repeat
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
با ترکیب تعداد مشخص شده کپی از کاهنده داده شده، یک Reducer ایجاد می کند. نام های خروجی مشابه کاهنده داده شده است، اما هر کدام فهرستی از خروجی های مربوطه از هر یک از کاهنده ها هستند.
استفاده | برمی گرداند | Reducer. repeat (count) | کاهنده |
استدلال | تایپ کنید | جزئیات | این: reducer | کاهنده | |
count | عدد صحیح | تعداد کپی های کاهنده برای ترکیب. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eCreates a new Reducer by repeating a given Reducer multiple times.\u003c/p\u003e\n"],["\u003cp\u003eOutput names remain the same but the values are transformed into lists, reflecting outputs from each repetition of the original Reducer.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecount\u003c/code\u003e argument determines the number of repetitions, effectively controlling the length of the output lists.\u003c/p\u003e\n"],["\u003cp\u003ePrimarily used for combining multiple instances of a reducer into a single, unified Reducer.\u003c/p\u003e\n"]]],["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,["# ee.Reducer.repeat\n\nCreates a Reducer by combining the specified number of copies of the given reducer. Output names are the same as the given reducer, but each is a list of the corresponding output from each of the reducers.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| Reducer.repeat`(count)` | Reducer |\n\n| Argument | Type | Details |\n|-----------------|---------|-------------------------------------------------|\n| this: `reducer` | Reducer | |\n| `count` | Integer | The number of copies of the reducer to combine. |"]]