protected QueryResponseRecord doQuery(BSimQuery<?> query, Connection c)
			throws LSHException, SQLException, DatabaseNonFatalException {
		if (query instanceof QueryNearest q) {
			fdbQueryNearest(q);
		}
		else if (query instanceof QueryNearestVector q) {
			fdbQueryNearestVector(q);
		}
		else if (query instanceof InsertRequest q) {
			fdbDatabaseInsert(q);
		}
		else if (query instanceof QueryInfo q) {
			fdbDatabaseInfo(q);
		}
		else if (query instanceof QueryName q) {
			fdbQueryName(q);
		}
		else if (query instanceof QueryExeInfo q) {
			fdbQueryExeInfo(q);
		}
		else if (query instanceof QueryExeCount q) {
			fdbQueryExeCount(q);
		}
		else if (query instanceof DropDatabase q) {
			fdbDatabaseDrop(q);
		}
		else if (query instanceof CreateDatabase q) {
			fdbDatabaseCreate(q);
		}
		else if (query instanceof QueryChildren q) {
			fdbQueryChildren(q);
		}
		else if (query instanceof QueryDelete q) {
			fdbDelete(q);
		}
		else if (query instanceof QueryUpdate q) {
			fdbUpdate(q);
		}
		else if (query instanceof QueryVectorId q) {
			fdbQueryVectorId(q);
		}
		else if (query instanceof QueryVectorMatch q) {
			fdbQueryVectorMatch(q);
		}
		else if (query instanceof QueryPair q) {
			fdbQueryPair(q);
		}
		else if (query instanceof QueryOptionalValues q) {
			fdbQueryOptionalValues(q);
		}
		else if (query instanceof InsertOptionalValues q) {
			fdbInsertOptionalValues(q);
		}
		else if (query instanceof QueryOptionalExist q) {
			fdbOptionalExist(q);
		}
		else if (query instanceof InstallCategoryRequest q) {
			fdbInstallCategory(q);
		}
		else if (query instanceof InstallTagRequest q) {
			fdbInstallTag(q);
		}
		else if (query instanceof InstallMetadataRequest q) {
			fdbInstallMetadata(q);
		}
		else {
			return null;
		}
		return query.getResponse();
	}
For every function currently in the manager, fill in its call graph information
@param manage the executable descriptor
@throws LSHException if the database does not track call graph information
@throws SQLException if there is a problem querying for function information
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/AbstractSQLFunctionDatabase.java