|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.QueryResult
wt.fc.PagingQueryResult
This class is a container of results returned from a query along with
paging session information.
Supported API: true
Extendable: false
Nested Class Summary |
Nested classes inherited from class wt.fc.QueryResult |
QueryResult.ChunkedExternalization, QueryResult.DuplicateStringEliminator |
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private Object |
fetchInfo
|
private int |
groupSize
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private PagingSession |
pagingSession
|
private PagingSessionSpec |
pagingSpec
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.fc.QueryResult |
|
Constructor Summary | |
PagingQueryResult()
Supported API: false |
|
PagingQueryResult(PagingSession a_pagingSession,
PagingSessionSpec a_pagingSpec)
Supported API: false |
|
PagingQueryResult(PagingSession a_pagingSession,
PagingSessionSpec a_pagingSpec,
Object a_fetchInfo)
Supported API: false |
Method Summary | |
Object |
getFetchInfo()
Gets the value of the attribute: fetchInfo. |
int |
getGroupSize()
Gets the value of the attribute: groupSize. |
PagingSession |
getPagingSession()
Gets the value of the attribute: pagingSession; PagingSession instance that has been established for the query. |
PagingSessionSpec |
getPagingSpec()
Gets the value of the attribute: pagingSpec; Paging specification object used to fetch subsequent pages. |
long |
getSessionId()
Gets the value of the attribute: sessionId; Identifies the persistent paging session. |
int |
getTotalSize()
Gets the value of the attribute: totalSize; Total number of results that can be paged through. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(PagingQueryResult thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setGroupSize(int a_GroupSize)
Sets the value of the attribute: groupSize. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.fc.QueryResult |
append, appendObjectVector, getEnumeration, getObjectVector, getObjectVectorIfc, hasMoreElements, nextElement, readVersion, reset, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private PagingSession pagingSession
private PagingSessionSpec pagingSpec
private int groupSize
private Object fetchInfo
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public PagingQueryResult()
public PagingQueryResult(PagingSession a_pagingSession, PagingSessionSpec a_pagingSpec)
a_pagingSession
- Paging session instance that has been established.a_pagingSpec
- Paging specification object used to fetch subsequent pages.public PagingQueryResult(PagingSession a_pagingSession, PagingSessionSpec a_pagingSpec, Object a_fetchInfo)
a_pagingSession
- Paging session instance that has been established.a_pagingSpec
- Paging specification object used to fetch subsequent pages.a_fetchInfo
- Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class QueryResult
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class QueryResult
input
-
IOException
ClassNotFoundException
protected boolean readVersion(PagingQueryResult thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public PagingSession getPagingSession()
public PagingSessionSpec getPagingSpec()
public int getTotalSize()
public long getSessionId()
public int getGroupSize()
public void setGroupSize(int a_GroupSize) throws WTPropertyVetoException
a_GroupSize
-
WTPropertyVetoException
public Object getFetchInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |