public class DatabaseConnection extends Object
<complexType name="databaseConnection"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="accessType" type="{http://www.pentaho.com/schema/}databaseAccessType" minOccurs="0"/> <element name="accessTypeValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="attributes"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="entry" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="changed" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="connectSql" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="connectionPoolingProperties"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="entry" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="dataTablespace" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="databaseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="databasePort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://www.pentaho.com/schema/}databaseType" minOccurs="0"/> <element name="extraOptions"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="entry" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="forcingIdentifiersToLowerCase" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="forcingIdentifiersToUpperCase" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="hostname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="indexTablespace" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="informixServername" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="initialPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="maximumPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="partitioned" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="partitioningInformation" type="{http://www.pentaho.com/schema/}partitionDatabaseMeta" maxOccurs="unbounded" minOccurs="0"/> <element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="quoteAllFields" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="SQLServerInstance" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="streamingResults" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="usingConnectionPool" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="usingDoubleDecimalAsSchemaTableSeparator" type="{http://www.w3 .org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
DatabaseConnection.Attributes
Java class for anonymous complex type.
|
static class |
DatabaseConnection.ConnectionPoolingProperties
Java class for anonymous complex type.
|
static class |
DatabaseConnection.ExtraOptions
Java class for anonymous complex type.
|
Constructor and Description |
---|
DatabaseConnection() |
Modifier and Type | Method and Description |
---|---|
DatabaseAccessType |
getAccessType()
Gets the value of the accessType property.
|
String |
getAccessTypeValue()
Gets the value of the accessTypeValue property.
|
DatabaseConnection.Attributes |
getAttributes()
Gets the value of the attributes property.
|
DatabaseConnection.ConnectionPoolingProperties |
getConnectionPoolingProperties()
Gets the value of the connectionPoolingProperties property.
|
String |
getConnectSql()
Gets the value of the connectSql property.
|
String |
getDatabaseName()
Gets the value of the databaseName property.
|
String |
getDatabasePort()
Gets the value of the databasePort property.
|
DatabaseType |
getDatabaseType()
Gets the value of the databaseType property.
|
String |
getDataTablespace()
Gets the value of the dataTablespace property.
|
DatabaseConnection.ExtraOptions |
getExtraOptions()
Gets the value of the extraOptions property.
|
String |
getHostname()
Gets the value of the hostname property.
|
String |
getId()
Gets the value of the id property.
|
String |
getIndexTablespace()
Gets the value of the indexTablespace property.
|
String |
getInformixServername()
Gets the value of the informixServername property.
|
int |
getInitialPoolSize()
Gets the value of the initialPoolSize property.
|
int |
getMaximumPoolSize()
Gets the value of the maximumPoolSize property.
|
String |
getName()
Gets the value of the name property.
|
List<PartitionDatabaseMeta> |
getPartitioningInformation()
Gets the value of the partitioningInformation property.
|
String |
getPassword()
Gets the value of the password property.
|
String |
getSQLServerInstance()
Gets the value of the sqlServerInstance property.
|
String |
getUsername()
Gets the value of the username property.
|
boolean |
isChanged()
Gets the value of the changed property.
|
boolean |
isForcingIdentifiersToLowerCase()
Gets the value of the forcingIdentifiersToLowerCase property.
|
boolean |
isForcingIdentifiersToUpperCase()
Gets the value of the forcingIdentifiersToUpperCase property.
|
boolean |
isPartitioned()
Gets the value of the partitioned property.
|
boolean |
isQuoteAllFields()
Gets the value of the quoteAllFields property.
|
boolean |
isStreamingResults()
Gets the value of the streamingResults property.
|
boolean |
isUsingConnectionPool()
Gets the value of the usingConnectionPool property.
|
boolean |
isUsingDoubleDecimalAsSchemaTableSeparator()
Gets the value of the usingDoubleDecimalAsSchemaTableSeparator property.
|
void |
setAccessType(DatabaseAccessType value)
Sets the value of the accessType property.
|
void |
setAccessTypeValue(String value)
Sets the value of the accessTypeValue property.
|
void |
setAttributes(DatabaseConnection.Attributes value)
Sets the value of the attributes property.
|
void |
setChanged(boolean value)
Sets the value of the changed property.
|
void |
setConnectionPoolingProperties(DatabaseConnection.ConnectionPoolingProperties value)
Sets the value of the connectionPoolingProperties property.
|
void |
setConnectSql(String value)
Sets the value of the connectSql property.
|
void |
setDatabaseName(String value)
Sets the value of the databaseName property.
|
void |
setDatabasePort(String value)
Sets the value of the databasePort property.
|
void |
setDatabaseType(DatabaseType value)
Sets the value of the databaseType property.
|
void |
setDataTablespace(String value)
Sets the value of the dataTablespace property.
|
void |
setExtraOptions(DatabaseConnection.ExtraOptions value)
Sets the value of the extraOptions property.
|
void |
setForcingIdentifiersToLowerCase(boolean value)
Sets the value of the forcingIdentifiersToLowerCase property.
|
void |
setForcingIdentifiersToUpperCase(boolean value)
Sets the value of the forcingIdentifiersToUpperCase property.
|
void |
setHostname(String value)
Sets the value of the hostname property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setIndexTablespace(String value)
Sets the value of the indexTablespace property.
|
void |
setInformixServername(String value)
Sets the value of the informixServername property.
|
void |
setInitialPoolSize(int value)
Sets the value of the initialPoolSize property.
|
void |
setMaximumPoolSize(int value)
Sets the value of the maximumPoolSize property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPartitioned(boolean value)
Sets the value of the partitioned property.
|
void |
setPassword(String value)
Sets the value of the password property.
|
void |
setQuoteAllFields(boolean value)
Sets the value of the quoteAllFields property.
|
void |
setSQLServerInstance(String value)
Sets the value of the sqlServerInstance property.
|
void |
setStreamingResults(boolean value)
Sets the value of the streamingResults property.
|
void |
setUsername(String value)
Sets the value of the username property.
|
void |
setUsingConnectionPool(boolean value)
Sets the value of the usingConnectionPool property.
|
void |
setUsingDoubleDecimalAsSchemaTableSeparator(boolean value)
Sets the value of the usingDoubleDecimalAsSchemaTableSeparator property.
|
protected DatabaseAccessType accessType
protected String accessTypeValue
protected DatabaseConnection.Attributes attributes
protected boolean changed
protected String connectSql
protected DatabaseConnection.ConnectionPoolingProperties connectionPoolingProperties
protected String dataTablespace
protected String databaseName
protected String databasePort
protected DatabaseType databaseType
protected DatabaseConnection.ExtraOptions extraOptions
protected boolean forcingIdentifiersToLowerCase
protected boolean forcingIdentifiersToUpperCase
protected String hostname
protected String id
protected String indexTablespace
protected String informixServername
protected int initialPoolSize
protected int maximumPoolSize
protected String name
protected boolean partitioned
protected List<PartitionDatabaseMeta> partitioningInformation
protected String password
protected boolean quoteAllFields
protected String sqlServerInstance
protected boolean streamingResults
protected String username
protected boolean usingConnectionPool
protected boolean usingDoubleDecimalAsSchemaTableSeparator
public DatabaseAccessType getAccessType()
DatabaseAccessType
public void setAccessType(DatabaseAccessType value)
value
- allowed object is DatabaseAccessType
public String getAccessTypeValue()
String
public void setAccessTypeValue(String value)
value
- allowed object is String
public DatabaseConnection.Attributes getAttributes()
DatabaseConnection.Attributes
public void setAttributes(DatabaseConnection.Attributes value)
value
- allowed object is DatabaseConnection.Attributes
public boolean isChanged()
public void setChanged(boolean value)
public String getConnectSql()
String
public void setConnectSql(String value)
value
- allowed object is String
public DatabaseConnection.ConnectionPoolingProperties getConnectionPoolingProperties()
DatabaseConnection.ConnectionPoolingProperties
public void setConnectionPoolingProperties(DatabaseConnection.ConnectionPoolingProperties value)
value
- allowed object is DatabaseConnection.ConnectionPoolingProperties
public String getDataTablespace()
String
public void setDataTablespace(String value)
value
- allowed object is String
public String getDatabaseName()
String
public void setDatabaseName(String value)
value
- allowed object is String
public String getDatabasePort()
String
public void setDatabasePort(String value)
value
- allowed object is String
public DatabaseType getDatabaseType()
DatabaseType
public void setDatabaseType(DatabaseType value)
value
- allowed object is DatabaseType
public DatabaseConnection.ExtraOptions getExtraOptions()
DatabaseConnection.ExtraOptions
public void setExtraOptions(DatabaseConnection.ExtraOptions value)
value
- allowed object is DatabaseConnection.ExtraOptions
public boolean isForcingIdentifiersToLowerCase()
public void setForcingIdentifiersToLowerCase(boolean value)
public boolean isForcingIdentifiersToUpperCase()
public void setForcingIdentifiersToUpperCase(boolean value)
public String getHostname()
String
public void setHostname(String value)
value
- allowed object is String
public void setId(String value)
value
- allowed object is String
public String getIndexTablespace()
String
public void setIndexTablespace(String value)
value
- allowed object is String
public String getInformixServername()
String
public void setInformixServername(String value)
value
- allowed object is String
public int getInitialPoolSize()
public void setInitialPoolSize(int value)
public int getMaximumPoolSize()
public void setMaximumPoolSize(int value)
public String getName()
String
public void setName(String value)
value
- allowed object is String
public boolean isPartitioned()
public void setPartitioned(boolean value)
public List<PartitionDatabaseMeta> getPartitioningInformation()
set
method for
the partitioningInformation property.
For example, to add a new item, do as follows:
getPartitioningInformation().add( newItem );Objects of the following type(s) are allowed in the list
PartitionDatabaseMeta
public String getPassword()
String
public void setPassword(String value)
value
- allowed object is String
public boolean isQuoteAllFields()
public void setQuoteAllFields(boolean value)
public String getSQLServerInstance()
String
public void setSQLServerInstance(String value)
value
- allowed object is String
public boolean isStreamingResults()
public void setStreamingResults(boolean value)
public String getUsername()
String
public void setUsername(String value)
value
- allowed object is String
public boolean isUsingConnectionPool()
public void setUsingConnectionPool(boolean value)
public boolean isUsingDoubleDecimalAsSchemaTableSeparator()
public void setUsingDoubleDecimalAsSchemaTableSeparator(boolean value)
Copyright © 2018 Hitachi Vantara. All rights reserved.