Skip to main content
[ This file is autogenerated from apexdoc ]

AqFieldQueryInfo

Handles field-level query operations for finding records by external ID values. Used internally for efficient record lookup during JSON parsing.

Group modules/mapping tool

Overview​

AqFieldQueryInfo is an internal utility class that manages field-level queries for finding Salesforce records. It's used by the mapping tool to:

  • Query records by external ID field values
  • Handle duplicate detection in JSON and Salesforce
  • Support efficient batch queries for multiple external ID values
  • Validate external ID field types

Usage​

This class is used internally by AqObjectQueryInfo and AqJsonToSobjectParser. It's not typically instantiated directly, but understanding its role helps with debugging query-related issues.

Constructors​

public AqFieldQueryInfo(SObjectType objectType, SObjectField sfField)​


Fields​

public ERROR_MESSAGE_DUPLICATE_RECORDS_BY_EXTERNAL_ID_IN_JSON → String​

public ERROR_MESSAGE_DUPLICATE_RECORDS_BY_EXTERNAL_ID_IN_SF → String​

public ERROR_MESSAGE_UNSUPPORTED_EXTERNAL_ID_TYPE → String​


Methods​

public void addFieldValueToQuery(Object fieldValue, Boolean allowDuplicates)​

public void fillQueryResults()​

public Sobject findRecord(Object fieldValue)​

public void setParentFieldName(String parentFieldName)​


Classes​

AqQueryInfoException​

Inheritance

AqQueryInfoException