Package org.apache.sqoop.json

Examples of org.apache.sqoop.json.VersionBean.restore()


  public VersionBean doGet(String serverUrl) {
    String response = super.get(serverUrl + "version");
    JSONObject jsonObject = (JSONObject)JSONValue.parse(response);

    VersionBean versionBean = new VersionBean();
    versionBean.restore(jsonObject);

    return versionBean;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.