org.dbunit.ext.netezza
Class NetezzaDataTypeFactory

java.lang.Object
  extended by org.dbunit.dataset.datatype.DefaultDataTypeFactory
      extended by org.dbunit.ext.netezza.NetezzaDataTypeFactory
All Implemented Interfaces:
IDataTypeFactory, IDbProductRelatable

public class NetezzaDataTypeFactory
extends DefaultDataTypeFactory

NetezzaDataTypeFactory - This class is for the DBUnit data type factory for Netezza database

Since:
2.4.6
Version:
$Revision: 1035 $ $Date: 2009-09-15 12:56:59 -0500 (Tue, 15 Sep 2009) $
Author:
Ameet (amit3011 AT users.sourceforge.net), Last changed by: $Author: gommma $

Field Summary
static int BIGINT
           
static int BLOB
           
static int BOOLEAN
           
static int BYTEINT
           
static int CHAR
           
static int DATE
           
static int DECIMAL
           
static int DOUBLE
           
static int FLOAT
           
static int INT8
           
static int INTEGER
           
static int INTERVAL
           
static int NCHAR
           
static int NTEXT
           
static int NUCL
           
static int NUMERIC
           
static int NVARCHAR
           
static int PROT
           
static int REAL
           
static int RECADDR
           
static int SMALLINT
           
static int TIME
           
static int TIMESTAMP
           
static int TIMETZ
           
static int UNKNOWN
           
static int VARCHAR
           
static int VARFIXEDCHAR
           
 
Constructor Summary
NetezzaDataTypeFactory()
           
 
Method Summary
 DataType createDataType(int sqlType, String sqlTypeName)
          Returns the DataType object that corresponds to the specified Types.
 
Methods inherited from class org.dbunit.dataset.datatype.DefaultDataTypeFactory
addToleratedDelta, createDataType, getToleratedDeltaMap, getValidDbProducts, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RECADDR

public static final int RECADDR
See Also:
Constant Field Values

NUMERIC

public static final int NUMERIC
See Also:
Constant Field Values

DECIMAL

public static final int DECIMAL
See Also:
Constant Field Values

INTEGER

public static final int INTEGER
See Also:
Constant Field Values

SMALLINT

public static final int SMALLINT
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

INTERVAL

public static final int INTERVAL
See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
See Also:
Constant Field Values

CHAR

public static final int CHAR
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

REAL

public static final int REAL
See Also:
Constant Field Values

VARCHAR

public static final int VARCHAR
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values

TIME

public static final int TIME
See Also:
Constant Field Values

TIMESTAMP

public static final int TIMESTAMP
See Also:
Constant Field Values

TIMETZ

public static final int TIMETZ
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

BYTEINT

public static final int BYTEINT
See Also:
Constant Field Values

INT8

public static final int INT8
See Also:
Constant Field Values

VARFIXEDCHAR

public static final int VARFIXEDCHAR
See Also:
Constant Field Values

NUCL

public static final int NUCL
See Also:
Constant Field Values

PROT

public static final int PROT
See Also:
Constant Field Values

BLOB

public static final int BLOB
See Also:
Constant Field Values

BIGINT

public static final int BIGINT
See Also:
Constant Field Values

NCHAR

public static final int NCHAR
See Also:
Constant Field Values

NVARCHAR

public static final int NVARCHAR
See Also:
Constant Field Values

NTEXT

public static final int NTEXT
See Also:
Constant Field Values
Constructor Detail

NetezzaDataTypeFactory

public NetezzaDataTypeFactory()
Method Detail

createDataType

public DataType createDataType(int sqlType,
                               String sqlTypeName)
                        throws DataTypeException
Description copied from interface: IDataTypeFactory
Returns the DataType object that corresponds to the specified Types.

Specified by:
createDataType in interface IDataTypeFactory
Overrides:
createDataType in class DefaultDataTypeFactory
Parameters:
sqlType - SQL type from Types
sqlTypeName - Data source dependent type name
Throws:
DataTypeException
See Also:
IDataTypeFactory.createDataType(int, java.lang.String)


Copyright © 2002-2012. All Rights Reserved.