jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGNumericTypes.PGfloat4

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.type.AbstractType
        |
        +--org.sourceforge.jxutil.sql.type.AbstractREAL
              |
              +--org.sourceforge.jxdbcon.postgresql.PGNumericTypes.PGfloat4
Enclosing class:
PGNumericTypes

public static final class PGNumericTypes.PGfloat4
extends AbstractREAL

4 byte single precision floating point value.


Field Summary
static PGNumericTypes.PGfloat4 INSTANCE
           
 
Fields inherited from class org.sourceforge.jxutil.sql.type.AbstractType
BD_ONE, BD_ZERO, name
 
Constructor Summary
private PGNumericTypes.PGfloat4()
           
 
Method Summary
 byte[] getBytes(Object row, ConversionContext ctx)
           
 float getFloat(Object row, ConversionContext ctx)
           
 String getLiteralSuffix()
           
 void setBytes(Object row, byte[] val, ConversionContext ctx)
           
 void setFloat(Object row, float val, ConversionContext ctx)
           
 void setNull(Object row, ConversionContext ctx)
           
 
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractREAL
getBigDecimal, getBoolean, getByte, getDouble, getInt, getJavaClass, getJavaType, getJDBCType, getLong, getObject, getShort, getString, setBigDecimal, setBoolean, setByte, setDouble, setInt, setLong, setShort, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final PGNumericTypes.PGfloat4 INSTANCE
Constructor Detail

PGNumericTypes.PGfloat4

private PGNumericTypes.PGfloat4()
Method Detail

getBytes

public byte[] getBytes(Object row,
                       ConversionContext ctx)
Overrides:
getBytes in class AbstractType

getFloat

public float getFloat(Object row,
                      ConversionContext ctx)
               throws SQLException
Specified by:
getFloat in class AbstractREAL
SQLException

getLiteralSuffix

public String getLiteralSuffix()
Overrides:
getLiteralSuffix in class AbstractType

setBytes

public void setBytes(Object row,
                     byte[] val,
                     ConversionContext ctx)
Overrides:
setBytes in class AbstractType

setFloat

public void setFloat(Object row,
                     float val,
                     ConversionContext ctx)
Specified by:
setFloat in class AbstractREAL

setNull

public void setNull(Object row,
                    ConversionContext ctx)
             throws SQLException
Overrides:
setNull in class AbstractType
SQLException

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.