fr.lri.bd.olap.dto
Class Datamart
java.lang.Object
fr.lri.bd.olap.dto.OlapTree
fr.lri.bd.olap.dto.Datamart
- All Implemented Interfaces:
- Externalizable, Serializable
public class Datamart
- extends OlapTree
- 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
|
Constructor Summary |
Datamart(OlapTree originalTree)
Constructor used for serialization |
Datamart(String name,
edu.uci.ics.jung.graph.Vertex root,
List<edu.uci.ics.jung.graph.Vertex> vertexes,
OlapTree originalTree)
Default constructor |
Datamart
public Datamart(OlapTree originalTree)
- Constructor used for serialization
- Parameters:
originalTree - original OlapTree of datamart
Datamart
public Datamart(String name,
edu.uci.ics.jung.graph.Vertex root,
List<edu.uci.ics.jung.graph.Vertex> vertexes,
OlapTree originalTree)
- Default constructor
- Parameters:
name - name of the datamartroot - root of the datamartvertexes - vertexes used in datamart from original treeoriginalTree - original Olap tree
getOriginalVertex
public edu.uci.ics.jung.graph.Vertex getOriginalVertex(edu.uci.ics.jung.graph.Vertex v)
- Parameters:
v - vertex of datamart
- Returns:
- vertex from original Olap tree
getDatamartVertex
public edu.uci.ics.jung.graph.Vertex getDatamartVertex(edu.uci.ics.jung.graph.Vertex v)
- Parameters:
v - vertex of original Olap tree
- Returns:
- vertex of datamart
getOriginalTree
public OlapTree getOriginalTree()
- Returns:
- original OLAP tree
getPath2NewRoot
public GraphPath getPath2NewRoot()
- Returns:
- path of the original tree from it's root vertex to the root vertex of datamart
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
getDBPool
public DBPool getDBPool()
- Overrides:
getDBPool in class OlapTree
- Returns:
- pool of database connections