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.
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
Optional<RecordQueryResult> |
getSubQueryResult​(String objectName) |
Returns the result of a sub query related to this record. |
Methods inherited from interface com.salesforce.functions.jvm.sdk.data.RecordAccessor
getBigDecimalField, getBigIntegerField, getBinaryField, getBooleanField, getByteField, getDoubleField, getFieldNames, getFloatField, getIntField, getLongField, getRecordField, getShortField, getStringField, getType, hasField, isNullField
Method Detail
getSubQueryResult
@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.