org.sourceforge.jxdbcon.postgresql
Class PGTypes.PGbytea
java.lang.Object
|
+--org.sourceforge.jxutil.sql.type.AbstractType
|
+--org.sourceforge.jxutil.sql.type.AbstractLONGVARBINARY
|
+--org.sourceforge.jxdbcon.postgresql.PGTypes.PGbytea
- Enclosing class:
- PGTypes
- public static class PGTypes.PGbytea
- extends AbstractLONGVARBINARY
LONGVARBINARY type.
Up to 7.0.3 this type has a storage limitation of ~8140 bytes.
From 7.1 it can store any size.
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType |
dataTruncationRead, dataTruncationWrite, deriveType, getArray, getAsciiStream, getAutoInc, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getDate, getDouble, getFloat, getInt, getLocalName, getLong, getMaxScale, getMinScale, getName, getNullable, getNumRadix, getObject, getRef, getScale, getSearchable, getShort, getTime, getTime, getTimestamp, getTimestamp, getUnsigned, getURL, noConversion, noConversion, noConversion, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setStruct, setTime, setTime, setTimestamp, setTimestamp, setURL, toString |
INSTANCE
public static final PGTypes.PGbytea INSTANCE
PGTypes.PGbytea
private PGTypes.PGbytea()
getBytes
public byte[] getBytes(Object row,
ConversionContext ctx)
- Specified by:
getBytes
in class AbstractLONGVARBINARY
getCaseSensitive
public boolean getCaseSensitive()
- Overrides:
getCaseSensitive
in class AbstractType
getLiteral
public String getLiteral(Object row,
ConversionContext ctx)
- Overrides:
getLiteral
in class AbstractType
getLiteralPrefix
public String getLiteralPrefix()
- Overrides:
getLiteralPrefix
in class AbstractType
getLiteralSuffix
public String getLiteralSuffix()
- Overrides:
getLiteralSuffix
in class AbstractType
getPrecision
public int getPrecision()
- Overrides:
getPrecision
in class AbstractType
setBytes
public void setBytes(Object row,
byte[] x,
ConversionContext ctx)
- Specified by:
setBytes
in class AbstractLONGVARBINARY
setNull
public void setNull(Object row,
ConversionContext ctx)
throws SQLException
- Overrides:
setNull
in class AbstractType
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.