ee.Reducer.setOutputs
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک Reducer را با همان ورودیهای Reducer داده شده، اما با خروجیهای تغییر نام و/یا حذف برمیگرداند.
استفاده | برمی گرداند | Reducer. setOutputs (outputs) | کاهنده |
استدلال | تایپ کنید | جزئیات | این: reducer | کاهنده | |
outputs | فهرست کنید | نام خروجی های جدید؛ هر خروجی که نام آن خالی یا تهی باشد حذف می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eAllows modification of a Reducer's outputs by renaming or removing them.\u003c/p\u003e\n"],["\u003cp\u003eEmploys the \u003ccode\u003esetOutputs\u003c/code\u003e method, accepting a list of new output names.\u003c/p\u003e\n"],["\u003cp\u003eOutputs with null or empty names specified in the list are removed from the Reducer.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new Reducer instance with the adjusted outputs, leaving the original Reducer unchanged.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.setOutputs\n\nReturns a Reducer with the same inputs as the given Reducer, but with outputs renamed and/or removed.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------|---------|\n| Reducer.setOutputs`(outputs)` | Reducer |\n\n| Argument | Type | Details |\n|-----------------|---------|-------------------------------------------------------------------------------|\n| this: `reducer` | Reducer | |\n| `outputs` | List | The new output names; any output whose name is null or empty will be dropped. |"]]