jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGStructTypes.PGstruct

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.type.AbstractType
        |
        +--org.sourceforge.jxdbcon.postgresql.PGStructTypes.PGstruct
Direct Known Subclasses:
PGStructTypes.PGbox, PGStructTypes.PGcircle, PGStructTypes.PGline, PGStructTypes.PGlseg, PGStructTypes.PGpath, PGStructTypes.PGpoint, PGStructTypes.PGtimetz, PGStructTypes.PGtinterval
Enclosing class:
PGStructTypes

abstract static class PGStructTypes.PGstruct
extends AbstractType


Field Summary
 
Fields inherited from class org.sourceforge.jxutil.sql.type.AbstractType
BD_ONE, BD_ZERO, name
 
Constructor Summary
PGStructTypes.PGstruct(String typename)
           
 
Method Summary
(package private) abstract  byte[] concat(byte[][] data, boolean isBinary)
           
 byte[] getBytes(Object o, ConversionContext ctx)
           
(package private) abstract  AbstractType[] getElements()
           
 Class getJavaClass()
           
 Class getJavaType()
           
 int getJDBCType()
           
 String getLiteralPrefix()
           
 String getLiteralSuffix()
           
 Object getObject(Object o, Map map, ConversionContext ctx)
           
 void setObject(Object o, Object x, ConversionContext ctx)
           
(package private) abstract  byte[][] split(byte[] data, boolean isBinary)
           
 
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType
dataTruncationRead, dataTruncationWrite, deriveType, getArray, getAsciiStream, getAutoInc, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getCaseSensitive, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getDate, getDouble, getFloat, getInt, getLiteral, getLocalName, getLong, getMaxScale, getMinScale, getName, getNullable, getNumRadix, getObject, getPrecision, getRef, getScale, getSearchable, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getUnsigned, getURL, noConversion, noConversion, noConversion, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setNull, setObject, setObject, setRef, setShort, setString, setStruct, setTime, setTime, setTimestamp, setTimestamp, setURL, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PGStructTypes.PGstruct

public PGStructTypes.PGstruct(String typename)
Method Detail

concat

abstract byte[] concat(byte[][] data,
                       boolean isBinary)
                throws SQLException
SQLException

getBytes

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

getElements

abstract AbstractType[] getElements()

getJavaClass

public Class getJavaClass()
Overrides:
getJavaClass in class AbstractType

getJavaType

public Class getJavaType()
Overrides:
getJavaType in class AbstractType

getJDBCType

public int getJDBCType()
Specified by:
getJDBCType in class AbstractType

getLiteralPrefix

public String getLiteralPrefix()
Overrides:
getLiteralPrefix in class AbstractType

getLiteralSuffix

public String getLiteralSuffix()
Overrides:
getLiteralSuffix in class AbstractType

getObject

public Object getObject(Object o,
                        Map map,
                        ConversionContext ctx)
                 throws SQLException
Overrides:
getObject in class AbstractType
SQLException

setObject

public void setObject(Object o,
                      Object x,
                      ConversionContext ctx)
               throws SQLException
Overrides:
setObject in class AbstractType
SQLException

split

abstract byte[][] split(byte[] data,
                        boolean isBinary)
                 throws SQLException
SQLException

jxDBCon 0.9z

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