org.apache.hadoop.hive.metastore.model
Class MDatabase
java.lang.Object
org.apache.hadoop.hive.metastore.model.MDatabase
public class MDatabase
- extends Object
Storage Class representing the Hive MDatabase in a rdbms
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDatabase
public MDatabase()
- Default construction to keep jpox/jdo happy
MDatabase
public MDatabase(String name,
String locationUri,
String description,
Map<String,String> parameters)
- To create a database object
- Parameters:
name
- of the databaselocationUri
- Location of the database in the warehousedescription
- Comment describing the database
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getLocationUri
public String getLocationUri()
- Returns:
- the location_uri
setLocationUri
public void setLocationUri(String locationUri)
- Parameters:
locationUri
- the locationUri to set
getDescription
public String getDescription()
- Returns:
- the description
setDescription
public void setDescription(String description)
- Parameters:
description
- the description to set
getParameters
public Map<String,String> getParameters()
- Returns:
- the parameters mapping.
setParameters
public void setParameters(Map<String,String> parameters)
- Parameters:
parameters
- the parameters mapping.
Copyright © 2011 The Apache Software Foundation