private MultivaluedMap<String, String> attributesToQueryParams(Map<String, String> attributes) { return attributesToQueryParams(attributes, null); }
private MultivaluedMap<String, String> attributesToQueryParams(Map<String, String> attributes) { return attributesToQueryParams(attributes, null); }
private MultivaluedMap<String, String> attributesToQueryParams(Map<String, String> attributes) { return attributesToQueryParams(attributes, null); }
public EntityMutationResponse updateEntityByAttribute(String type, Map<String, String> attributes, AtlasEntityWithExtInfo entityInfo) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(API_V2.UPDATE_ENTITY_BY_ATTRIBUTE, EntityMutationResponse.class, entityInfo, queryParams, type); }
public AtlasEntityWithExtInfo getEntityByAttribute(String type, Map<String, String> attributes) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(API_V2.GET_ENTITY_BY_ATTRIBUTE, AtlasEntityWithExtInfo.class, queryParams, type); }
public EntityMutationResponse deleteEntityByAttribute(String type, Map<String, String> attributes) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(DELETE_ENTITY_BY_ATTRIBUTE, EntityMutationResponse.class, queryParams, type); }
public EntityMutationResponse updateEntityByAttribute(String type, Map<String, String> attributes, AtlasEntityWithExtInfo entityInfo) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(UPDATE_ENTITY_BY_ATTRIBUTE, EntityMutationResponse.class, entityInfo, queryParams, type); }
public EntityMutationResponse deleteEntityByAttribute(String type, Map<String, String> attributes) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(API_V2.DELETE_ENTITY_BY_ATTRIBUTE, EntityMutationResponse.class, queryParams, type); }
public EntityMutationResponse updateEntityByAttribute(String type, Map<String, String> attributes, AtlasEntityWithExtInfo entityInfo) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(API_V2.UPDATE_ENTITY_BY_ATTRIBUTE, EntityMutationResponse.class, entityInfo, queryParams, type); }
public AtlasEntityWithExtInfo getEntityByAttribute(String type, Map<String, String> attributes) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(GET_ENTITY_BY_ATTRIBUTE, AtlasEntityWithExtInfo.class, queryParams, type); }
public AtlasEntityWithExtInfo getEntityByAttribute(String type, Map<String, String> attributes) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(API_V2.GET_ENTITY_BY_ATTRIBUTE, AtlasEntityWithExtInfo.class, queryParams, type); }
public EntityMutationResponse deleteEntityByAttribute(String type, Map<String, String> attributes) throws AtlasServiceException { MultivaluedMap<String, String> queryParams = attributesToQueryParams(attributes); return callAPI(API_V2.DELETE_ENTITY_BY_ATTRIBUTE, EntityMutationResponse.class, queryParams, type); }