code: public static Object querySingleResult(Connection connection, String sql,
  			String[] args, int column, GeoPackageDataType dataType) {
  		ResultSetResult result = wrapQuery(connection, sql, args);
  		Object value = ResultUtils.buildSingleResult(result, column, dataType);
  		return value;
  	}
docs: Query the SQL for a single result object with the expected data type
  
  @param connection
  connection
  @param sql
  sql statement
  @param args
  arguments
  @param column
  column index
  @param dataType
  GeoPackage data type
  @return result, null if no result
  @since 3.1.0