This project has retired. For details please refer to its
        
        Attic page.
      
 
OozieSchema (Oozie Core 3.1.3-incubating API)
org.apache.oozie.store
Class OozieSchema
java.lang.Object
  
org.apache.oozie.store.OozieSchema
public class OozieSchema
- extends Object
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TABLE_COLUMNS
public static final Map<Schema.Table,List<Schema.Column>> TABLE_COLUMNS
OozieSchema
public OozieSchema()
setOozieDbName
public static void setOozieDbName(String dbName)
 
generateCreateTableScript
public static String generateCreateTableScript(Schema.Table table,
                                               Schema.DBType dbType)
- Generates the create table SQL Statement
- Parameters:
 table - dbType - 
- Returns:
 - SQL Statement to create the table
 
 
 
getValidationQuery
public static String getValidationQuery(String dbName)
- Gets the query that will be used to validate the connection
- Parameters:
 dbName - 
- Returns:
 
 
 
generateInsertVersionScript
public static String generateInsertVersionScript(String dbName)
- Generates the Insert statement to insert the OOZIE_VERSION to table
- Parameters:
 dbName - 
- Returns:
 
 
 
getOozieVersion
public static String getOozieVersion()
- Gets the Oozie Schema Version
- Returns:
 
 
 
Copyright © 2012 Apache Software Foundation. All Rights Reserved.