Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

API Search using the attributes key and/or Attribute Value.

Solved Go to solution
Highlighted

API Search using the attributes key and/or Attribute Value.

New Contributor

I have a tag called "TestTag" which has three attributes namely attr1, attr2, attr3. I have associated a hive_column 'employeeName' with tag "TestTag" and values given for the attributes while associating the hive column are "attr1: value1", "attr2: value2", "attr3:value3". Now I want to search for all the entities which has the attribute 'attr1' with value 'value1'. So is there any APIs available or any other ways to find the same? I am using atlas 0.7 version.

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: API Search using the attributes key and/or Attribute Value.

New Contributor

There is no API in Atlas currently which offers search based on attribute key/value of a tag. One way of finding out all the entities which satisfy this criteria is to do a FullText Search with "attr1" and "value1" in the query.

View solution in original post

1 REPLY 1
Highlighted

Re: API Search using the attributes key and/or Attribute Value.

New Contributor

There is no API in Atlas currently which offers search based on attribute key/value of a tag. One way of finding out all the entities which satisfy this criteria is to do a FullText Search with "attr1" and "value1" in the query.

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here