org.sourceforge.jxdbcon.postgresql
Class PGTextTypes.PGbpchar
java.lang.Object
|
+--org.sourceforge.jxutil.sql.type.AbstractType
|
+--org.sourceforge.jxutil.sql.type.AbstractText
|
+--org.sourceforge.jxutil.sql.type.AbstractCHAR
|
+--org.sourceforge.jxdbcon.postgresql.PGTextTypes.PGbpchar
- Enclosing class:
- PGTextTypes
- public static class PGTextTypes.PGbpchar
- extends AbstractCHAR
CHAR() type.
Using byte values in the current encoding.
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractCHAR |
getBigDecimal, getBoolean, getByte, getDate, getDouble, getFloat, getInt, getJavaClass, getJavaType, getJDBCType, getLong, getObject, getPrecision, getShort, getTime, getTimestamp, setBigDecimal, setBoolean, setByte, setDate, setDouble, setFloat, setInt, setLong, setShort, setTime, setTimestamp |
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType |
dataTruncationRead, dataTruncationWrite, getArray, getAsciiStream, getAutoInc, getBinaryStream, getBlob, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getLocalName, getMaxScale, getMinScale, getName, getNullable, getNumRadix, getObject, 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 |
DEFINSTANCE
public static final PGTextTypes.PGbpchar DEFINSTANCE
PGTextTypes.PGbpchar
public PGTextTypes.PGbpchar()
- registering as character because bpchar cannot be used in create
context.
PGTextTypes.PGbpchar
public PGTextTypes.PGbpchar(int len)
deriveType
public AbstractType deriveType(int d)
- Overrides:
deriveType
in class AbstractType
getBytes
public byte[] getBytes(Object row,
ConversionContext ctx)
- Overrides:
getBytes
in class AbstractType
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 AbstractText
getLiteralSuffix
public String getLiteralSuffix()
- Overrides:
getLiteralSuffix
in class AbstractText
getString
public String getString(Object row,
ConversionContext ctx)
- Specified by:
getString
in class AbstractText
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
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.