Class IndexedTermCounts
- java.lang.Object
-
- com.funnelback.publicui.search.model.padre.IndexedTermCounts
-
public class IndexedTermCounts extends java.lang.ObjectHolds 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.StringmetadataClassThe metadata class the terms are indexed under.private java.util.Map<java.lang.String,java.lang.Long>termAndOccurrencesHolds 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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetMetadataClass()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.inthashCode()java.lang.StringtoString()
-
-
-
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
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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
-
-