|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.database.BaseDatabaseMeta
public abstract class BaseDatabaseMeta
This class contains the basic information on a database connection. It is not intended to be used other than the inheriting classes such as OracleDatabaseInfo, ...
Field Summary | |
---|---|
static String |
ATTRIBUTE_CLUSTER_DBNAME_PREFIX
The clustering database name prefix |
static String |
ATTRIBUTE_CLUSTER_HOSTNAME_PREFIX
The clustering hostname prefix |
static String |
ATTRIBUTE_CLUSTER_PASSWORD_PREFIX
The clustering database password prefix |
static String |
ATTRIBUTE_CLUSTER_PORT_PREFIX
The clustering port prefix |
static String |
ATTRIBUTE_CLUSTER_USERNAME_PREFIX
The clustering database username prefix |
static String |
ATTRIBUTE_FORCE_IDENTIFIERS_TO_LOWERCASE
A flag to determine if we should force all identifiers to lower case |
static String |
ATTRIBUTE_FORCE_IDENTIFIERS_TO_UPPERCASE
A flag to determine if we should force all identifiers to UPPER CASE |
static String |
ATTRIBUTE_INITIAL_POOL_SIZE
If we use connection pooling, this would contain the initial pool size |
static String |
ATTRIBUTE_IS_CLUSTERED
A flag to determine if the connection is clustered or not. |
static String |
ATTRIBUTE_MAXIMUM_POOL_SIZE
If we use connection pooling, this would contain the maximum pool size |
static String |
ATTRIBUTE_MSSQL_DOUBLE_DECIMAL_SEPARATOR
A flag to determine if we should use a double decimal separator to specify schema/table combinations on MS-SQL server |
static String |
ATTRIBUTE_POOLING_PARAMETER_PREFIX
The pooling parameters |
static String |
ATTRIBUTE_PORT_NUMBER
The port number of the database as string: allows for parameterization. |
static String |
ATTRIBUTE_PREFERRED_SCHEMA_NAME
The preferred schema to use if no other has been specified. |
static String |
ATTRIBUTE_PREFIX_EXTRA_OPTION
The prefix for all the extra options attributes |
static String |
ATTRIBUTE_QUOTE_ALL_FIELDS
A flag to determine if we should quote all fields |
static String |
ATTRIBUTE_SQL_CONNECT
The SQL to execute at connect time (right after connecting) |
static String |
ATTRIBUTE_SUPPORTS_BOOLEAN_DATA_TYPE
Checkbox to allow you to configure if the database supports the boolean data type or not. |
static String |
ATTRIBUTE_USE_POOLING
A flag to determine if we should use connection pooling or not. |
static String |
ATTRIBUTE_USE_RESULT_STREAMING
A flag to determine if we should use result streaming on MySQL |
static String |
AUTOINCREMENT_SQL_FOR_BATCH_ID
|
static DatabaseConnectionPoolParameter[] |
poolingParameters
|
static String |
SELECT_COUNT_STATEMENT
The SQL, minus the table name, to select the number of rows from a table |
static String |
SEQUENCE_FOR_BATCH_ID
|
Constructor Summary | |
---|---|
BaseDatabaseMeta()
|
Method Summary | |
---|---|
void |
addExtraOption(String databaseTypeCode,
String option,
String value)
Add an extra option to the attributes list |
boolean |
checkIndexExists(Database database,
String schemaName,
String tableName,
String[] idx_fields)
Verifies on the specified database connection if an index exists on the fields with the specified name. |
Object |
clone()
Clone the basic settings for this connection! |
String |
generateColumnAlias(int columnIndex,
String suggestedName)
|
int |
getAccessType()
|
abstract int[] |
getAccessTypeList()
|
Properties |
getAttributes()
|
String |
getBackwardsCompatibleSchemaTableCombination(String schemaPart,
String tablePart)
Deprecated. we should phase this out in 5.0, but it's there to keep backwards compatibility in the 4.x releases. |
String |
getBackwardsCompatibleTable(String tablePart)
Deprecated. we should phase this out in 5.0, but it's there to keep backwards compatibility in the 4.x releases. |
Properties |
getConnectionPoolingProperties()
|
String |
getConnectSQL()
|
String |
getDatabaseFactoryName()
You can use this method to supply an alternate factory for the test method in the dialogs. |
String |
getDatabaseName()
|
String |
getDatabasePortNumberString()
|
String |
getDataTablespace()
|
String |
getDataTablespaceDDL(VariableSpace variables,
DatabaseMeta databaseMeta)
Returns the tablespace DDL fragment for a "Data" tablespace. |
int |
getDefaultDatabasePort()
|
String |
getDropColumnStatement(String tablename,
ValueMetaInterface v,
String tk,
boolean use_autoinc,
String pk,
boolean semicolon)
Generates the SQL statement to drop a column from the specified table |
String |
getEndQuote()
|
String |
getExtraOptionIndicator()
|
Map<String,String> |
getExtraOptions()
|
String |
getExtraOptionSeparator()
|
String |
getExtraOptionsHelpText()
|
String |
getExtraOptionValueSeparator()
|
String |
getFunctionAverage()
|
String |
getFunctionCount()
|
String |
getFunctionMaximum()
|
String |
getFunctionMinimum()
|
String |
getFunctionSum()
|
String |
getHostname()
|
String |
getIndexTablespace()
|
String |
getIndexTablespaceDDL(VariableSpace variables,
DatabaseMeta databaseMeta)
Returns the tablespace DDL fragment for a "Index" tablespace. |
int |
getInitialPoolSize()
|
String |
getLimitClause(int nrRows)
|
int |
getMaxColumnsInIndex()
|
int |
getMaximumPoolSize()
|
int |
getMaxTextFieldLength()
Get the maximum length of a text field for this database connection. |
int |
getMaxVARCHARLength()
Get the maximum length of a text field (VARCHAR) for this database connection. |
String |
getName()
|
Long |
getNextBatchId(DatabaseMeta dbm,
Database ldb,
String schemaName,
String tableName,
String fieldName)
|
Long |
getNextBatchIdUsingAutoIncSQL(String autoIncSQL,
DatabaseMeta dbm,
Database ldb)
|
Long |
getNextBatchIdUsingLockTables(DatabaseMeta dbm,
Database ldb,
String schemaName,
String tableName,
String fieldName)
|
Long |
getNextBatchIdUsingSequence(String sequenceName,
String schemaName,
DatabaseMeta dbm,
Database ldb)
|
int |
getNotFoundTK(boolean use_autoinc)
|
ObjectId |
getObjectId()
|
PartitionDatabaseMeta[] |
getPartitioningInformation()
|
String |
getPassword()
|
String |
getPluginId()
|
String |
getPluginName()
|
String |
getPreferredSchemaName()
|
String[] |
getReservedWords()
|
String |
getSchemaTableCombination(String schema_name,
String table_part)
Get the schema-table combination to query the right table. |
String |
getSelectCountStatement(String tableName)
Build the SQL to count the number of rows in the passed table. |
String |
getServername()
|
String |
getSQLColumnExists(String columnname,
String tablename)
|
String |
getSQLCurrentSequenceValue(String sequenceName)
Get the current value of a database sequence |
String |
getSQLInsertAutoIncUnknownDimensionRow(String schemaTable,
String keyField,
String versionField)
Get the SQL to insert a new empty unknown record in a dimension. |
String |
getSQLListOfProcedures()
|
String |
getSQLListOfSchemas()
|
String |
getSQLListOfSequences()
|
String |
getSQLLockTables(String[] tableNames)
|
String |
getSQLNextSequenceValue(String sequenceName)
Get the SQL to get the next value of a sequence. |
String |
getSQLQueryFields(String tableName)
Returns the minimal SQL to launch in order to determine the layout of the resultset for a given database table |
String |
getSQLSequenceExists(String sequenceName)
Check if a sequence exists. |
String |
getSQLTableExists(String tablename)
|
String |
getSQLUnlockTables(String[] tableNames)
|
String |
getStartQuote()
|
String[] |
getSynonymTypes()
|
String |
getTablespaceDDL(VariableSpace variables,
DatabaseMeta databaseMeta,
String tablespaceName)
Returns an empty string as most databases do not support tablespaces. |
String[] |
getTableTypes()
|
String |
getTruncateTableStatement(String tableName)
|
String |
getUsername()
|
Object |
getValueFromResultSet(ResultSet rs,
ValueMetaInterface val,
int i)
This method allows a database dialect to convert database specific data types to Kettle data types. |
String[] |
getViewTypes()
|
String |
getXulOverlayFile()
|
boolean |
isChanged()
|
boolean |
isDefaultingToUppercase()
|
boolean |
isDisplaySizeTwiceThePrecision()
|
boolean |
isExplorable()
|
boolean |
isFetchSizeSupported()
Checks whether or not the command setFetchSize() is supported by the JDBC driver... |
boolean |
isForcingIdentifiersToLowerCase()
|
boolean |
isForcingIdentifiersToUpperCase()
|
boolean |
isMySQLVariant()
|
boolean |
isPartitioned()
|
boolean |
isQuoteAllFields()
|
boolean |
isRequiringTransactionsOnQueries()
|
boolean |
isStreamingResults()
|
boolean |
isSystemTable(String tableName)
|
boolean |
isUsingConnectionPool()
|
boolean |
isUsingDoubleDecimalAsSchemaTableSeparator()
|
boolean |
needsPlaceHolder()
Indicates the need to insert a placeholder (0) for auto increment fields. |
boolean |
needsToLockAllTables()
|
List<String> |
parseStatements(String sqlScript)
Parse all possible statements from the provided SQL script. |
boolean |
quoteReservedWords()
|
String |
quoteSQLString(String string)
|
boolean |
releaseSavepoint()
Returns a true of savepoints can be released, false if not. |
boolean |
requiresCastToVariousForIsNull()
|
boolean |
requiresCreateTablePrimaryKeyAppend()
|
void |
setAccessType(int accessType)
|
void |
setAttributes(Properties attributes)
Set extra attributes on this database connection |
void |
setChanged(boolean changed)
|
void |
setConnectionPoolingProperties(Properties properties)
|
void |
setConnectSQL(String sql)
|
void |
setDatabaseName(String databaseName)
|
void |
setDatabasePortNumberString(String databasePortNumberString)
|
void |
setDataTablespace(String dataTablespace)
|
void |
setForcingIdentifiersToLowerCase(boolean forceLowerCase)
|
void |
setForcingIdentifiersToUpperCase(boolean forceUpperCase)
|
void |
setHostname(String hostname)
|
void |
setIndexTablespace(String indexTablespace)
|
void |
setInitialPoolSize(int initialPoolSize)
|
void |
setMaximumPoolSize(int maximumPoolSize)
|
void |
setName(String name)
|
void |
setObjectId(ObjectId id)
|
void |
setPartitioned(boolean clustered)
|
void |
setPartitioningInformation(PartitionDatabaseMeta[] clusterInfo)
|
void |
setPassword(String password)
|
void |
setPluginId(String pluginId)
|
void |
setPluginName(String pluginName)
|
void |
setPreferredSchemaName(String preferredSchemaName)
|
void |
setQuoteAllFields(boolean quoteAllFields)
|
void |
setServername(String servername)
|
void |
setStreamingResults(boolean useStreaming)
|
void |
setSupportsBooleanDataType(boolean b)
|
void |
setUsername(String username)
|
void |
setUsingConnectionPool(boolean usePool)
|
void |
setUsingDoubleDecimalAsSchemaTableSeparator(boolean useDoubleDecimalSeparator)
|
boolean |
supportsAutoInc()
|
boolean |
supportsBatchUpdates()
|
boolean |
supportsBitmapIndex()
|
boolean |
supportsBooleanDataType()
|
boolean |
supportsCatalogs()
|
boolean |
supportsEmptyTransactions()
|
boolean |
supportsErrorHandling()
|
boolean |
supportsErrorHandlingOnBatchUpdates()
|
boolean |
supportsFloatRoundingOnUpdate()
Most databases round number(7,2) 17.29999999 to 17.30, but some don't. |
boolean |
supportsGetBlob()
|
boolean |
supportsNewLinesInSQL()
|
boolean |
supportsOptionsInURL()
|
boolean |
supportsPreparedStatementMetadataRetrieval()
Most databases allow you to retrieve result metadata by preparing a SELECT statement. |
boolean |
supportsRepository()
|
boolean |
supportsResultSetMetadataRetrievalOnly()
|
boolean |
supportsSchemas()
|
boolean |
supportsSequenceNoMaxValueOption()
|
boolean |
supportsSequences()
|
boolean |
supportsSetCharacterStream()
See if this database supports the setCharacterStream() method on a PreparedStatement. |
boolean |
supportsSetLong()
|
boolean |
supportsSetMaxRows()
|
boolean |
supportsSynonyms()
|
boolean |
supportsTimeStampToDateConversion()
|
boolean |
supportsTransactions()
|
boolean |
supportsViews()
|
boolean |
useSafePoints()
|
boolean |
useSchemaNameForTableList()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ATTRIBUTE_PORT_NUMBER
public static final String ATTRIBUTE_SQL_CONNECT
public static final String ATTRIBUTE_USE_POOLING
public static final String ATTRIBUTE_MAXIMUM_POOL_SIZE
public static final String ATTRIBUTE_INITIAL_POOL_SIZE
public static final String ATTRIBUTE_PREFIX_EXTRA_OPTION
public static final String ATTRIBUTE_IS_CLUSTERED
public static final String ATTRIBUTE_CLUSTER_HOSTNAME_PREFIX
public static final String ATTRIBUTE_CLUSTER_PORT_PREFIX
public static final String ATTRIBUTE_CLUSTER_DBNAME_PREFIX
public static final String ATTRIBUTE_CLUSTER_USERNAME_PREFIX
public static final String ATTRIBUTE_CLUSTER_PASSWORD_PREFIX
public static final String ATTRIBUTE_POOLING_PARAMETER_PREFIX
public static final String ATTRIBUTE_USE_RESULT_STREAMING
public static final String ATTRIBUTE_MSSQL_DOUBLE_DECIMAL_SEPARATOR
public static final String ATTRIBUTE_QUOTE_ALL_FIELDS
public static final String ATTRIBUTE_FORCE_IDENTIFIERS_TO_LOWERCASE
public static final String ATTRIBUTE_FORCE_IDENTIFIERS_TO_UPPERCASE
public static final String ATTRIBUTE_PREFERRED_SCHEMA_NAME
public static final String ATTRIBUTE_SUPPORTS_BOOLEAN_DATA_TYPE
public static final String SEQUENCE_FOR_BATCH_ID
public static final String AUTOINCREMENT_SQL_FOR_BATCH_ID
public static final String SELECT_COUNT_STATEMENT
public static final DatabaseConnectionPoolParameter[] poolingParameters
Constructor Detail |
---|
public BaseDatabaseMeta()
Method Detail |
---|
public String getPluginId()
public void setPluginId(String pluginId)
pluginId
- The plugin ID to set.public String getPluginName()
public void setPluginName(String pluginName)
pluginName
- The plugin name to set.public abstract int[] getAccessTypeList()
public int getAccessType()
public void setAccessType(int accessType)
accessType
- The accessType to set.public boolean isChanged()
public void setChanged(boolean changed)
changed
- The changed to set.public String getName()
public void setName(String name)
name
- The connection Name to set.public String getDatabaseName()
public void setDatabaseName(String databaseName)
databaseName
- The databaseName to set.public void setDatabasePortNumberString(String databasePortNumberString)
databasePortNumberString
- The databasePortNumber string to set.public String getDatabasePortNumberString()
public String getHostname()
public void setHostname(String hostname)
hostname
- The hostname to set.public ObjectId getObjectId()
public void setObjectId(ObjectId id)
id
- The id to set.public String getPassword()
public void setPassword(String password)
password
- The password to set.public String getServername()
public void setServername(String servername)
servername
- The servername to set.public String getDataTablespace()
public void setDataTablespace(String dataTablespace)
dataTablespace
- The data tablespace to set.public String getIndexTablespace()
public void setIndexTablespace(String indexTablespace)
indexTablespace
- The index tablespace to set.public String getUsername()
public void setUsername(String username)
username
- The username to set.public Properties getAttributes()
public void setAttributes(Properties attributes)
attributes
- The extra attributes to set on this database connection.public Object clone()
clone
in class Object
public int getDefaultDatabasePort()
public boolean supportsSetCharacterStream()
public boolean supportsAutoInc()
public String getLimitClause(int nrRows)
public int getNotFoundTK(boolean use_autoinc)
public String getSQLNextSequenceValue(String sequenceName)
sequenceName
- The sequence name
public String getSQLCurrentSequenceValue(String sequenceName)
sequenceName
- The sequence to check
public String getSQLSequenceExists(String sequenceName)
sequenceName
- The sequence to check
public boolean isFetchSizeSupported()
public boolean needsPlaceHolder()
public boolean supportsSchemas()
public boolean supportsCatalogs()
public boolean supportsEmptyTransactions()
public String getFunctionSum()
public String getFunctionAverage()
public String getFunctionMinimum()
public String getFunctionMaximum()
public String getFunctionCount()
public String getSchemaTableCombination(String schema_name, String table_part)
schema_name
- The schema nametable_part
- The tablename
public String getBackwardsCompatibleSchemaTableCombination(String schemaPart, String tablePart)
schemaPart
- tablePart
-
public String getBackwardsCompatibleTable(String tablePart)
tablePart
-
public int getMaxTextFieldLength()
public int getMaxVARCHARLength()
public boolean supportsTransactions()
public boolean supportsSequences()
public boolean supportsBitmapIndex()
public boolean supportsSetLong()
public String getDropColumnStatement(String tablename, ValueMetaInterface v, String tk, boolean use_autoinc, String pk, boolean semicolon)
tablename
- The table to addv
- The column defined as a valuetk
- the name of the technical key fielduse_autoinc
- whether or not this field uses auto incrementpk
- the name of the primary key fieldsemicolon
- whether or not to add a semi-colon behind the statement.
public String[] getReservedWords()
public boolean quoteReservedWords()
public String getStartQuote()
public String getEndQuote()
public boolean supportsRepository()
public String[] getTableTypes()
public String[] getViewTypes()
public String[] getSynonymTypes()
public boolean useSchemaNameForTableList()
public boolean supportsViews()
public boolean supportsSynonyms()
public String getSQLListOfProcedures()
public String getSQLListOfSequences()
public String getTruncateTableStatement(String tableName)
tableName
- The table to be truncated.
public String getSQLQueryFields(String tableName)
tableName
- The name of the table to determine the layout for
public boolean supportsFloatRoundingOnUpdate()
public String getSQLLockTables(String[] tableNames)
tableNames
- The names of the tables to lock
public String getSQLUnlockTables(String[] tableNames)
tableNames
- The names of the tables to unlock
public boolean supportsTimeStampToDateConversion()
public boolean supportsBatchUpdates()
public boolean supportsBooleanDataType()
public void setSupportsBooleanDataType(boolean b)
b
- Set to true if the database supports a boolean, bit, logical, ... datatypepublic boolean isDefaultingToUppercase()
public Map<String,String> getExtraOptions()
public void addExtraOption(String databaseTypeCode, String option, String value)
databaseTypeCode
- The database type code for which the option appliesoption
- The option to setvalue
- The value of the optionpublic String getExtraOptionSeparator()
public String getExtraOptionValueSeparator()
public String getExtraOptionIndicator()
public boolean supportsOptionsInURL()
public String getExtraOptionsHelpText()
public boolean supportsGetBlob()
public String getConnectSQL()
public void setConnectSQL(String sql)
sql
- The SQL to execute right after connectingpublic boolean supportsSetMaxRows()
public boolean isUsingConnectionPool()
public void setUsingConnectionPool(boolean usePool)
usePool
- true if we want to use a database connection poolpublic int getMaximumPoolSize()
public void setMaximumPoolSize(int maximumPoolSize)
maximumPoolSize
- the maximum pool sizepublic int getInitialPoolSize()
public void setInitialPoolSize(int initialPoolSize)
initialPoolSize
- the initial pool sizepublic boolean isPartitioned()
public void setPartitioned(boolean clustered)
usePool
- true if we want to use a database connection poolpublic PartitionDatabaseMeta[] getPartitioningInformation()
public void setPartitioningInformation(PartitionDatabaseMeta[] clusterInfo)
clusterInfo
- the available partition/host/databases/port combinations in the clusterpublic Properties getConnectionPoolingProperties()
public void setConnectionPoolingProperties(Properties properties)
public String getSQLTableExists(String tablename)
public String getSQLColumnExists(String columnname, String tablename)
public boolean needsToLockAllTables()
public boolean isStreamingResults()
public void setStreamingResults(boolean useStreaming)
useStreaming
- true if we want the database to stream results (normally this is an option just for MySQL).public boolean isQuoteAllFields()
public void setQuoteAllFields(boolean quoteAllFields)
useStreaming
- true if we want the database to stream results (normally this is an option just for MySQL).public boolean isForcingIdentifiersToLowerCase()
public void setForcingIdentifiersToLowerCase(boolean forceLowerCase)
forceLowerCase
- true if all identifiers should be forced to lower casepublic boolean isForcingIdentifiersToUpperCase()
public void setForcingIdentifiersToUpperCase(boolean forceUpperCase)
forceLowerCase
- true if all identifiers should be forced to upper casepublic boolean isUsingDoubleDecimalAsSchemaTableSeparator()
public void setUsingDoubleDecimalAsSchemaTableSeparator(boolean useDoubleDecimalSeparator)
useDoubleDecimalSeparator
- true if we should use a double decimal separator to specify schema/table combinations on MS-SQL serverpublic boolean isRequiringTransactionsOnQueries()
public String getDatabaseFactoryName()
public String getPreferredSchemaName()
public void setPreferredSchemaName(String preferredSchemaName)
preferredSchemaName
- The preferred schema name of this database connection.public boolean checkIndexExists(Database database, String schemaName, String tableName, String[] idx_fields) throws KettleDatabaseException
database
- a connected databaseschemaName
- tableName
- idxFields
-
KettleException
KettleDatabaseException
public boolean supportsSequenceNoMaxValueOption()
public boolean requiresCreateTablePrimaryKeyAppend()
public boolean requiresCastToVariousForIsNull()
public boolean isDisplaySizeTwiceThePrecision()
public boolean supportsPreparedStatementMetadataRetrieval()
public boolean supportsResultSetMetadataRetrievalOnly()
public boolean isSystemTable(String tableName)
tableName
-
public boolean supportsNewLinesInSQL()
public String getSQLListOfSchemas()
public int getMaxColumnsInIndex()
public boolean supportsErrorHandlingOnBatchUpdates()
public String getSQLInsertAutoIncUnknownDimensionRow(String schemaTable, String keyField, String versionField)
schemaTable
- the schema-table name to insert intokeyField
- The key fieldversionField
- the version field
public boolean isExplorable()
public String getXulOverlayFile()
public String quoteSQLString(String string)
string
-
public String getSelectCountStatement(String tableName)
tableName
-
public String generateColumnAlias(int columnIndex, String suggestedName)
public List<String> parseStatements(String sqlScript)
sqlScript
- Raw SQL Script to be parsed into executable statements.
public boolean isMySQLVariant()
public boolean releaseSavepoint()
public Long getNextBatchIdUsingSequence(String sequenceName, String schemaName, DatabaseMeta dbm, Database ldb) throws KettleDatabaseException
KettleDatabaseException
public Long getNextBatchIdUsingAutoIncSQL(String autoIncSQL, DatabaseMeta dbm, Database ldb) throws KettleDatabaseException
KettleDatabaseException
public Long getNextBatchIdUsingLockTables(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName) throws KettleDatabaseException
KettleDatabaseException
public Long getNextBatchId(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName) throws KettleDatabaseException
KettleDatabaseException
public String getDataTablespaceDDL(VariableSpace variables, DatabaseMeta databaseMeta)
VariableSpace
- variables used for possible substitutionDatabaseMeta
- databaseMeta the database meta used for possible string enclosure of the tablespace. This
method needs this as this is done after environmental substitution.
public String getIndexTablespaceDDL(VariableSpace variables, DatabaseMeta databaseMeta)
VariableSpace
- variables used for possible substitutionDatabaseMeta
- databaseMeta the database meta used for possible string enclosure of the tablespace. This
method needs this as this is done after environmental substitution.
public String getTablespaceDDL(VariableSpace variables, DatabaseMeta databaseMeta, String tablespaceName)
VariableSpace
- variables needed for variable substitution.DatabaseMeta
- databaseMeta needed for it's quoteField method. Since we are doing variable
substitution we need to meta so that we can act on the variable substitution first and then the
creation of the entire string that will be retuned.String
- tablespaceName name of the tablespace.
public Object getValueFromResultSet(ResultSet rs, ValueMetaInterface val, int i) throws KettleDatabaseException
resultSet
- The result set to usevalueMeta
- The description of the value to retrieveindex
- the index on which we need to retrieve the value, 0-based.
KettleDatabaseException
public boolean useSafePoints()
public boolean supportsErrorHandling()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |