edu.yale.cs.hadoopdb.catalog
Class Catalog

java.lang.Object
  extended by edu.yale.cs.hadoopdb.catalog.Catalog

public class Catalog
extends java.lang.Object

HadoopDB Catalog: Simple XML file based implementation. No support for mid-job updates except by recreating the XML catalog file and re-executing the job.


Field Summary
static org.apache.commons.logging.Log LOG
           
private  boolean replication
           
private static Catalog singleton
           
private  ConfigurationMapping xmlConfig
           
 
Constructor Summary
private Catalog(org.apache.hadoop.mapred.JobConf job)
           
 
Method Summary
static Catalog getInstance(org.apache.hadoop.mapred.JobConf job)
           
 void setSplitLocationStructure(BaseDBConfiguration dbConf, java.lang.String relation)
          For a given relation, it populates the configuration object with the different chunks associated with the relation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG

replication

private boolean replication

singleton

private static Catalog singleton

xmlConfig

private ConfigurationMapping xmlConfig
Constructor Detail

Catalog

private Catalog(org.apache.hadoop.mapred.JobConf job)
Method Detail

getInstance

public static Catalog getInstance(org.apache.hadoop.mapred.JobConf job)

setSplitLocationStructure

public void setSplitLocationStructure(BaseDBConfiguration dbConf,
                                      java.lang.String relation)
For a given relation, it populates the configuration object with the different chunks associated with the relation. Each chunk contains connection and location information.