Class IndexedTermCounts
- java.lang.Object
-
- com.funnelback.publicui.search.model.padre.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()
-
-
-
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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-