hiveService/src/main/java/com/ge/research/semtk/edc/services/hive/HiveServiceRestController.java
@CrossOrigin
	@RequestMapping(value="/queryHive", method= RequestMethod.POST)
	public JSONObject queryHive(@RequestBody DatabaseQueryRequest requestBody, @RequestHeader HttpHeaders headers){
		HeadersManager.setHeaders(headers); // add security to async job
		String query = requestBody.query;
		JSONObject ret = runQuery(requestBody, query);
		LocalLogger.logToStdOut(SERVICE_NAME + " queryHive initiated asynchronous query " + query);
		return ret;
	}
/**
	 * Execute arbitrary query in Hive.  
	 * Returns a job id (running in asynchronous mode)
	 */
Execute arbitrary query in Hive.
Returns a job id (running in asynchronous mode)
Execute arbitrary query in Hive . Returns a job id ( running in asynchronous mode )
@CrossOrigin
	@RequestMapping(value="/queryHive", method= RequestMethod.POST)
	public JSONObject queryHive(@RequestBody DatabaseQueryRequest requestBody, @RequestHeader HttpHeaders headers){
		HeadersManager.setHeaders(headers); 
		String query = requestBody.query;
		JSONObject ret = runQuery(requestBody, query);
		LocalLogger.logToStdOut(SERVICE_NAME + " queryHive initiated asynchronous query " + query);
		return ret;
	}
@ CrossOrigin @ RequestMapping ( value = "/queryHive" , method = RequestMethod . POST ) public JSONObject queryHive ( @ RequestBody DatabaseQueryRequest requestBody , @ RequestHeader HttpHeaders headers ) { HeadersManager . setHeaders ( headers ) ; String query = requestBody . query ; JSONObject ret = runQuery ( requestBody , query ) ; LocalLogger . logToStdOut ( SERVICE_NAME + " queryHive initiated asynchronous query " + query ) ; return ret ; }
Execute arbitrary query in Hive.
Execute arbitrary query in Hive .
// add security to async job