wt.query
Class PagingSessionSpec

java.lang.Object
  extended by wt.query.PageableQuerySpec
      extended by wt.query.PagingSessionSpec
All Implemented Interfaces:
Externalizable, Serializable, StatementSpec

public final class PagingSessionSpec
extends PageableQuerySpec
implements Externalizable

This class can be used to fetch pages from an established paging session.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface wt.pds.StatementSpec
ADVANCED_QUERY_ENABLED, USE_BIND
 
Method Summary
 long getSessionId()
          Gets the value of the attribute: sessionId; Identifies a persistent paging session.
 int getTotalSize()
          Gets the value of the attribute: totalSize; Specifies the total number of results that can be paged through.
 
Methods inherited from class wt.query.PageableQuerySpec
getOffset, getRange, isAdvancedQueryEnabled, isUseBind, setAdvancedQueryEnabled, setLocale, setOffset, setRange, setUseBind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTotalSize

public int getTotalSize()
Gets the value of the attribute: totalSize; Specifies the total number of results that can be paged through.

Supported API: true

Returns:
int

getSessionId

public long getSessionId()
Gets the value of the attribute: sessionId; Identifies a persistent paging session.

Supported API: true

Returns:
long