unity.relational
Class Relation
java.lang.Object
unity.relational.Relation
public class Relation
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Relation
public Relation()
Relation
public Relation(Attribute[] attrs)
Relation
public Relation(Relation r)
getAttributeType
public int getAttributeType(int index)
setAttributeType
public void setAttributeType(int i,
int type)
getNumAttributes
public int getNumAttributes()
getAttribute
public Attribute getAttribute(int index)
setAttribute
public void setAttribute(int index,
Attribute a)
getAttributeIndex
public int getAttributeIndex(java.lang.String name)
getAttributeIndexByName
public int getAttributeIndexByName(java.lang.String name)
getAttributeIndexbyFullName
public int getAttributeIndexbyFullName(java.lang.String name)
getAttributeIndex
public int getAttributeIndex(java.lang.Object ref)
mergeRelation
public void mergeRelation(Relation r)
projectRelation
public Relation projectRelation(ProjectionList plist)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
unionCompatible
public static Relation unionCompatible(Relation leftRelation,
Relation rightRelation,
Expression[] exprConvertLeft,
Expression[] exprConvertRight,
boolean[] flags)
throws java.sql.SQLException
- Throws:
java.sql.SQLException