jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGTextTypes.PGtext

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.type.AbstractType
        |
        +--org.sourceforge.jxutil.sql.type.AbstractText
              |
              +--org.sourceforge.jxutil.sql.type.AbstractLONGVARCHAR
                    |
                    +--org.sourceforge.jxdbcon.postgresql.PGTextTypes.PGtext
Direct Known Subclasses:
PGTypes.DefaultParamType
Enclosing class:
PGTextTypes

public static class PGTextTypes.PGtext
extends AbstractLONGVARCHAR

LONGVARCHAR type. Using byte values in the current encoding.


Field Summary
static PGTextTypes.PGtext INSTANCE
           
 
Fields inherited from class org.sourceforge.jxutil.sql.type.AbstractType
BD_ONE, BD_ZERO, name
 
Constructor Summary
private PGTextTypes.PGtext()
           
protected PGTextTypes.PGtext(String name)
           
 
Method Summary
 byte[] getBytes(Object row, ConversionContext ctx)
           
 boolean getCaseSensitive()
           
 Date getDate(Object row, Calendar cal, ConversionContext ctx)
           
 String getLiteral(Object row, ConversionContext ctx)
           
 String getLiteralPrefix()
           
 String getLiteralSuffix()
           
 String getString(Object row, ConversionContext ctx)
           
 Time getTime(Object row, Calendar cal, ConversionContext ctx)
           
 Timestamp getTimestamp(Object row, Calendar cal, ConversionContext ctx)
           
 void setNull(Object row, ConversionContext ctx)
           
 void setString(Object row, String val, ConversionContext ctx)
           
 
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractLONGVARCHAR
getBigDecimal, getBoolean, getByte, getDouble, getFloat, getInt, getJavaClass, getJavaType, getJDBCType, getLong, getObject, getShort, setBigDecimal, setBoolean, setByte, setDate, setDouble, setFloat, setInt, setLong, setShort, setTime, setTimestamp
 
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType
dataTruncationRead, dataTruncationWrite, deriveType, getArray, getAsciiStream, getAutoInc, getBinaryStream, getBlob, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getLocalName, getMaxScale, getMinScale, getName, getNullable, getNumRadix, getObject, getPrecision, getRef, getScale, getSearchable, getTime, getTimestamp, getUnsigned, getURL, noConversion, noConversion, noConversion, setArray, setAsciiStream, setBinaryStream, setBlob, setBytes, setCharacterStream, setClob, setDate, setNull, setNull, setObject, setObject, setObject, setRef, setStruct, setTime, 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 PGTextTypes.PGtext INSTANCE
Constructor Detail

PGTextTypes.PGtext

private PGTextTypes.PGtext()

PGTextTypes.PGtext

protected PGTextTypes.PGtext(String name)
Method Detail

getBytes

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

getCaseSensitive

public boolean getCaseSensitive()
Overrides:
getCaseSensitive in class AbstractType

getDate

public Date getDate(Object row,
                    Calendar cal,
                    ConversionContext ctx)
             throws SQLException
Overrides:
getDate in class AbstractText
SQLException

getLiteral

public String getLiteral(Object row,
                         ConversionContext ctx)
                  throws SQLException
Overrides:
getLiteral in class AbstractType
SQLException

getLiteralPrefix

public String getLiteralPrefix()
Overrides:
getLiteralPrefix in class AbstractText

getLiteralSuffix

public String getLiteralSuffix()
Overrides:
getLiteralSuffix in class AbstractText

getString

public String getString(Object row,
                        ConversionContext ctx)
Specified by:
getString in class AbstractText

getTime

public Time getTime(Object row,
                    Calendar cal,
                    ConversionContext ctx)
             throws SQLException
Overrides:
getTime in class AbstractText
SQLException

getTimestamp

public Timestamp getTimestamp(Object row,
                              Calendar cal,
                              ConversionContext ctx)
                       throws SQLException
Overrides:
getTimestamp in class AbstractText
SQLException

setNull

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

setString

public void setString(Object row,
                      String val,
                      ConversionContext ctx)
Specified by:
setString in class AbstractText

jxDBCon 0.9z

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