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