org.sourceforge.jxdbcon.postgresql
Class PGNumericTypes.PGnumeric
java.lang.Object
|
+--org.sourceforge.jxutil.sql.type.AbstractType
|
+--org.sourceforge.jxutil.sql.type.AbstractNUMERIC
|
+--org.sourceforge.jxdbcon.postgresql.PGNumericTypes.PGnumeric
- Enclosing class:
- PGNumericTypes
- public static class PGNumericTypes.PGnumeric
- extends AbstractNUMERIC
NUMERIC type.
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractNUMERIC |
getBoolean, getByte, getDouble, getFloat, getInt, getJavaClass, getJavaType, getJDBCType, getLong, getObject, getPrecision, getScale, getShort, getString, setBoolean, setByte, setDouble, setFloat, setInt, setLong, setShort, setString |
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType |
dataTruncationRead, dataTruncationWrite, getArray, getAsciiStream, getAutoInc, getBinaryStream, getBlob, getCaseSensitive, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getDate, getLiteral, getLiteralPrefix, getLiteralSuffix, getLocalName, getName, getNullable, getNumRadix, getObject, getRef, getSearchable, getTime, getTime, getTimestamp, getTimestamp, getUnsigned, getURL, noConversion, noConversion, noConversion, setArray, setAsciiStream, setBinaryStream, setBlob, setCharacterStream, setClob, setDate, setDate, setNull, setNull, setObject, setObject, setObject, setRef, setStruct, setTime, setTime, setTimestamp, setTimestamp, setURL, toString |
DEFINSTANCE
public static final PGNumericTypes.PGnumeric DEFINSTANCE
PGNumericTypes.PGnumeric
private PGNumericTypes.PGnumeric()
PGNumericTypes.PGnumeric
public PGNumericTypes.PGnumeric(int prec,
int scale)
deriveType
public AbstractType deriveType(int d)
- Overrides:
deriveType
in class AbstractType
getBigDecimal
public BigDecimal getBigDecimal(Object row,
ConversionContext ctx)
throws SQLException
- Specified by:
getBigDecimal
in class AbstractNUMERIC
SQLException
getBytes
public byte[] getBytes(Object row,
ConversionContext ctx)
- Overrides:
getBytes
in class AbstractType
getMaxScale
public short getMaxScale()
- Overrides:
getMaxScale
in class AbstractType
getMinScale
public short getMinScale()
- Overrides:
getMinScale
in class AbstractType
setBigDecimal
public void setBigDecimal(Object row,
BigDecimal val,
ConversionContext ctx)
throws SQLException
- Specified by:
setBigDecimal
in class AbstractNUMERIC
SQLException
setBytes
public void setBytes(Object row,
byte[] val,
ConversionContext ctx)
- Overrides:
setBytes
in class AbstractType
setNull
public void setNull(Object row,
ConversionContext ctx)
throws SQLException
- Overrides:
setNull
in class AbstractType
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.