
com.dragpools.result.DragResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of DP_CLIENT Show documentation
Show all versions of DP_CLIENT Show documentation
A simple Drag Pools Client to connect and execute Drag Queries in a Drag Pools cluster.
The newest version!
package com.dragpools.result;
import org.json.JSONObject;
/**
*
* @author Frank Jennings https://www.dragpools.io
*/
public class DragResult {
private JSONObject dragResult = null;
private boolean isSuccess = false;
private String errorMessage = null;
private long queryTime = 0L;
public DragResult() {
}
public JSONObject getDragResult() {
return dragResult;
}
public boolean isSuccess() {
return isSuccess;
}
public void setIsSuccess(boolean isSuccess) {
this.isSuccess = isSuccess;
}
public void setDragResult(JSONObject dragResult) {
this.dragResult = dragResult;
}
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public long getQueryTime() {
return queryTime;
}
public void setQueryTime(long queryTime) {
this.queryTime = queryTime;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy