|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.conn.util.QueryResult
This class is used in the query API. It wraps a list that contains the items that match the query filter, and the query context including the information required to perform a queryNext call.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright |
Constructor Summary | |
---|---|
QueryResult(QueryContext queryCtx,
byte[] lst)
Constructor (to be used for byte transfer mode) |
|
QueryResult(QueryContext queryCtx,
java.util.List lst)
Constructor (to be used for object transfer mode) |
Method Summary | |
---|---|
int |
getCount()
Returns the total number of items that match the query filter, including this chunk and all the following ones. |
java.util.List |
getList()
Returns the list of items that match the query filter |
byte[] |
getListAsByteArray()
Returns the list of the items that match the query filter, as a byte array |
QueryContext |
getQueryContext()
Returns the query context required to perform the queryNext call |
void |
setCount(int value)
Sets the total number of items that match the query filter, including this chunk and all the following ones |
void |
setList(java.util.List lst)
Sets the list of items that match the query filter |
void |
setListAsByteArray(byte[] lst)
Sets the list of the items that match the query filter, as a byte array |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public QueryResult(QueryContext queryCtx, java.util.List lst)
queryCtx
- The query contextlst
- The list of items that match the query filterpublic QueryResult(QueryContext queryCtx, byte[] lst)
queryCtx
- The query contextlst
- The list of items that match the query filter, as a byte arrayMethod Detail |
public QueryContext getQueryContext()
public java.util.List getList()
public void setList(java.util.List lst)
lst
- The list of items that match the query filterpublic byte[] getListAsByteArray()
public void setListAsByteArray(byte[] lst)
lst
- The list of items that match the query filter, as a byte arraypublic void setCount(int value)
value
- The total number of items that match the query filterpublic int getCount()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |