|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.services.dds.toolkit.TermsInfo
public class TermsInfo
Class that holds data about the terms in one or more fields in the index. Wraps the data returned from the ListTerms request to Java Maps and Objects.
Constructor Summary | |
---|---|
TermsInfo(List fields,
Map terms,
String indexVersion,
int totalNumTerms)
Constructor for the TermsInfo object |
Method Summary | |
---|---|
List |
getFields()
Gets a list of the fields in which the terms reside. |
String |
getIndexVersion()
Returns version of the index at the time the request was made. |
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). |
String |
toString()
Debugging |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TermsInfo(List fields, Map terms, String indexVersion, int totalNumTerms)
fields
- Fieldsterms
- TermsindexVersion
- Index versiontotalNumTerms
- Total num terms in given fieldsMethod Detail |
---|
public List getFields()
public Map getTerms()
TermData
Objects, keyed by term String.
public String getIndexVersion()
public int getTotalNumTerms()
public String toString()
toString
in class Object
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |