fr.lri.bd.olap.dto
Class Correlation
java.lang.Object
fr.lri.bd.olap.dto.Correlation
- All Implemented Interfaces:
- Externalizable, Serializable
public class Correlation
- extends Object
- implements Externalizable
Correlation class is DTO class for correlation class which describes
transformation from one schema to other one.
- Author:
- holubec
- See Also:
- Serialized Form
Correlation
public Correlation(OlapTree tree1,
OlapTree tree2)
- Default constructor
- Parameters:
tree1 - first OlapTree classtree2 - second OlapTree class
defineCorrelation
public void defineCorrelation(edu.uci.ics.jung.graph.Vertex v1,
edu.uci.ics.jung.graph.Vertex v2)
- Define transformation between nodes from one schema to second
- Parameters:
v1 - v2 -
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
getCorrTree
public OlapTree getCorrTree()
- Returns:
- correlation OlapTree class for transformation visualization