|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.reuters.rc.db.adb.AdbRequestBind
This class represents a bind row in the statement sent to ADB. Each instance of this class is immutable - instances can be freely shared among threads.
AdbRequest
Field Summary | |
protected static java.lang.String |
ADB_COLUMN
Column name. |
protected static java.lang.String |
ADB_DATA
Column data. |
protected static java.lang.String |
ADB_POSITION
Column position. |
protected static int |
NOPOSITION
No position specified in bind. |
Constructor Summary | |
AdbRequestBind(int position,
java.lang.Object data)
Constructor. |
|
AdbRequestBind(int position,
java.lang.String column,
java.lang.Object data)
Constructor. |
|
AdbRequestBind(java.lang.String column,
java.lang.Object data)
Constructor. |
Method Summary | |
com.tibco.tibrv.TibrvMsg |
getBind()
Build request message. |
java.lang.String |
getColumnName()
Get column position. |
java.lang.Object |
getData()
Get column data. |
int |
getPosition()
Get column position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String ADB_POSITION
protected static final java.lang.String ADB_COLUMN
protected static final java.lang.String ADB_DATA
protected static final int NOPOSITION
Constructor Detail |
public AdbRequestBind(int position, java.lang.String column, java.lang.Object data)
position
- Placeholder position.column
- Column name.data
- Column data. A reference to the parameter is stored so be
careful about modifying the data.public AdbRequestBind(java.lang.String column, java.lang.Object data)
column
- Column name.data
- Column data. A reference to the parameter is stored so be
careful about modifying the data.public AdbRequestBind(int position, java.lang.Object data)
position
- Placeholder position.data
- Column data. A reference to the parameter is stored so be
careful about modifying the data.Method Detail |
public final int getPosition()
public final java.lang.String getColumnName()
public final java.lang.Object getData()
public final com.tibco.tibrv.TibrvMsg getBind() throws AdbSystemException
getBind
in interface DbRequestBind
TibrvMsg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |