jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGStructTypes.PGtimetz

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.type.AbstractType
        |
        +--org.sourceforge.jxdbcon.postgresql.PGStructTypes.PGstruct
              |
              +--org.sourceforge.jxdbcon.postgresql.PGStructTypes.PGtimetz
Enclosing class:
PGStructTypes

public static class PGStructTypes.PGtimetz
extends PGStructTypes.PGstruct

TIME type with time zone information. Stored internally as a (float8,int4).


Field Summary
static PGStructTypes.PGtimetz INSTANCE
           
(package private) static AbstractType[] stTypes
           
 
Fields inherited from class org.sourceforge.jxutil.sql.type.AbstractType
BD_ONE, BD_ZERO, name
 
Constructor Summary
PGStructTypes.PGtimetz()
           
 
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 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, 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
 

Field Detail

INSTANCE

public static final PGStructTypes.PGtimetz INSTANCE

stTypes

static final AbstractType[] stTypes
Constructor Detail

PGStructTypes.PGtimetz

public PGStructTypes.PGtimetz()
Method Detail

concat

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

getElements

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

getLiteralPrefix

public String getLiteralPrefix()
Overrides:
getLiteralPrefix in class PGStructTypes.PGstruct

getLiteralSuffix

public String getLiteralSuffix()
Overrides:
getLiteralSuffix in class PGStructTypes.PGstruct

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

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.