}catch(Exception e){
result.setFailed(e.getMessage());
e.printStackTrace();
return result;
}
Interaction curInteraction = new Interaction();
// Set the AWConnection to use when building the analytic workspace.
curInteraction.setConnection(awConnection);
// Create an BuildDatabase object.
BuildDatabase myBuild =
(BuildDatabase)curInteraction.createAction("BUILDDATABASE");
// Set the name of the analytic workspace.
myBuild.setAWName(WebVariable.AW_GLOBAL_ID);//挂载分析空间global.global
// Specify not running solves when building the database.