org.safehaus.penrose.engine
Class Analyzer

java.lang.Object
  extended byorg.safehaus.penrose.engine.Analyzer

public class Analyzer
extends java.lang.Object

Author:
Endi S. Dewata

Field Summary
 java.util.Map graphs
           
 java.util.Map primarySources
           
 java.util.Map uniqueness
           
 
Constructor Summary
Analyzer()
           
 
Method Summary
 void analyze(EntryMapping entryMapping)
           
 boolean checkUniqueness(EntryMapping entryMapping)
          Check whether each rdn value corresponds to one row from the source.
 Graph computeGraph(Partition partition, EntryMapping entryMapping)
           
 SourceMapping computePrimarySource(EntryMapping entryMapping)
           
 Graph getGraph(EntryMapping entryMapping)
           
 InterpreterManager getInterpreterManager()
           
 PartitionManager getPartitionManager()
           
 SourceMapping getPrimarySource(EntryMapping entryMapping)
           
 boolean isUnique(EntryMapping entryMapping)
           
 void setInterpreterManager(InterpreterManager interpreterManager)
           
 void setPartitionManager(PartitionManager partitionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graphs

public java.util.Map graphs

primarySources

public java.util.Map primarySources

uniqueness

public java.util.Map uniqueness
Constructor Detail

Analyzer

public Analyzer()
Method Detail

analyze

public void analyze(EntryMapping entryMapping)
             throws java.lang.Exception
Throws:
java.lang.Exception

computeGraph

public Graph computeGraph(Partition partition,
                          EntryMapping entryMapping)
                   throws java.lang.Exception
Throws:
java.lang.Exception

computePrimarySource

public SourceMapping computePrimarySource(EntryMapping entryMapping)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getInterpreterManager

public InterpreterManager getInterpreterManager()

setInterpreterManager

public void setInterpreterManager(InterpreterManager interpreterManager)

getPartitionManager

public PartitionManager getPartitionManager()

setPartitionManager

public void setPartitionManager(PartitionManager partitionManager)

getGraph

public Graph getGraph(EntryMapping entryMapping)
               throws java.lang.Exception
Throws:
java.lang.Exception

getPrimarySource

public SourceMapping getPrimarySource(EntryMapping entryMapping)
                               throws java.lang.Exception
Throws:
java.lang.Exception

checkUniqueness

public boolean checkUniqueness(EntryMapping entryMapping)
                        throws java.lang.Exception
Check whether each rdn value corresponds to one row from the source.

Throws:
java.lang.Exception

isUnique

public boolean isUnique(EntryMapping entryMapping)
                 throws java.lang.Exception
Throws:
java.lang.Exception