jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGStructTypes.PGpath

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.type.AbstractType
        |
        +--org.sourceforge.jxdbcon.postgresql.PGStructTypes.PGstruct
              |
              +--org.sourceforge.jxdbcon.postgresql.PGStructTypes.PGpath
Direct Known Subclasses:
PGStructTypes.PGpolygon
Enclosing class:
PGStructTypes

public static class PGStructTypes.PGpath
extends PGStructTypes.PGstruct

Does not work for now, several reasons...


Field Summary
static PGStructTypes.PGpath INSTANCE
           
(package private) static AbstractType[] stTypes
           
 
Fields inherited from class org.sourceforge.jxutil.sql.type.AbstractType
BD_ONE, BD_ZERO, name
 
Constructor Summary
  PGStructTypes.PGpath()
           
protected PGStructTypes.PGpath(String name)
           
 
Method Summary
(package private)  byte[] concat(byte[][] buf, boolean isBinary)
           
 byte[] getBytes(Object o, ConversionContext ctx)
           
(package private)  AbstractType[] getElements()
           
 Class getJavaClass()
           
 Class getJavaType()
           
 int getJDBCType()
           
 String getLiteral(Object o, ConversionContext ctx)
           
 String getLiteralPrefix()
           
 String getLiteralSuffix()
           
 Object getObject(Object o, Map map, ConversionContext ctx)
           
 void setObject(Object o, Object x, ConversionContext ctx)
           
(package private)  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, 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
 

Field Detail

INSTANCE

public static final PGStructTypes.PGpath INSTANCE

stTypes

static final AbstractType[] stTypes
Constructor Detail

PGStructTypes.PGpath

public PGStructTypes.PGpath()

PGStructTypes.PGpath

protected PGStructTypes.PGpath(String name)
Method Detail

concat

byte[] concat(byte[][] buf,
              boolean isBinary)
Specified by:
concat in class PGStructTypes.PGstruct

getElements

AbstractType[] getElements()
Specified by:
getElements in class PGStructTypes.PGstruct

getLiteral

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

split

byte[][] split(byte[] data,
               boolean isBinary)
         throws SQLException
Specified by:
split in class PGStructTypes.PGstruct
SQLException

getBytes

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

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

jxDBCon 0.9z

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