Class Analytics


  • public class Analytics
    extends Object
    • Constructor Detail

      • Analytics

        public Analytics()
    • Method Detail

      • withTags

        public Analytics withTags​(String... tags)
        Submit tags with the analytics parameter. Tags can be used to enrich each query with unique information. Once added, a tag cannot be removed. Supports arrays.
        Parameters:
        tags - Array of strings representing the tags you’d like to apply to the query. You may submit up to 16 tags, and each may be up to 64 characters in length.
        Returns:
        the tags
      • getTags

        public Set<String> getTags()
        Submit tags with the analytics parameter. Tags can be used to enrich each query with unique information. Once added, a tag cannot be removed. Supports arrays.
        Returns:
        the tags
      • setTags

        public Analytics setTags​(Set<String> tags)
        Submit tags with the analytics parameter. Tags can be used to enrich each query with unique information. Once added, a tag cannot be removed. Supports arrays.
        Parameters:
        tags - Array of strings representing the tags you’d like to apply to the query. You may submit up to 16 tags, and each may be up to 64 characters in length.
        Returns:
        this.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object