Package com.tietoenator.trip.jxp.ccl
Class TdbHistoryDetail
java.lang.Object
com.tietoenator.trip.jxp.ccl.TdbHistoryDetail
Container for CCL search history elements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the name of the database or cluster that was used with the search.int
Retrieve the number of terms hit by the search to which this history entry relateslong
Retrieve the number of terms hit by the search to which this history entry relateslong
Retrieve the number of records contained within the search setRetrieve a parsed version of the CCL command that generated the searchint
Retrieve the number of records contained within the search setint
Retrieve the unique ID of the search set to which this history entry relates
-
Constructor Details
-
TdbHistoryDetail
public TdbHistoryDetail()Constructor, creates a blank instance
-
-
Method Details
-
getDatabase
Retrieve the name of the database or cluster that was used with the search.This property requires TRIPsystem 7.2-1 or later on the server. For older TRIPsystem versions, this property will return an empty string.
- Returns:
- The database name
- Since:
- 7.2-1
-
getParsedCommand
Retrieve a parsed version of the CCL command that generated the search- Returns:
- The parsed command
-
getSearchId
public int getSearchId()Retrieve the unique ID of the search set to which this history entry relates- Returns:
- The search set ID
-
getRecordCount
public int getRecordCount()Retrieve the number of records contained within the search set- Returns:
- Record count If the record count is larger than Integer.MAX_VALUE, this property will return Integer.MAX_VALUE. To get the actual record count of search sets with more than Integer.MAX_VALUE records, use the #getLongRecordCount() method.
-
getLongRecordCount
public long getLongRecordCount()Retrieve the number of records contained within the search set- Returns:
- Record count
- Since:
- 8.0
-
getHitCount
public int getHitCount()Retrieve the number of terms hit by the search to which this history entry relates- Returns:
- Hit term count If the hit count is larger than Integer.MAX_VALUE, this property will return Integer.MAX_VALUE. To get the actual hit count of search sets with more than Integer.MAX_VALUE hits, use the getLongHitCount() method. Note that a record in a search set may have more than one hit, so there is a one-to-many relationship between record count and hit count.
-
getLongHitCount
public long getLongHitCount()Retrieve the number of terms hit by the search to which this history entry relates- Returns:
- Hit term count Note that a record in a search set may have more than one hit, so there is a one-to-many relationship between record count and hit count.
- Since:
- 8.0
-