| Modifier and Type | Field and Description |
|---|---|
static long |
IFX_BIGINT_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 |
fromBigInt(java.math.BigInteger i) |
void |
fromBoolean(boolean val)
Converted to the long value.
|
void |
fromBoolean(java.lang.Boolean val)
Converted to the long value.
|
void |
fromByte(byte val)
Converted to the long value.
|
void |
fromByte(java.lang.Byte val)
Converted to the long value.
|
void |
fromDecimal(java.math.BigDecimal val)
Converted to the long value.
|
void |
fromDouble(double val)
Converted to the long value.
|
void |
fromDouble(java.lang.Double val)
Converted to the long value.
|
void |
fromFloat(float val)
Converted to the long value.
|
void |
fromFloat(java.lang.Float val)
Converted to the long 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 |
fromInt(int val)
Update the integer value.
|
void |
fromInt(java.lang.Integer val)
Update the integer value.
|
void |
fromLong(long val)
Update the long value.
|
void |
fromLong(java.lang.Long val)
Update the long value.
|
void |
fromShort(java.lang.Integer val) |
void |
fromShort(short val)
Converted to the long value.
|
void |
fromShort(java.lang.Short val)
Converted to the long value.
|
void |
fromString(java.lang.String str)
Convert from String value.
|
short |
getEncodedLength()
Get the encoded length with precision
|
boolean |
isIfxNull() |
java.math.BigInteger |
toBigInt() |
boolean |
toBoolean()
Return the Boolean value of the object.
|
byte |
toByte()
Return the byte 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 integer value of the object.
|
long |
toLong()
Return the long value of the object.
|
java.lang.Object |
toObject()
Get the equivalent Java Objects
|
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 long IFX_BIGINT_NULL
public byte[] toIfx()
public byte[] toIfxTuple()
toIfxTuple in class IfxObjectpublic java.lang.Object toObject()
public void fromIfx(byte[] b)
public void fromIfx(byte[] b,
int offset,
int length)
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 void fromShort(java.lang.Integer val)
throws java.sql.SQLException
java.sql.SQLExceptionpublic 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 fromBigInt(java.math.BigInteger i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.math.BigInteger toBigInt()
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 IfxObjectval - the value
if val is false, then set the BigDecimal to 0
otherwise, set it to 1java.sql.SQLException - if the conversion failedpublic 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()