| Modifier and Type | Field and Description |
|---|---|
static short |
IFX_SMINT_NULL |
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 |
fromBoolean(boolean val)
Converted to the short value.
|
void |
fromBoolean(java.lang.Boolean val) |
void |
fromByte(byte val)
Converted to the byte value.
|
void |
fromByte(java.lang.Byte val) |
void |
fromDecimal(java.math.BigDecimal val)
Converted to the short value.
|
void |
fromDouble(double val)
Converted to the short value.
|
void |
fromDouble(java.lang.Double val)
Converted to the short value.
|
void |
fromFloat(float val)
Converted to the short value.
|
void |
fromFloat(java.lang.Float val) |
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 |
fromInt(int val)
Update the short value.
|
void |
fromInt(java.lang.Integer val) |
void |
fromLong(long val)
Update the short value.
|
void |
fromLong(java.lang.Long val) |
void |
fromShort(short val)
Converted to the short value.
|
void |
fromShort(java.lang.Short val) |
void |
fromString(java.lang.String str)
Convert from String value.
|
short |
getEncodedLength()
Get the encoded length with precision
|
boolean |
isIfxNull()
Returns true if this is an Informix NULL
|
boolean |
toBoolean()
Return the Boolean value of the object.
|
byte |
toByte()
Return the short value of the object.
|
java.math.BigDecimal |
toDecimal()
Return the BigDecimal value of the object.
|
double |
toDouble()
Return the double value of the object.
|
float |
toFloat()
Return the float value of the object.
|
byte[] |
toIfx()
Convert value to Informix network format
|
byte[] |
toIfxTuple()
Convert value to Informix tuple format
|
int |
toInt()
Return the short value of the object.
|
long |
toLong()
Return the long value of the object.
|
java.lang.Object |
toObject()
Return the equivalent Java object
|
short |
toShort()
Return the short value of the object.
|
java.lang.String |
toString()
Convert value to a string.
|
clear, clearWarning, fromAsciiStream, fromAsciiStream, fromBinaryStream, fromBinaryStream, fromBlob, fromBytes, fromCharacterStream, fromCharacterStream, fromClob, fromDate, fromDecimal, fromIfx, fromIfx, fromIfx, fromIfx, fromInputStream, fromInputStream, fromIntervalDF, fromIntervalYM, fromNClob, fromObject, fromObject, fromObject, fromRowId, fromSQLXML, fromString, fromTime, fromTimestamp, get_used_in_update, getWarning, isNull, nullify, set_used_in_update, setConnection, setExtendedTypeName, setIfxType, setTypeMap, toAsciiStream, toBinaryStream, toBlob, toBytes, toCharacterStream, toClob, toDate, toIfxBSONObject, toInputStream, toInterval, toIntervalDF, toIntervalYM, toNClob, toObject, toRowId, toSQLXML, toTime, toTimestamp, toUnloadString, unnullifypublic static final short IFX_SMINT_NULL
public byte[] toIfx()
public byte[] toIfxTuple()
toIfxTuple in class IfxObjectpublic void fromIfx(byte[] b)
public void fromIfx(byte[] b,
int offset,
int length)
public java.lang.Object toObject()
public byte toByte()
throws java.sql.SQLException
public void fromByte(byte val)
throws java.sql.SQLException
public void fromByte(java.lang.Byte val)
throws java.sql.SQLException
public short toShort()
throws java.sql.SQLException
public void fromShort(short val)
throws java.sql.SQLException
public void fromShort(java.lang.Short val)
throws java.sql.SQLException
public int toInt()
throws java.sql.SQLException
public void fromInt(int val)
throws java.sql.SQLException
public void fromInt(java.lang.Integer val)
throws java.sql.SQLException
public long toLong()
throws java.sql.SQLException
public void fromLong(long val)
throws java.sql.SQLException
public void fromLong(java.lang.Long val)
throws java.sql.SQLException
public float toFloat()
throws java.sql.SQLException
public void fromFloat(float val)
throws java.sql.SQLException
public void fromFloat(java.lang.Float val)
throws java.sql.SQLException
public double toDouble()
throws java.sql.SQLException
public void fromDouble(double val)
throws java.sql.SQLException
fromDouble in class IfxObjectval - the valuejava.sql.SQLException - if the conversion failedpublic void fromDouble(java.lang.Double val)
throws java.sql.SQLException
fromDouble in class IfxObjectval - the valuejava.sql.SQLException - if the conversion failedpublic java.math.BigDecimal toDecimal()
throws java.sql.SQLException
public void fromDecimal(java.math.BigDecimal val)
throws java.sql.SQLException
fromDecimal in class IfxObjectval - the valuejava.sql.SQLException - if the conversion failedpublic boolean toBoolean()
throws java.sql.SQLException
public void fromBoolean(boolean val)
throws java.sql.SQLException
fromBoolean in class IfxObjectval - the value
if val is false, then set the BigDecimal to 0
otherwise, set it to 1java.sql.SQLException - if the conversion failedpublic void fromBoolean(java.lang.Boolean val)
throws java.sql.SQLException
fromBoolean in class IfxObjectjava.sql.SQLExceptionpublic java.lang.String toString()
public void fromString(java.lang.String str)
throws java.sql.SQLException
fromString in class IfxObjectstr - the String valuejava.sql.SQLException - if the conversion failedpublic boolean equals(java.lang.Object other)
public short getEncodedLength()
getEncodedLength in class IfxObjectpublic boolean isIfxNull()