public class TdbTerm
extends java.lang.Object
Constructor and Description |
---|
TdbTerm(java.lang.String term,
int recs)
Constructor
|
TdbTerm(java.lang.String term,
int recs,
int baselineRecs)
Constructor for facet terms with baseline information
|
Modifier and Type | Method and Description |
---|---|
int |
getBaselineCount()
Retrieve the number of records in which the facet value
occurred in the baseline.
|
int |
getRecordCount()
Retrieve the number of records in which the term occurs
|
java.lang.String |
getTerm()
Retrieve the term
|
boolean |
isBaselineValid()
Returns true if the baseline count information is valid for this term.
|
public TdbTerm(java.lang.String term, int recs)
term
- The termrecs
- The number of records in which the term occurspublic TdbTerm(java.lang.String term, int recs, int baselineRecs)
term
- The termrecs
- The number of records in which the term occursbaselineRecs
- The number of records in which the term occurs in the baslinepublic java.lang.String getTerm()
public int getRecordCount()
public int getBaselineCount()
public boolean isBaselineValid()