Class SQLServer_OuterJoin

All Implemented Interfaces:
ADQLObject, FromContent

public class SQLServer_OuterJoin extends OuterJoin

Special implementation of OuterJoin for MS SQL Server.

Important: Instances of this class are created only by SQLServer_ADQLQueryFactory.

This implementation just changes the behavior the getDBColumns(). In MS SQL Server, there is no keyword NATURAL and USING. That's why the DBColumns returned by DBColumn can not contain any DBCommonColumn. Instead, the DBColumn of the first joined table (i.e. the left one) is returned.

Since this special behavior is also valid for InnerJoin, a special implementation of this class has been also created: SQLServer_InnerJoin. Both must have exactly the same behavior when getDBColumns() is called. That's why the static function SQLServer_InnerJoin.getDBColumns(ADQLJoin) has been created.

Since:
1.4
Version:
1.4 (03/2016)
Author:
Grégory Mantelet (ARI)
See Also: