Interface RecordWithSubQueryResults
All Superinterfaces: Record
, RecordAccessor
@Immutable public interface RecordWithSubQueryResults extends Record
Represents a Salesforce record with optional sub query results.
Implementations must be immutable and therefore thread-safe.
Modifier and Type | Method | Description |
---|---|---|
Optional<RecordQueryResult> | getSubQueryResult(String objectName) | Returns the result of a sub query related to this record. |
getBigDecimalField, getBigIntegerField, getBinaryField, getBooleanField, getByteField, getDoubleField, getFieldNames, getFloatField, getIntField, getLongField, getRecordField, getShortField, getStringField, getType, hasField, isNullField
@Nonnull Optional<RecordQueryResult> getSubQueryResult(String objectName)
Returns the result of a sub query related to this record.
Records can have sub query results when the record is the result of a relationship query.
Parameters: objectName
- The object name of the sub query. Returns:
The result of a sub query related to this record.