org.apache.hadoop.hive.metastore.model
Class MDatabase

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.model.MDatabase

public class MDatabase
extends Object

Storage Class representing the Hive MDatabase in a rdbms


Constructor Summary
MDatabase()
          Default construction to keep jpox/jdo happy
MDatabase(String name, String location)
          To create a database object
 
Method Summary
 String getDescription()
           
 String getName()
           
 void setDescription(String description)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDatabase

public MDatabase()
Default construction to keep jpox/jdo happy


MDatabase

public MDatabase(String name,
                 String location)
To create a database object

Parameters:
name - of the database
location - future use
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getDescription

public String getDescription()
Returns:
the description

setDescription

public void setDescription(String description)
Parameters:
description - the description to set


Copyright © 2009 The Apache Software Foundation