Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
QueryContext Class
Namespace
QueryContext Properties
The following are properties for QueryContext.
queryMoreToken
Signature
public String queryMoreToken {get; set;}
Property Value
Type: String
QueryContext Methods
The following are methods for QueryContext.
get(metadata, offset, maxResults, tableSelection)
Signature
public static DataSource.QueryContext get(List<DataSource.Table> metadata, Integer offset, Integer maxResults, DataSource.TableSelection tableSelection)
Parameters
-
metadata:
Type: List<DataSource.Table>
List of table metadata that describes the external system’s tables to query.
-
offset:
Type: Integer
Used
for client-driven paging. Specifies the starting row offset into the query’s result set.
-
maxResults:
Type: Integer
Used
for client-driven paging. Specifies the maximum number of rows to return in each batch.
-
tableSelection:
Type: DataSource.TableSelection
Query details that represent
the FROM, ORDER BY, SELECT, and WHERE clauses in a SOQL or SOSL query.
Return Value
Type: DataSource.QueryContext