ee.Reducer.disaggregate
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ورودیهای مجموع (آرایهها، فهرستها یا واژهنامهها) را به آیتمهای جداگانه جدا میکند که سپس هر کدام به کاهنده مشخص شده ارسال میشوند. هنگام استفاده در فرهنگ لغت، کلیدهای فرهنگ لغت نادیده گرفته می شوند. ورودی های غیر انباشته (مثلاً اعداد یا رشته ها) مستقیماً به کاهنده اصلی ارسال می شوند.
استفاده | برمی گرداند | Reducer. disaggregate ( axis ) | کاهنده |
استدلال | تایپ کنید | جزئیات | این: reducer | کاهنده | کاهش دهنده ای که برای آن ورودی ها تفکیک شوند. |
axis | عدد صحیح، پیش فرض: null | اگر مشخص شود، یک محور آرایه را نشان می دهد که در امتداد آن تفکیک شود. اگر مشخص نشده باشد، آرایه ها کاملاً تفکیک می شوند. برای انواع غیر آرایه نادیده گرفته شد. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eDisaggregates aggregate data structures like arrays, lists, and dictionaries into individual elements for processing by the specified reducer, ignoring dictionary keys.\u003c/p\u003e\n"],["\u003cp\u003eNon-aggregated inputs such as numbers and strings bypass disaggregation and are directly processed by the reducer.\u003c/p\u003e\n"],["\u003cp\u003eOffers an optional \u003ccode\u003eaxis\u003c/code\u003e parameter to specify the dimension along which to disaggregate arrays, enabling partial disaggregation.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new Reducer instance incorporating the disaggregation behavior.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.disaggregate\n\nSeparates aggregate inputs (Arrays, Lists, or Dictionaries) into individual items that are then each passed to the specified reducer. When used on dictionaries, the dictionary keys are ignored. Non-aggregated inputs (e.g., Numbers or Strings) are passed to the underlying reducer directly.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------|---------|\n| Reducer.disaggregate`(`*axis*`)` | Reducer |\n\n| Argument | Type | Details |\n|-----------------|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `reducer` | Reducer | The reducer for which to disaggregate inputs. |\n| `axis` | Integer, default: null | If specified, indicates an array axis along which to disaggregate. If not specified, arrays are completely disaggregated. Ignored for non-array types. |"]]