Class IndexedTermCounts


  • public class IndexedTermCounts
    extends java.lang.Object

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

    Since:
    15.10
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String metadataClass
      The metadata class the terms are indexed under.
      private java.util.Map<java.lang.String,​java.lang.Long> termAndOccurrences
      Holds the count of occurrences of each term in the metadata class in the result set.
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexedTermCounts​(java.lang.String metadataClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getMetadataClass()
      The metadata class the terms are indexed under.
      java.util.Map<java.lang.String,​java.lang.Long> getTermAndOccurrences()
      Holds the count of occurrences of each term in the metadata class in the result set.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • metadataClass

        private final java.lang.String metadataClass

        The metadata class the terms are indexed under.

        Since:
        15.10
      • termAndOccurrences

        private final java.util.Map<java.lang.String,​java.lang.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​(java.lang.String metadataClass)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getMetadataClass

        public java.lang.String getMetadataClass()

        The metadata class the terms are indexed under.

        Since:
        15.10
      • getTermAndOccurrences

        public java.util.Map<java.lang.String,​java.lang.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