Modifier and Type | Field and Description |
---|---|
static int |
IFX_DATE_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 |
fromDate(java.sql.Date date) |
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 |
fromString(java.lang.String str)
Convert from String value.
|
void |
fromTimestamp(java.sql.Timestamp timestamp)
Convert from java.sql.Timestamp value.
|
java.sql.Date |
toDate()
Convert value to a java.sql.Timestamp
|
byte[] |
toIfx()
Convert value to Informix network format
|
byte[] |
toIfxTuple()
Convert value to Informix tuple format
|
java.lang.Object |
toObject()
Returns the equivalent Java object
|
java.lang.String |
toString()
Convert value to a string based on GLS DATE environment
variable precedence
|
java.sql.Timestamp |
toTimestamp()
Convert value to a java.sql.Timestamp
|
java.lang.String |
toUnloadString()
Convert to string format which is compatible with format generated by
SQL unload command.
|
java.sql.Date |
value()
accessor
|
clear, clearWarning, fromAsciiStream, fromAsciiStream, fromBinaryStream, fromBinaryStream, fromBlob, fromBoolean, fromBoolean, fromByte, fromByte, fromBytes, fromCharacterStream, fromCharacterStream, fromClob, fromDecimal, fromDecimal, fromDouble, fromDouble, fromFloat, fromFloat, fromIfx, fromIfx, fromIfx, fromIfx, fromInputStream, fromInputStream, fromInt, fromInt, fromIntervalDF, fromIntervalYM, fromLong, fromLong, fromNClob, fromObject, fromObject, fromObject, fromRowId, fromShort, fromShort, fromSQLXML, fromString, fromTime, get_used_in_update, getEncodedLength, getWarning, isNull, nullify, set_used_in_update, setConnection, setExtendedTypeName, setIfxType, setTypeMap, toAsciiStream, toBinaryStream, toBlob, toBoolean, toByte, toBytes, toCharacterStream, toClob, toDecimal, toDouble, toFloat, toIfxBSONObject, toInputStream, toInt, toInterval, toIntervalDF, toIntervalYM, toLong, toNClob, toObject, toRowId, toShort, toSQLXML, toTime, unnullify
public static final int IFX_DATE_NULL
public java.sql.Date value()
public java.lang.Object toObject()
public byte[] toIfx()
public byte[] toIfxTuple()
toIfxTuple
in class IfxObject
public void fromIfx(byte[] b)
public void fromIfx(byte[] b, int offset, int length)
public java.lang.String toString()
public void fromString(java.lang.String str) throws java.sql.SQLException
fromString
in class IfxObject
str
- the String valuejava.sql.SQLException
- if the conversion failedpublic java.sql.Timestamp toTimestamp()
toTimestamp
in class IfxObject
public void fromTimestamp(java.sql.Timestamp timestamp)
fromTimestamp
in class IfxObject
timestamp
- the java.sql.Timestamp valuepublic java.sql.Date toDate()
public boolean equals(java.lang.Object other)
public java.lang.String toUnloadString()
IfxObject
toUnloadString
in class IfxObject