de.fuberlin.wiwiss.d2rq.algebra
Class Join

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.algebra.Join

public class Join
extends Object

Represents an SQL join between two tables, spanning one or more columns.

Version:
$Id: Join.java,v 1.7 2006/09/15 19:36:45 cyganiak Exp $
Author:
Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
Join(Attribute oneSide, Attribute otherSide)
           
Join(List oneSideAttributes, List otherSideAttributes)
           
 
Method Summary
 List attributes1()
           
 List attributes2()
           
 boolean containsColumn(Attribute column)
           
 Attribute equalAttribute(Attribute column)
           
 boolean equals(Object otherObject)
           
 int hashCode()
           
 Join renameColumns(ColumnRenamer columnRenamer)
           
 RelationName table1()
           
 RelationName table2()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Join

public Join(Attribute oneSide,
            Attribute otherSide)

Join

public Join(List oneSideAttributes,
            List otherSideAttributes)
Method Detail

containsColumn

public boolean containsColumn(Attribute column)

table1

public RelationName table1()

table2

public RelationName table2()

attributes1

public List attributes1()

attributes2

public List attributes2()

equalAttribute

public Attribute equalAttribute(Attribute column)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object otherObject)
Overrides:
equals in class Object

renameColumns

public Join renameColumns(ColumnRenamer columnRenamer)