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.

ReadContext Class

Abstract base class for the QueryContext and SearchContext classes.

Namespace

DataSource

ReadContext Properties

The following are properties for ReadContext.

maxResults

Maximum number of rows that the query can return.

Signature

public Integer maxResults {get; set;}

Property Value

Type: Integer

metadata

Describes the external system’s tables to query.

Signature

public List<DataSource.Table> metadata {get; set;}

Property Value

Type: List<DataSource.Table>

offset

The starting row offset into the query’s result set. Used for client-driven paging.

Signature

public Integer offset {get; set;}

Property Value

Type: Integer