ee.Join.inner
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
پیوندی را برمیگرداند که عناصر مجموعه اولیه را با عناصر منطبق از مجموعه ثانویه جفت میکند. هر نتیجه دارای یک ویژگی «اولیه» است که حاوی عنصر مجموعه اولیه، و یک ویژگی «ثانویه» حاوی عنصر منطبق از مجموعه ثانویه است. اگرmeterKey مشخص شده باشد، معیار join نیز به عنوان یک ویژگی به شی متصل می شود.
استفاده | برمی گرداند | ee.Join.inner( primaryKey , secondaryKey , measureKey ) | بپیوندید |
استدلال | تایپ کنید | جزئیات | primaryKey | رشته، پیشفرض: "اولیه" | نام ویژگی مورد استفاده برای ذخیره مطابقت اولیه. |
secondaryKey | رشته، پیش فرض: "ثانویه" | نام ویژگی مورد استفاده برای ذخیره تطابق ثانویه. |
measureKey | رشته، پیش فرض: null | یک نام ویژگی اختیاری که برای ذخیره معیار شرط اتصال استفاده می شود. |
،پیوندی را برمیگرداند که عناصر مجموعه اولیه را با عناصر منطبق از مجموعه ثانویه جفت میکند. هر نتیجه دارای یک ویژگی «اولیه» است که حاوی عنصر مجموعه اولیه، و یک ویژگی «ثانویه» حاوی عنصر منطبق از مجموعه ثانویه است. اگرmeterKey مشخص شده باشد، معیار join نیز به عنوان یک ویژگی به شی متصل می شود.
استفاده | برمی گرداند | ee.Join.inner( primaryKey , secondaryKey , measureKey ) | بپیوندید |
استدلال | تایپ کنید | جزئیات | primaryKey | رشته، پیشفرض: "اولیه" | نام ویژگی مورد استفاده برای ذخیره مطابقت اولیه. |
secondaryKey | رشته، پیش فرض: "ثانویه" | نام ویژگی مورد استفاده برای ذخیره تطابق ثانویه. |
measureKey | رشته، پیش فرض: null | یک نام ویژگی اختیاری که برای ذخیره معیار شرط اتصال استفاده می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003ePerforms an inner join between two collections based on matching keys.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new collection where each element includes the matched primary and secondary elements as properties.\u003c/p\u003e\n"],["\u003cp\u003eOptionally calculates and includes a join measure as a property if a measureKey is specified.\u003c/p\u003e\n"]]],["The `ee.Join.inner` function creates a join between two collections, pairing elements based on matching criteria. Results contain a 'primary' element and a 'secondary' element. Custom names for these properties can be specified using `primaryKey` and `secondaryKey`. An optional `measureKey` allows for storing a measure associated with the join condition in the resulting object. It returns a `Join` object.\n"],null,["# ee.Join.inner\n\nReturns a join that pairs elements from the primary collection with matching elements from the secondary collection. Each result has a 'primary' property that contains the element from the primary collection, and a 'secondary' property containing the matching element from the secondary collection. If measureKey is specified, the join measure is also attached to the object as a property.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------|---------|\n| `ee.Join.inner(`*primaryKey* `, `*secondaryKey* `, `*measureKey*`)` | Join |\n\n| Argument | Type | Details |\n|----------------|------------------------------|---------------------------------------------------------------------------|\n| `primaryKey` | String, default: \"primary\" | The property name used to save the primary match. |\n| `secondaryKey` | String, default: \"secondary\" | The property name used to save the secondary match. |\n| `measureKey` | String, default: null | An optional property name used to save the measure of the join condition. |"]]