util
Class BuildDatabase

java.lang.Object
  |
  +--util.BuildDatabase

public class BuildDatabase
extends Object

A simple object to create a Metaglue database. This will create a database, build the appropriate tables inside it, and return a connection string that can be used to access it.


Constructor Summary
BuildDatabase()
           
 
Method Summary
 boolean closeConnection()
           
 boolean createAttributeTable()
           
 boolean createConnectionsTable()
           
 boolean createDatabase()
           
 boolean createIceboxTable()
           
 void doBuild()
           
 void fetchDBName()
           
 void fetchProperties()
           
static BuildDatabase getBuilder()
           
 boolean getConnection()
           
 String getParams()
           
 String largeTableType()
           
static void main(String[] args)
           
 void say(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildDatabase

public BuildDatabase()
Method Detail

doBuild

public void doBuild()

getBuilder

public static BuildDatabase getBuilder()

fetchProperties

public void fetchProperties()

fetchDBName

public void fetchDBName()

createDatabase

public boolean createDatabase()

getParams

public String getParams()

getConnection

public boolean getConnection()

createAttributeTable

public boolean createAttributeTable()

createIceboxTable

public boolean createIceboxTable()

createConnectionsTable

public boolean createConnectionsTable()

say

public void say(String s)

largeTableType

public String largeTableType()

closeConnection

public boolean closeConnection()

main

public static void main(String[] args)