public class MDatabase extends Object
| Constructor and Description |
|---|
MDatabase()
Default construction to keep jpox/jdo happy
|
MDatabase(String catalogName,
String name,
String locationUri,
String description,
Map<String,String> parameters)
To create a database object
|
MDatabase(String catalogName,
String name,
String locationUri,
String description,
Map<String,String> parameters,
String managedLocationUri)
To create a database object
|
MDatabase(String catalogName,
String name,
String locationUri,
String description,
Map<String,String> parameters,
String managedLocationUri,
String type,
String dcName)
To create a database object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalogName() |
int |
getCreateTime() |
String |
getDataConnectorName() |
String |
getDescription() |
String |
getLocationUri() |
String |
getManagedLocationUri() |
String |
getName() |
String |
getOwnerName() |
String |
getOwnerType() |
Map<String,String> |
getParameters() |
String |
getRemoteDatabaseName() |
String |
getType() |
void |
setCatalogName(String catalogName) |
void |
setCreateTime(int createTime) |
void |
setDataConnectorName(String dcName) |
void |
setDescription(String description) |
void |
setLocationUri(String locationUri) |
void |
setManagedLocationUri(String managedLocationUri) |
void |
setName(String name) |
void |
setOwnerName(String ownerName) |
void |
setOwnerType(String ownerType) |
void |
setParameters(Map<String,String> parameters) |
void |
setRemoteDatabaseName(String remoteDBName) |
void |
setType(String type) |
public MDatabase()
public MDatabase(String catalogName, String name, String locationUri, String description, Map<String,String> parameters)
catalogName - Name of the catalog, the database belongs to.name - of the databaselocationUri - Location of the database in the warehousedescription - Comment describing the databaseparameters - Parameters for the databasepublic MDatabase(String catalogName, String name, String locationUri, String description, Map<String,String> parameters, String managedLocationUri)
catalogName - Name of the catalog, the database belongs to.name - of the databaselocationUri - Default external Location of the databasedescription - Comment describing the databaseparameters - Parameters for the databasemanagedLocationUri - Default location for managed tables in database in the warehousepublic MDatabase(String catalogName, String name, String locationUri, String description, Map<String,String> parameters, String managedLocationUri, String type, String dcName)
catalogName - Name of the catalog, the database belongs to.name - of the databaselocationUri - Default external Location of the databasedescription - Comment describing the databaseparameters - Parameters for the databasemanagedLocationUri - Default location for managed tables in database in the warehousepublic String getName()
public void setName(String name)
name - the name to setpublic String getLocationUri()
public void setLocationUri(String locationUri)
locationUri - the locationUri to setpublic String getManagedLocationUri()
public void setManagedLocationUri(String managedLocationUri)
managedLocationUri - the locationUri to set for managed tables.public String getDescription()
public void setDescription(String description)
description - the description to setpublic void setParameters(Map<String,String> parameters)
parameters - the parameters mapping.public String getOwnerName()
public void setOwnerName(String ownerName)
public String getOwnerType()
public void setOwnerType(String ownerType)
public String getCatalogName()
public void setCatalogName(String catalogName)
public int getCreateTime()
public void setCreateTime(int createTime)
public String getType()
public void setType(String type)
type - the type of the database to setpublic String getDataConnectorName()
public void setDataConnectorName(String dcName)
dcName - the name of the dataconnector to setpublic String getRemoteDatabaseName()
public void setRemoteDatabaseName(String remoteDBName)
remoteDBName - the name of the dataconnector to setCopyright © 2024 The Apache Software Foundation. All rights reserved.