private void queryByName(List<FunctionDescription> functionDescriptions,
			DescriptionManager manager, ExecutableRecord executableRecord, String functionName,
			boolean shouldReturnSignatures, int maxResults) throws SQLException {
		if (functionDescriptions == null) {
			functionDescriptions = new ArrayList<>();
		}
		if (functionName.length() == 0) {
			queryAllFunc(functionDescriptions, executableRecord, manager, maxResults);
		}
		else {
			List<DescriptionRow> descres = descTable
					.queryFuncName(executableRecord.getRowId().getLong(), functionName, maxResults);
			descTable.convertDescriptionRows(functionDescriptions, descres, executableRecord,
				manager, null);
		}
		if (shouldReturnSignatures) {
			queryAssociatedSignatures(functionDescriptions, manager);
		}
	}
Query for function names within a previously queried executable -erec-

@param functionDescriptions list of functions to be filled in by the query (may be null)
@param manager container for record
@param executableRecord previously queried ExecutableRecord
@param functionName name to query for, if empty string, all functions in executable are returned
@param shouldReturnSignatures true if signature of queried functions should also be returned
@param maxResults maximum results to return
@throws SQLException if there is an error issuing the query
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/AbstractSQLFunctionDatabase.java