com.metamatrix.common.jdbc.db
Class DB2Platform

java.lang.Object
  extended by com.metamatrix.common.jdbc.JDBCPlatform
      extended by com.metamatrix.common.jdbc.db.DB2Platform
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DB2Platform
extends JDBCPlatform

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.metamatrix.common.jdbc.JDBCPlatform
JDBCPlatform.TableTypes
 
Field Summary
 
Fields inherited from class com.metamatrix.common.jdbc.JDBCPlatform
AND, classTypes, COMMA, DELETE_FROM, DISTINCT, EQUAL, fieldTypes, FROM, GROUP_BY, IN, INSERT_INTO, INTO, isSecure, LENGTH, maximumValues, minimumValues, ON, ORDER_BY, PARAM, PERIOD, platformOperators, SELECT, SET, SPACE, tableTypes, UPDATE, usesStreamsForBlobBinding, usesStreamsForClobBinding, VALUES, WHERE
 
Constructor Summary
DB2Platform()
           
 
Method Summary
protected  java.util.Map buildFieldTypes()
           
protected  java.util.Map buildPlatformOperators()
           
 boolean isClosed(java.sql.Connection connection)
           
 boolean isDB2()
           
 boolean isDefault()
           
 java.util.Map maximumNumericValues()
          Builds a table of maximum numeric values keyed on java class.
 java.util.Map minimumNumericValues()
          Builds a table of minimum numeric values keyed on java class.
 
Methods inherited from class com.metamatrix.common.jdbc.JDBCPlatform
addOperator, buildClassTypes, buildCommaSeperatedColumns, buildSetParmClause, buildWhereParameterClause, buildWhereUsingUiqueKeys, convertClobToByteArray, convertToByteArray, convertToByteArray, convertToByteArray, createDeleteStatement, createDeleteStatement, createDeleteStatement, createInsertStatement, createInsertStatement, createInsertStatement, createSelectStatement, createSelectStatement, createSelectStatement, createTruncateStatement, createTruncateStatement, createUpdateStatement, createUpdateStatement, getClassTypes, getDatabaseColumnSize, getFieldTypes, getMaxFieldNameSize, getMaximumValue, getMinimumValue, getNonExecutableDelimiters, getOperator, getPlatformName, getPlatformOperators, getTableTypes, isDerby, isInformix, isMetaMatrix, isMSSQL, isMYSQL, isOracle, isPostgres, isSecure, isSybase, parseToExecutableStatements, setBlob, setBlob, setClob, setClob, setClob, setConnection, setIsSecure, setPlatformName, usesStreamsForBlobBinding, usesStreamsForClobBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DB2Platform

public DB2Platform()
Method Detail

isDB2

public boolean isDB2()
Overrides:
isDB2 in class JDBCPlatform

isDefault

public boolean isDefault()
Overrides:
isDefault in class JDBCPlatform

isClosed

public boolean isClosed(java.sql.Connection connection)
Overrides:
isClosed in class JDBCPlatform

buildFieldTypes

protected java.util.Map buildFieldTypes()
Overrides:
buildFieldTypes in class JDBCPlatform

buildPlatformOperators

protected java.util.Map buildPlatformOperators()
Overrides:
buildPlatformOperators in class JDBCPlatform

maximumNumericValues

public java.util.Map maximumNumericValues()
Builds a table of maximum numeric values keyed on java class. This is used for type testing but might also be useful to end users attempting to sanitize values.

NOTE: BigInteger & BigDecimal maximums are dependent upon their precision & Scale

Overrides:
maximumNumericValues in class JDBCPlatform

minimumNumericValues

public java.util.Map minimumNumericValues()
Builds a table of minimum numeric values keyed on java class. This is used for type testing but might also be useful to end users attempting to sanitize values.

NOTE: BigInteger & BigDecimal minimums are dependent upon their precision & Scale

Overrides:
minimumNumericValues in class JDBCPlatform


Copyright © 2009. All Rights Reserved.