Element Details: Join
 Back


Available in: Logi Info Source code name: Join

Joins two DataLayers together. It provides functionality similar to database INNER JOIN, LEFT OUTER JOIN, and CROSS JOIN queries.

Rows between the DataLayers are matched by columns specified in MatchCondition elements. Match on multiple columns by adding multiple MatchConditions.

The DataLayer that is a parent to the Join is considered the "Left" side. The DataLayer below is the "Right".

Set the JoinType to the type of Join desired. JoinType "InnerJoin" returns only those rows that have a match. The final number of rows is equal to or less than the original number of left-side rows.

"LeftOuterJoin" returns all rows on the left side. Column values from the right side are added to the left side when there is a match. The final number of rows is equal to the original number of left-side rows.

"FullOuterJoin" returns all rows from both sides, combining those rows that match.

"Union" returns all of the rows from both datalayers as a single datalayer. No MatchConditions are used.

Element Group:Merge and Join



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
IncludeCondition
True
False
An expression that evaluates to a value of True or False. If the expression is blank, or evaluates to true the element is processed. If the expression evaluates to false, the element is skipped. Expressions should be in VBScript or JavaScript syntax. For .NET versions, the scripting language can be set in the _settings.lgx General element. For Java versions, the scripting language is always JavaScript. Typically, you would compare values using an operator, such as "@Session.value~ < 0". Use quotes when working with strings: "@Session.myValue~" == "SomeValue"
JoinType
Union
LeftOuterJoin
InnerJoin
FullOuterJoin
(Required) Set the JoinType to the type of Join desired. JoinType "InnerJoin" returns only those rows that have a match. The final number of rows is equal to or less than the original number of left-side rows. "LeftOuterJoin" returns all rows on the left side. Column values from the right side are added to the left side when there is a match. When there are multiple matching rows from the right side, those rows are also added to the output. "FullOuterJoin" returns all rows from both sides, combining those rows that match. "Union" concatenates all rows from both datasets together.
SortLeftSide
True
False
Joins require that the data be sorted on the match columns. This sorting is normally done prior to joining the rows. If the data for the left side is already correctly sorted, setting this attribute to "False" can improve performance by telling the join process to skip resorting the data. Note that the join will not work correctly if this attribute is "False" and the data is not already presorted. The default is True.
SortRightSide
True
False
Joins require that the data be sorted on the match columns. This sorting is normally done prior to joining the rows. If the data for the right side is already correctly sorted, setting this attribute to "False" can improve performance by telling the join process to skip resorting the data. Note that the join will not work correctly if this attribute is "False" and the data is not already presorted. The default is True.



PARENT ELEMENTS

Click element to drill down for more information.

DataLayer.Bookmarks
DataLayer.Cached
DataLayer.CSV
DataLayer.Definition List
DataLayer.Directory
DataLayer.ETL
DataLayer.Excel
DataLayer.Fixed Format File
DataLayer.Google App
DataLayer.Google Spreadsheet
DataLayer.GPX File
DataLayer.JSON
DataLayer.KML File
DataLayer.LDAP
DataLayer.Linked
DataLayer.Mongo Find
DataLayer.Mongo Map Reduce
DataLayer.Mongo Run Command
DataLayer.Plugin
DataLayer.REST
DataLayer.Scheduler
DataLayer.SimpleDB
DataLayer.SP
DataLayer.SQL
DataLayer.Static
DataLayer.Twitter
DataLayer.Web Feed
DataLayer.Web Scraper
DataLayer.Web Service
DataLayer.XML


CHILD ELEMENTS

Click element to drill down for more information.

DataLayer.Bookmarks
DataLayer.Cached
DataLayer.CSV
DataLayer.Definition List
DataLayer.Directory
DataLayer.ETL
DataLayer.Excel
DataLayer.Fixed Format File
DataLayer.Google App
DataLayer.Google Spreadsheet
DataLayer.JSON
DataLayer.LDAP
DataLayer.Linked
DataLayer.Mongo Find
DataLayer.Mongo Map Reduce
DataLayer.Mongo Run Command
DataLayer.Plugin
DataLayer.REST
DataLayer.Scheduler
DataLayer.SP
DataLayer.SQL
DataLayer.Static
DataLayer.Twitter
DataLayer.Web Feed
DataLayer.Web Scraper
DataLayer.Web Service
DataLayer.XML
Match Condition


 Back to top


 Chart Debug