org.sourceforge.jxdbcon.postgresql
Class PGNumericTypes.PGint2
java.lang.Object
|
+--org.sourceforge.jxutil.sql.type.AbstractType
|
+--org.sourceforge.jxutil.sql.type.AbstractSMALLINT
|
+--org.sourceforge.jxdbcon.postgresql.PGNumericTypes.PGint2
- Enclosing class:
- PGNumericTypes
- public static final class PGNumericTypes.PGint2
- extends AbstractSMALLINT
Signed 2 byte 2's complements integer value.
ranging from -32768 to 32767, represented by a Java short.
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractSMALLINT |
getBigDecimal, getBoolean, getByte, getDouble, getFloat, getInt, getJavaClass, getJavaType, getJDBCType, getLong, getObject, getString, setBigDecimal, setBoolean, setByte, setDouble, setFloat, setInt, setLong, setString |
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType |
dataTruncationRead, dataTruncationWrite, deriveType, getArray, getAsciiStream, getAutoInc, getBinaryStream, getBlob, getCaseSensitive, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getDate, getLiteral, getLiteralPrefix, getLocalName, getMaxScale, getMinScale, getName, getNullable, getNumRadix, getObject, getPrecision, getRef, getScale, 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 |
INSTANCE
public static final PGNumericTypes.PGint2 INSTANCE
PGNumericTypes.PGint2
private PGNumericTypes.PGint2()
getBytes
public byte[] getBytes(Object row,
ConversionContext ctx)
- Overrides:
getBytes
in class AbstractType
getLiteralSuffix
public String getLiteralSuffix()
- Overrides:
getLiteralSuffix
in class AbstractType
getShort
public short getShort(Object row,
ConversionContext ctx)
throws SQLException
- Specified by:
getShort
in class AbstractSMALLINT
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
setShort
public void setShort(Object row,
short val,
ConversionContext ctx)
- Specified by:
setShort
in class AbstractSMALLINT
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.