public List < String > listTypes ( final DataTypes . TypeCategory category ) throws AtlasServiceException { JSONObject response = callAPIWithRetries ( API . LIST_TYPES , null , new ResourceCreator ( ) { @ Override public WebResource createResource ( ) { WebResource resource = getResource ( API . LIST_TYPES . getPath ( ) ) ; resource = resource . queryParam ( TYPE , category . name ( ) ) ; return resource ; } } ) ; return extractResults ( response , AtlasClient . RESULTS , new ExtractOperation < String , String > ( ) ) ; }
Returns all type names with the given category