|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.z39.DbResults
DbResults returns additional search information by database.
Field Summary | |
TermComponentPostings[] |
componentResults
TermComponentPostings Information, if present. |
int |
count
Record count |
String[] |
dbName
List of database names for these results |
Diagnostic1 |
diagnostic
Diagnostic for ERRORS |
int |
fetchOffset
For combined databases, the first record number for retrieval |
oclcUserInformation7 |
oclc7
The partial search results information. |
oclcUserInformation8 |
oclc8
The ranked query results. |
int[] |
restrictorCounts
Record counts for each restrictor |
String[] |
restrictorNames
List of names of restrictors represented in this result set |
int[] |
restrictorUses
List of attribute type = use values for these restrictors |
Constructor Summary | |
DbResults()
|
|
DbResults(DataDir resultsbyDb)
|
|
DbResults(String[] dbname,
int hitcount)
|
|
DbResults(String[] dbname,
int hitcount,
int fetchOffset)
|
|
DbResults(String dbname,
int hitcount)
|
|
DbResults(String dbname,
int hitcount,
int fetchOffset)
|
Method Summary | |
void |
addDiagnostic(Diagnostic1 d)
Save a Diagnostic |
void |
addDiagnostic(int errorCode,
String errorMsg)
Create a Diagnostic |
static String |
allNames(DbResults[] results)
Given an array of DbResults, create a string with all the dbnames |
boolean |
assembleDir(DataDir parent)
assemble a directory node with the DbResults information |
String |
dbName()
Get the dbName |
Diagnostic1 |
diagnostic()
Get the diagnostic |
String |
diagnostic1Info()
Return the official diagnostic error message (Diagnostic1.msg()) from the result diagnostic code. |
int |
firstRecno()
Get the first Record number for the database from the resultset |
static TermComponentPostings[] |
getComponentPostings(DbResults[] results)
Given an array of DbResults, get the component results from the search |
static oclcUserInformation7 |
getPartialResults(DbResults[] results)
Given an array of DbResults, get the partial results search information from the oclcUserInformation7 data |
static oclcUserInformation8 |
getUserInfo8(DbResults[] results)
Given an array of DbResults, get the partial results search information from the oclcUserInformation8 data |
boolean |
hasError()
Test to see if entry has errors (diagnostics associated with it) |
int |
postings()
Get the search postings |
String |
toString()
Generate a String representation of this object |
static int |
totalPostings(DbResults[] results)
Given an array of DbResults, calculate the total postings |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public String[] dbName
public int count
public Diagnostic1 diagnostic
public int fetchOffset
public String[] restrictorNames
public int[] restrictorUses
public int[] restrictorCounts
public oclcUserInformation7 oclc7
public oclcUserInformation8 oclc8
public TermComponentPostings[] componentResults
Constructor Detail |
public DbResults()
public DbResults(String dbname, int hitcount)
dbname
- the database namehitcount
- the result search countpublic DbResults(String dbname, int hitcount, int fetchOffset)
dbname
- the database namehitcount
- the result search countfetchOffset
- the offset to start record reads frompublic DbResults(String[] dbname, int hitcount)
dbname
- array of database nameshitcount
- the result search countpublic DbResults(String[] dbname, int hitcount, int fetchOffset)
dbname
- array of database nameshitcount
- the result search countfetchOffset
- the offset to start record reads frompublic DbResults(DataDir resultsbyDb)
Method Detail |
public boolean hasError()
public String diagnostic1Info()
public void addDiagnostic(int errorCode, String errorMsg)
errorCode
- the diagnostic error codeerrorMsg
- the diagnostic error messagepublic void addDiagnostic(Diagnostic1 d)
d
- the diagnostic1 object to savepublic boolean assembleDir(DataDir parent)
parent
- the parent node of a data dir to add the info topublic String dbName()
public int postings()
public int firstRecno()
public Diagnostic1 diagnostic()
public String toString()
public static int totalPostings(DbResults[] results)
public static String allNames(DbResults[] results)
public static oclcUserInformation7 getPartialResults(DbResults[] results)
public static oclcUserInformation8 getUserInfo8(DbResults[] results)
public static TermComponentPostings[] getComponentPostings(DbResults[] results)
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |