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
|
TdbTerm(java.lang.String term,
long recs)
Constructor
|
TdbTerm(java.lang.String term,
long recs,
long baselineRecs)
Constructor for facet terms with baseline information
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBaselineCount()
Retrieve the number of records in which the term occurred in the
baseline.
|
long |
getLongBaselineCount()
Retrieve the number of records in which the facet value
occurred in the baseline.
|
long |
getLongRecordCount()
Retrieve the number of records in which the term occurs
|
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,
long 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 TdbTerm(java.lang.String term,
long recs,
long 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 long getLongRecordCount()
public int getRecordCount()
public int getBaselineCount()
public long getLongBaselineCount()
public boolean isBaselineValid()