public class IfxLocator
extends java.lang.Object
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 and Description |
|---|
IfxLocator()
Creates a default IfxLocator.
|
IfxLocator(byte[] byteBuf)
Creates an IfxLocator using the byte array.
|
IfxLocator(java.sql.Connection conn)
Creates a IfxLocator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
decRefCount()
decRefCount() decrements the reference count of this large object.
|
void |
free()
Frees the resource associated with this location.
|
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.
|
public IfxLocator()
public IfxLocator(java.sql.Connection conn)
throws java.sql.SQLException
conn - the java.sql.Connection objectjava.sql.SQLExceptionpublic IfxLocator(byte[] byteBuf)
throws java.sql.SQLException
byteBuf - the byte array containing the locator pointerjava.sql.SQLExceptionpublic 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()
toString in class java.lang.Objectpublic byte[] toBytes()
public void free()