|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.informix.jdbc.IfxLocator
The IfxLocator class (known as the locator pointer or large object locator) is the communication link between the database server and the client for a particular large object. Before it creates a large object or opens a large object for reading or writing, an application must create a IfxLocator object.
Constructor Summary | |
IfxLocator()
Creates a default IfxLocator. |
|
IfxLocator(byte[] byteBuf)
Creates an IfxLocator using the byte array. |
|
IfxLocator(java.sql.Connection conn)
Creates a IfxLocator. |
Method Summary | |
int |
decRefCount()
decRefCount() decrements the reference count of this large object. |
int |
incRefCount()
incRefCount() increments the reference count of this large object. |
byte[] |
toBytes()
toBytes() This method can be used to return the locator in its raw byte[] format. |
java.lang.String |
toString()
toString() This method can be used to return the locator in its hexadecimal string format. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IfxLocator()
public IfxLocator(java.sql.Connection conn) throws java.sql.SQLException
conn
- the java.sql.Connection object
java.sql.SQLException
public IfxLocator(byte[] byteBuf) throws java.sql.SQLException
byteBuf
- the byte array containing the locator pointer
java.sql.SQLException
Method Detail |
public int incRefCount() throws java.sql.SQLException
java.sql.SQLException
- if there is an error or if using client JDBCpublic int decRefCount() throws java.sql.SQLException
java.sql.SQLException
- if there is an error or if using client JDBCpublic java.lang.String toString()
public byte[] toBytes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |