All implementations must be immutable and therefore thread-safe.
See Also: DataApi.query(String),
DataApi.queryMore(RecordQueryResult)
Method Summary
Modifier and Type
Method
Description
java.util.List<RecordWithSubQueryResults>
getRecords()
Returns the list of RecordWithSubQueryResults in this query result.
long
getTotalSize()
Returns the total number of records returned by the query.
boolean
isDone()
If true, no additional records can be retrieved from the query result.
Method Details
isDone
boolean isDone()
If true, no additional records can be retrieved from the query result.
If false, one or more records remain to be retrieved. Use
DataApi.queryMore(RecordQueryResult) to receive the next batch of
records from this query result.
Returns: Boolean value indicating if there are more rows to be retrieved.
getTotalSize
long getTotalSize()
Returns the total number of records returned by the query. This isn’t
necessarily the same number of records returned by getRecords().
Returns: The total number of records returned by the query. See Also:
isDone()
Returns the RecordWithSubQueryResultss in this query result. Use
isDone() to determine if there are additional records to be queried
with DataApi.queryMore(RecordQueryResult).
Returns: The list of RecordWithSubQueryResults in this query result.
Product Retirement Announcement
Salesforce Functions is no longer available for purchase or renewal. To preserve the capabilities that Salesforce Functions provided to your org, deploy an alternative solution before your existing order term ends. See Salesforce Functions Retirement for more information on migrating your functions. Contact your Salesforce Account Executive for more information on Heroku.