public class IfxVarChar extends IfxObject
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
value
The Varchar value
|
conn, encodedLength, extendedID, extendedName, extendedOwner, ifxType, isNull, jdbcType, sourceType, trace, typeMap, used_in_update| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Find out whether two objects are equal.
|
void |
fromAsciiStream(java.io.InputStream x,
int length) |
void |
fromAsciiStream(java.io.InputStream x,
long length) |
void |
fromBigDecimal(java.math.BigDecimal val)
Convert from BigDecimal value to VarChar value.
|
void |
fromBoolean(boolean b)
Convert from java boolean
|
void |
fromBoolean(java.lang.Boolean b)
Convert from java Boolean
|
void |
fromByte(byte b)
Convert from java byte
|
void |
fromByte(java.lang.Byte b)
Convert from java Byte
|
void |
fromBytes(byte[] str) |
void |
fromCharacterStream(java.io.Reader x,
int length) |
void |
fromCharacterStream(java.io.Reader reader,
long length) |
void |
fromDate(java.sql.Date val)
Convert from Date value to VarChar value.
|
void |
fromDecimal(java.math.BigDecimal B)
Convert to IfxVarChar from java big decimal
|
void |
fromDouble(double val)
Convert from Double value to VarChar value.
|
void |
fromDouble(java.lang.Double val)
Convert from Double value to VarChar value.
|
void |
fromFloat(float val)
Convert from float value to VarChar value.
|
void |
fromFloat(java.lang.Float val)
Convert from Float value to VarChar value.
|
void |
fromIfx(byte[] b)
Set value of this data type to the given Informix network format
|
void |
fromIfx(byte[] b,
int offset,
int length)
Set value of this data type to the given Informix network format
|
void |
fromIfx(byte[] b,
int offset,
int length,
java.lang.String dbEnc)
Set value of this data type to the given Informix network format
|
void |
fromIfx(byte[] b,
java.lang.String dbEnc)
Set value of this data type to the given Informix network format
|
void |
fromInputStream(java.io.InputStream x,
int length) |
void |
fromInputStream(java.io.InputStream x,
long length) |
void |
fromInt(int I)
Convert from integer value
|
void |
fromInt(java.lang.Integer I)
Convert from java.sql.Integer value.
|
void |
fromLong(long val)
Convert from Long value to VarChar value.
|
void |
fromLong(java.lang.Long val)
Convert from Long value to VarChar value.
|
void |
fromShort(short val)
Convert from short value.
|
void |
fromShort(java.lang.Short val)
Convert from Short value.
|
void |
fromString(java.lang.String str)
Convert value from a String type
|
void |
fromString(java.lang.String str,
boolean trimString) |
void |
fromTime(java.sql.Time val)
Convert from Time value to VarChar value.
|
void |
fromTimestamp(java.sql.Timestamp val)
Convert from Timestamp value to VarChar value.
|
java.io.InputStream |
toAsciiStream()
Convert the value of 'this' to an ascii stream
|
boolean |
toBoolean()
Convert value to a Java Boolean
|
byte |
toByte()
Convert value to a Java Byte
|
byte[] |
toBytes() |
java.io.Reader |
toCharacterStream()
Convert the value of 'this' to Reader
|
java.sql.Date |
toDate()
Convert value to a Date
|
java.math.BigDecimal |
toDecimal()
Convert value to a BigDecimal
|
double |
toDouble()
Convert value to a Double
|
float |
toFloat()
Convert value to a Float
|
byte[] |
toIfx()
Convert value to Informix network format
|
byte[] |
toIfxTuple()
Convert value to Informix tuple format
|
java.io.InputStream |
toInputStream() |
int |
toInt()
Convert value to a java.sql.Int
|
long |
toLong()
Convert value to a Long
|
java.lang.Object |
toObject() |
short |
toShort()
Convert value to a java.sql.Short
|
java.lang.String |
toString()
Convert value to a String type
|
java.sql.Time |
toTime()
Convert Varchar value to a java.sql.Time value
|
java.sql.Timestamp |
toTimestamp()
Convert Varchar value to a java.sql.Timestamp value
|
clear, clearWarning, fromBinaryStream, fromBinaryStream, fromBlob, fromClob, fromDecimal, fromIfx, fromIfx, fromIntervalDF, fromIntervalYM, fromNClob, fromObject, fromObject, fromObject, fromRowId, fromSQLXML, get_used_in_update, getEncodedLength, getWarning, isNull, nullify, set_used_in_update, setConnection, setExtendedTypeName, setIfxType, setTypeMap, toBinaryStream, toBlob, toClob, toIfxBSONObject, toInterval, toIntervalDF, toIntervalYM, toNClob, toObject, toRowId, toSQLXML, toUnloadString, unnullifypublic byte[] toIfx()
throws java.sql.SQLException
public byte[] toIfxTuple()
throws java.sql.SQLException
toIfxTuple in class IfxObjectjava.sql.SQLExceptionpublic void fromIfx(byte[] b)
throws java.sql.SQLException
public void fromIfx(byte[] b,
java.lang.String dbEnc)
throws java.sql.SQLException
public void fromIfx(byte[] b,
int offset,
int length,
java.lang.String dbEnc)
throws java.sql.SQLException
public void fromIfx(byte[] b,
int offset,
int length)
throws java.sql.SQLException
public java.lang.Object toObject()
throws java.sql.SQLException
public byte[] toBytes()
throws java.sql.SQLException
public java.lang.String toString()
public void fromString(java.lang.String str)
throws java.sql.SQLException
fromString in class IfxObjecta - String valuejava.sql.SQLExceptionpublic void fromString(java.lang.String str,
boolean trimString)
throws java.sql.SQLException
fromString in class IfxObjectjava.sql.SQLExceptionpublic void fromBytes(byte[] str)
throws java.sql.SQLException
public byte toByte()
throws java.sql.SQLException
public void fromByte(java.lang.Byte b)
throws java.sql.SQLException
public void fromByte(byte b)
throws java.sql.SQLException
public boolean toBoolean()
throws java.sql.SQLException
public void fromBoolean(java.lang.Boolean b)
throws java.sql.SQLException
fromBoolean in class IfxObjectjava - Booleanjava.sql.SQLExceptionpublic void fromBoolean(boolean b)
throws java.sql.SQLException
fromBoolean in class IfxObjectjava - booleanjava.sql.SQLExceptionpublic int toInt()
throws java.sql.SQLException
public void fromInt(java.lang.Integer I)
throws java.sql.SQLException
public void fromInt(int I)
throws java.sql.SQLException
public void fromDecimal(java.math.BigDecimal B)
throws java.sql.SQLException
fromDecimal in class IfxObjectB - java big decimal to convert fromjava.sql.SQLExceptionpublic short toShort()
throws java.sql.SQLException
public void fromShort(java.lang.Short val)
throws java.sql.SQLException
public void fromShort(short val)
throws java.sql.SQLException
public long toLong()
throws java.sql.SQLException
public void fromLong(java.lang.Long val)
throws java.sql.SQLException
public void fromLong(long val)
throws java.sql.SQLException
public float toFloat()
throws java.sql.SQLException
public void fromFloat(java.lang.Float val)
throws java.sql.SQLException
public void fromFloat(float val)
throws java.sql.SQLException
public java.sql.Date toDate()
throws java.sql.SQLException
public void fromDate(java.sql.Date val)
throws java.sql.SQLException
public java.sql.Time toTime()
throws java.sql.SQLException
public void fromTime(java.sql.Time val)
throws java.sql.SQLException
public java.sql.Timestamp toTimestamp()
throws java.sql.SQLException
toTimestamp in class IfxObjectjava.sql.SQLExceptionpublic void fromTimestamp(java.sql.Timestamp val)
throws java.sql.SQLException
fromTimestamp in class IfxObjectjava.sql.Timestamp - java.sql.SQLExceptionpublic double toDouble()
throws java.sql.SQLException
public void fromDouble(java.lang.Double val)
throws java.sql.SQLException
fromDouble in class IfxObjectDouble - java.sql.SQLExceptionpublic void fromDouble(double val)
throws java.sql.SQLException
fromDouble in class IfxObjectDouble - java.sql.SQLExceptionpublic java.math.BigDecimal toDecimal()
throws java.sql.SQLException
public void fromBigDecimal(java.math.BigDecimal val)
throws java.sql.SQLException
BigDecimal - java.sql.SQLExceptionpublic boolean equals(java.lang.Object other)
public java.io.InputStream toAsciiStream()
throws java.sql.SQLException
toAsciiStream in class IfxObjectjava.sql.SQLExceptionpublic void fromAsciiStream(java.io.InputStream x,
long length)
throws java.sql.SQLException
fromAsciiStream in class IfxObjectjava.sql.SQLExceptionpublic void fromAsciiStream(java.io.InputStream x,
int length)
throws java.sql.SQLException
fromAsciiStream in class IfxObjectjava.sql.SQLExceptionpublic void fromInputStream(java.io.InputStream x,
long length)
throws java.sql.SQLException
fromInputStream in class IfxObjectjava.sql.SQLExceptionpublic void fromInputStream(java.io.InputStream x,
int length)
throws java.sql.SQLException
fromInputStream in class IfxObjectjava.sql.SQLExceptionpublic java.io.InputStream toInputStream()
throws java.sql.SQLException
toInputStream in class IfxObjectjava.sql.SQLExceptionpublic void fromCharacterStream(java.io.Reader reader,
long length)
throws java.sql.SQLException
fromCharacterStream in class IfxObjectjava.sql.SQLExceptionpublic void fromCharacterStream(java.io.Reader x,
int length)
throws java.sql.SQLException
fromCharacterStream in class IfxObjectjava.sql.SQLExceptionpublic java.io.Reader toCharacterStream()
throws java.sql.SQLException
toCharacterStream in class IfxObjectjava.sql.SQLException