conn, encodedLength, extendedID, extendedName, extendedOwner, ifxType, isNull, jdbcType, sourceType, trace, typeMap, used_in_update| Constructor and Description |
|---|
IfxIntervalYM()
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 |
fromIntervalYM(IntervalYM YM)
Convert an IntervalYM to this IntervalYM 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.
|
IntervalYM |
toIntervalYM()
Return the IntervalYM 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.
|
IntervalYM |
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, fromIntervalDF, 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, toIntervalDF, toLong, toNClob, toObject, toRowId, toShort, toSQLXML, toTime, toTimestamp, unnullifypublic IfxIntervalYM()
throws java.sql.SQLException
java.sql.SQLExceptionpublic IntervalYM 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()
y-m
Where the presence of the various fields depends upon the qualifier.
If no qualifier has been set the default is the full format.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 IntervalYM toIntervalYM() throws java.sql.SQLException
toIntervalYM in class IfxObjectjava.sql.SQLException - if the conversion failedpublic void fromIntervalYM(IntervalYM YM) throws java.sql.SQLException
fromIntervalYM in class IfxObjectI - IntervalYM value to convertjava.sql.SQLException - if the conversion failedpublic short getEncodedLength()
getEncodedLength in class IfxObjectpublic java.lang.String toUnloadString()
IfxObjecttoUnloadString in class IfxObject