Package org.pentaho.di.core.database
Class PartitionDatabaseMeta
- java.lang.Object
-
- org.pentaho.di.core.database.PartitionDatabaseMeta
-
public class PartitionDatabaseMeta extends Object
Class to contain the information needed to parition (cluster): id, hostname, port, database- Author:
- Matt
-
-
Constructor Summary
Constructors Constructor Description PartitionDatabaseMeta()
PartitionDatabaseMeta(String partitionId, String hostname, String port, String database)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDatabaseName()
String
getHostname()
String
getPartitionId()
String
getPassword()
String
getPort()
String
getUsername()
void
setDatabaseName(String database)
void
setHostname(String hostname)
void
setPartitionId(String partitionId)
void
setPassword(String password)
void
setPort(String port)
void
setUsername(String username)
-
-
-
Method Detail
-
getPartitionId
public String getPartitionId()
- Returns:
- the partitionId
-
setPartitionId
public void setPartitionId(String partitionId)
- Parameters:
partitionId
- the partitionId to set
-
getDatabaseName
public String getDatabaseName()
- Returns:
- the database
-
setDatabaseName
public void setDatabaseName(String database)
- Parameters:
database
- the database to set
-
getHostname
public String getHostname()
- Returns:
- the hostname
-
setHostname
public void setHostname(String hostname)
- Parameters:
hostname
- the hostname to set
-
getPort
public String getPort()
- Returns:
- the port
-
setPort
public void setPort(String port)
- Parameters:
port
- the port to set
-
getPassword
public String getPassword()
- Returns:
- the password
-
setPassword
public void setPassword(String password)
- Parameters:
password
- the password to set
-
getUsername
public String getUsername()
- Returns:
- the username
-
setUsername
public void setUsername(String username)
- Parameters:
username
- the username to set
-
-