public class QueryService extends Object
Modifier and Type | Method and Description |
---|---|
static <T> QueryResponse<T> |
doQuery(SessionInfo session,
String query,
Class<T> recordClass)
Do a SOQL query via REST
|
public static <T> QueryResponse<T> doQuery(SessionInfo session, String query, Class<T> recordClass) throws IOException
T
- The record class typesession
- The session including the URL and the sidquery
- The query to runrecordClass
- The record class to queryIOException
- If something goes awryCopyright © 2016–2019. All rights reserved.