ee.Join.inner
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה איחוד שמשייך בין רכיבים מהאוסף הראשי לרכיבים תואמים מהאוסף המשני. לכל תוצאה יש מאפיין primary שמכיל את הרכיב מהאוסף הראשי, ומאפיין secondary שמכיל את הרכיב התואם מהאוסף המשני. אם מציינים את measureKey, מדד הצירוף מצורף גם לאובייקט כמאפיין.
שימוש | החזרות |
---|
ee.Join.inner(primaryKey, secondaryKey, measureKey) | הצטרפות |
ארגומנט | סוג | פרטים |
---|
primaryKey | מחרוזת, ברירת מחדל: primary | שם הנכס שמשמש לשמירת ההתאמה העיקרית. |
secondaryKey | מחרוזת, ברירת מחדל: 'משני' | שם המאפיין שמשמש לשמירת ההתאמה המשנית. |
measureKey | מחרוזת, ברירת מחדל: null | שם נכס אופציונלי שמשמש לשמירת המדד של תנאי הצירוף. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\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. |"]]