ee.Join.saveAll
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Returns a join that pairs each element from the first collection with a group of matching elements from the second collection. רשימת ההתאמות מתווספת לכל תוצאה כמאפיין נוסף. אם מציינים את measureKey, לכל התאמה מצורף הערך של מדד הצירוף שלה. מדדי הצטרפות נוצרים כשמשתמשים במסננים withinDistance או maxDifference כתנאי לצירוף.
שימוש | החזרות |
---|
ee.Join.saveAll(matchesKey, ordering, ascending, measureKey, outer) | הצטרפות |
ארגומנט | סוג | פרטים |
---|
matchesKey | מחרוזת | שם המאפיין שמשמש לשמירת רשימת ההתאמות. |
ordering | מחרוזת, ברירת מחדל: null | הנכס שלפיו ימוינו התוצאות. |
ascending | בוליאני, ברירת מחדל: true | האם הסדר הוא עולה. |
measureKey | מחרוזת, ברירת מחדל: null | שם מאפיין אופציונלי שמשמש לשמירת המידה של תנאי הצירוף בכל התאמה. |
outer | בוליאני, ברירת מחדל: false | אם הערך הוא true, שורות ראשיות ללא התאמות ייכללו בתוצאה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[[["\u003cp\u003ePairs elements from the first collection with matching elements from the second, adding the matches as a new property.\u003c/p\u003e\n"],["\u003cp\u003eOptionally sorts the list of matches based on a specified property and order.\u003c/p\u003e\n"],["\u003cp\u003eAllows for saving the measure of the join condition (e.g., distance or difference) on each match if specified.\u003c/p\u003e\n"],["\u003cp\u003eCan include primary elements without matches in the results by setting the \u003ccode\u003eouter\u003c/code\u003e parameter to true.\u003c/p\u003e\n"]]],["The `ee.Join.saveAll` function creates a join between two collections, pairing each element from the first with matching elements from the second. Matched elements are stored as a list under a specified `matchesKey`. Optionally, this list can be sorted by a given property (`ordering`) in ascending or descending order. If a join condition with distance or difference measures is used, the measurement values are attached using the `measureKey`. If `outer` is set to true elements from first collection without matches will be included in the result.\n"],null,["# ee.Join.saveAll\n\nReturns a join that pairs each element from the first collection with a group of matching elements from the second collection. The list of matches is added to each result as an additional property. If measureKey is specified, each match has the value of its join measure attached. Join measures are produced when withinDistance or maxDifference filters are used as the join condition.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------------------------------|---------|\n| `ee.Join.saveAll(matchesKey, `*ordering* `, `*ascending* `, `*measureKey* `, `*outer*`)` | Join |\n\n| Argument | Type | Details |\n|--------------|-------------------------|-----------------------------------------------------------------------------------------|\n| `matchesKey` | String | The property name used to save the matches list. |\n| `ordering` | String, default: null | The property on which to sort the matches list. |\n| `ascending` | Boolean, default: true | Whether the ordering is ascending. |\n| `measureKey` | String, default: null | An optional property name used to save the measure of the join condition on each match. |\n| `outer` | Boolean, default: false | If true, primary rows without matches will be included in the result. |"]]