How to search data in AWS amplify datastore using @searchable in android(java)?

0

I read this documentation: https://docs.amplify.aws/cli-legacy/graphql-transformer/searchable/#definition But how to impliment the query in android studio using java.What are the methods of Amplify to get search query? Can any one share documentation?