Class IndexedTermCounts


  • public class IndexedTermCounts
    extends Object

    Holds the count of each indexed term for a metadata class 'metadataClass'.

    Since:
    15.10
    • Field Detail

      • metadataClass

        private final String metadataClass

        The metadata class the terms are indexed under.

        Since:
        15.10
      • termAndOccurrences

        private final Map<String,​Long> termAndOccurrences

        Holds the count of occurrences of each term in the metadata class in the result set.

        The Key is the indexed term (which may be truncated as per the indexer options used). The Value is the number of times the term appears in the metadata class in the result set of the query run.

        Since:
        15.10
    • Constructor Detail

      • IndexedTermCounts

        public IndexedTermCounts​(String metadataClass)
    • Method Detail

      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getMetadataClass

        public String getMetadataClass()

        The metadata class the terms are indexed under.

        Since:
        15.10
      • getTermAndOccurrences

        public Map<String,​Long> getTermAndOccurrences()

        Holds the count of occurrences of each term in the metadata class in the result set.

        The Key is the indexed term (which may be truncated as per the indexer options used). The Value is the number of times the term appears in the metadata class in the result set of the query run.

        Since:
        15.10