conn, encodedLength, extendedID, extendedName, extendedOwner, ifxType, isNull, jdbcType, sourceType, trace, typeMap, used_in_update| Constructor and Description |
|---|
IfxIntervalDF()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fromIfx(byte[] b,
int offset,
int length,
short prec)
Set value of this data type to the given Informix network format
|
void |
fromIfx(byte[] b,
short prec)
Set value of this data type to the given Informix network format
|
void |
fromIntervalDF(IntervalDF DF)
Convert an IntervalDF to this IntervalDF object.
|
void |
fromString(java.lang.String str)
Set the values for the interval from a string.
|
short |
getEncodedLength()
Return the qualifer value
|
byte[] |
toIfx()
Convert value to Informix network format
|
byte[] |
toIfxTuple()
Convert value to Informix tuple format
|
Interval |
toInterval()
Return the Interval object.
|
IntervalDF |
toIntervalDF()
Return the IntervalDF value of this object.
|
java.lang.Object |
toObject()
Returns the equivalent Java Object
|
java.lang.String |
toString()
Creates a string representation of the interval in the format:
|
java.lang.String |
toUnloadString()
Convert to string format which is compatible with format generated by
SQL unload command.
|
IntervalDF |
value()
accessor
|
clear, clearWarning, equals, fromAsciiStream, fromAsciiStream, fromBinaryStream, fromBinaryStream, fromBlob, fromBoolean, fromBoolean, fromByte, fromByte, fromBytes, fromCharacterStream, fromCharacterStream, fromClob, fromDate, fromDecimal, fromDecimal, fromDouble, fromDouble, fromFloat, fromFloat, fromIfx, fromIfx, fromIfx, fromIfx, fromInputStream, fromInputStream, fromInt, fromInt, fromIntervalYM, fromLong, fromLong, fromNClob, fromObject, fromObject, fromObject, fromRowId, fromShort, fromShort, fromSQLXML, fromString, fromTime, fromTimestamp, get_used_in_update, getWarning, isNull, nullify, set_used_in_update, setConnection, setExtendedTypeName, setIfxType, setTypeMap, toAsciiStream, toBinaryStream, toBlob, toBoolean, toByte, toBytes, toCharacterStream, toClob, toDate, toDecimal, toDouble, toFloat, toIfxBSONObject, toInputStream, toInt, toIntervalYM, toLong, toNClob, toObject, toRowId, toShort, toSQLXML, toTime, toTimestamp, unnullifypublic IfxIntervalDF()
throws java.sql.SQLException
java.sql.SQLExceptionpublic IntervalDF value()
public byte[] toIfx()
public byte[] toIfxTuple()
toIfxTuple in class IfxObjectpublic void fromIfx(byte[] b,
short prec)
throws java.sql.SQLException
public void fromIfx(byte[] b,
int offset,
int length,
short prec)
throws java.sql.SQLException
public java.lang.String toString()
ddddd hh:mm:ss.nano
Where the presence of the various fields depends upon the qualifier.
If no qualifier has been set the default is the full format.
Any leading zeros in the composed string will be replaced by blanks.public void fromString(java.lang.String str)
throws java.sql.SQLException
fromString in class IfxObjectjava.sql.SQLExceptionpublic java.lang.Object toObject()
public Interval toInterval() throws java.sql.SQLException
toInterval in class IfxObjectjava.sql.SQLException - if the conversion failedpublic IntervalDF toIntervalDF() throws java.sql.SQLException
toIntervalDF in class IfxObjectjava.sql.SQLException - if the conversion failedpublic void fromIntervalDF(IntervalDF DF) throws java.sql.SQLException
fromIntervalDF in class IfxObjectI - IntervalDF value to convertjava.sql.SQLException - if the conversion failedpublic short getEncodedLength()
getEncodedLength in class IfxObjectpublic java.lang.String toUnloadString()
IfxObjecttoUnloadString in class IfxObject