Package wt.query
Class PagingSessionSpec
java.lang.Object
wt.query.PageableQuerySpec
wt.query.PagingSessionSpec
- All Implemented Interfaces:
Externalizable,Serializable,StatementSpec
This class can be used to fetch pages from an established paging session.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.pds.StatementSpec
ADVANCED_QUERY, ADVANCED_QUERY_ENABLED, AGGREGATE_SELECT, CORRELATED_CLASS_ATTRIBUTES, FETCH_SIZE, PRIMARY_CLASS, QUERY_LIMIT, QUERY_LIMIT_DISABLED, RESULT_BUILDER, RESULT_CURSOR, SINGLE_RESULT_COMPATIBLE, STATEMENT_BUILDER, USE_BIND -
Method Summary
Modifier and TypeMethodDescriptionlongGets the value of the attribute: sessionId; Identifies a persistent paging session.intGets the value of the attribute: totalSize; Specifies the total number of results that can be paged through.Methods inherited from class wt.query.PageableQuerySpec
getBindParameterCount, getCorrelatedClassAttributes, getFetchSize, getOffset, getPrimaryClass, getPrimaryStatement, getQueryLimit, getRange, getResultBuilder, getResultCursor, getStatementBuilder, isAdvancedQuery, isAdvancedQueryEnabled, isAggregateSelect, isConcurrentEnabled, isSingleResultCompatible, isUseBind, readVersion, setAdvancedQueryEnabled, setBindParameterAt, setConcurrentEnabled, setFetchSize, setLocale, setOffset, setPrimaryStatement, setRange, setUseBindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface wt.pds.StatementSpec
getIsFaultToleranceSession, setIsFaultToleranceSession
-
Method Details
-
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
-