@Override
	public QueryResponseRecord doQuery(BSimQuery<?> query, Connection c)
			throws SQLException, LSHException, DatabaseNonFatalException {

		if (query instanceof PrewarmRequest q) {
			fdbPrewarm(q, c);
		}
		else if (query instanceof PasswordChange q) {
			fdbPasswordChange(q, c);
		}
		else if (query instanceof AdjustVectorIndex q) {
			fdbAdjustVectorIndex(q, c);
		}
		else {
			return super.doQuery(query, c);
		}
		return query.getResponse();
	}
@param resultset the list of result set objects to populate
@param vec the vector containing the saveSQL query statement
@param simthresh the similarity threshold
@param sigthresh the confidence threshold
@param max the max number of results to return
@return the number of results returned
@throws SQLException if there is a problem creating or executing the query
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/PostgresFunctionDatabase.java