public class TermsInfo
extends java.lang.Object
Constructor and Description |
---|
TermsInfo(java.util.List fields,
java.util.Map terms,
java.lang.String indexVersion,
int totalNumTerms)
Constructor for the TermsInfo object
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getFields()
Gets a list of the fields in which the terms reside.
|
java.lang.String |
getIndexVersion()
Returns version of the index at the time the request was made.
|
java.util.Map |
getTerms()
Returns a Map of
TermData Objects, keyed by term String. |
int |
getTotalNumTerms()
Returns the total number of terms found in the given field(s).
|
java.lang.String |
toString()
Debugging
|
public TermsInfo(java.util.List fields, java.util.Map terms, java.lang.String indexVersion, int totalNumTerms)
fields
- Fieldsterms
- TermsindexVersion
- Index versiontotalNumTerms
- Total num terms in given fieldspublic java.util.List getFields()
public java.util.Map getTerms()
TermData
Objects, keyed by term String.public java.lang.String getIndexVersion()
public int getTotalNumTerms()
public java.lang.String toString()
toString
in class java.lang.Object