Project

General

Profile

« Previous | Next » 

Revision 29613

Added by Eri Katsari over 10 years ago

View differences:

modules/dnet-openaire-stats/trunk/src/main/java/eu/dnetlib/data/mapreduce/hbase/statsExport/utils/ContextExporter.java
68 68
		factory.setAddress(url);
69 69

  
70 70
		lookUpService = (ISLookUpService) factory.create();
71

  
72
		return lookUpService.quickSearchProfile("//RESOURCE_PROFILE[.//RESOURCE_TYPE/@value='ContextDSResourceType']");
71
//		for $x in //RESOURCE_PROFILE[.//RESOURCE_TYPE/@value='ContextDSResourceType']
72
//		[.//RESOURCE_KIND/@value='ContextDSResources'] return  $x
73
		return lookUpService.quickSearchProfile("//RESOURCE_PROFILE[.//RESOURCE_TYPE/@value='ContextDSResourceType'][.//RESOURCE_KIND/@value='ContextDSResources']");
73 74
	}
74 75

  
75 76
	private void processData(String data) throws Exception {

Also available in: Unified diff