ee.Join.inner
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca złączenie, które łączy elementy z kolekcji podstawowej z pasującymi elementami z kolekcji dodatkowej. Każdy wynik ma właściwość „primary”, która zawiera element z kolekcji podstawowej, oraz właściwość „secondary”, która zawiera pasujący element z kolekcji dodatkowej. Jeśli określono klucz miary, miara złączenia jest też dołączana do obiektu jako właściwość.
Wykorzystanie | Zwroty |
---|
ee.Join.inner(primaryKey, secondaryKey, measureKey) | Dołącz |
Argument | Typ | Szczegóły |
---|
primaryKey | Ciąg tekstowy, domyślnie: „primary” | Nazwa usługi używana do zapisywania podstawowego dopasowania. |
secondaryKey | Ciąg znaków, domyślnie: „secondary” | Nazwa właściwości używana do zapisywania dodatkowego dopasowania. |
measureKey | Ciąg tekstowy, domyślnie: null | Opcjonalna nazwa właściwości używana do zapisywania miary warunku złączenia. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]