edu.yale.cs.hadoopdb.catalog
Class SimpleCatalogGenerator
java.lang.Object
edu.yale.cs.hadoopdb.catalog.SimpleCatalogGenerator
- Direct Known Subclasses:
- SimpleRandomReplicationFactorTwo
public class SimpleCatalogGenerator
- extends java.lang.Object
This simple catalog generator assumes that is partitioned uniformly across all nodes and
assigns ids that follow the node ordering in the instances input file provided.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CATALOG_FILE
protected static final java.lang.String CATALOG_FILE
- See Also:
- Constant Field Values
CHUNKED_DB_PREFIX
protected static final java.lang.String CHUNKED_DB_PREFIX
- See Also:
- Constant Field Values
CHUNKS_PER_NODE
protected static final java.lang.String CHUNKS_PER_NODE
- See Also:
- Constant Field Values
DRIVER
protected static final java.lang.String DRIVER
- See Also:
- Constant Field Values
nodes
protected java.util.List<java.lang.String> nodes
NODES_FILE
protected static final java.lang.String NODES_FILE
- See Also:
- Constant Field Values
PASSWORD
protected static final java.lang.String PASSWORD
- See Also:
- Constant Field Values
PORT
protected static final java.lang.String PORT
- See Also:
- Constant Field Values
properties
protected java.util.Properties properties
relations_chunked
protected java.util.List<java.lang.String> relations_chunked
RELATIONS_CHUNKED
protected static final java.lang.String RELATIONS_CHUNKED
- See Also:
- Constant Field Values
relations_unchunked
protected java.util.List<java.lang.String> relations_unchunked
RELATIONS_UNCHUNKED
protected static final java.lang.String RELATIONS_UNCHUNKED
- See Also:
- Constant Field Values
UNCHUNKED_DB_PREFIX
protected static final java.lang.String UNCHUNKED_DB_PREFIX
- See Also:
- Constant Field Values
URL_PREFIX
protected static final java.lang.String URL_PREFIX
- See Also:
- Constant Field Values
USERNAME
protected static final java.lang.String USERNAME
- See Also:
- Constant Field Values
SimpleCatalogGenerator
public SimpleCatalogGenerator()
generateCatalog
public void generateCatalog()
throws javax.xml.bind.JAXBException,
javax.xml.bind.PropertyException,
java.io.FileNotFoundException,
java.io.IOException
- Throws:
javax.xml.bind.JAXBException
javax.xml.bind.PropertyException
java.io.FileNotFoundException
java.io.IOException
getStringsAsList
protected static java.util.List<java.lang.String> getStringsAsList(java.io.File rfile)
main
public static void main(java.lang.String[] args)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
parseArguments
protected void parseArguments(java.lang.String[] args)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException