public abstract class SearchResults extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RESULTS_FIRST_RETURNED
Results: int first record of all matching returned, 1-based
|
static String |
RESULTS_NUM_RESULTS
Results: int total number of records matching, not all necc. returned.
|
static String |
RESULTS_NUM_RETURNED
Results: int total number of records *returned* in results
|
static String |
RESULTS_REQUESTED
Results: int number of results requested
|
static String |
RESULTS_TYPE
Results: type of results: "Capture" or "Url"
|
static String |
RESULTS_TYPE_CAPTURE
Results: indicates SearchResult objects within the SearchResults are of
type CaptureSearchResults.
|
static String |
RESULTS_TYPE_URL
Results: indicates SearchResult objects within the SearchResults are of
type UrlSearchResults.
|
Constructor and Description |
---|
SearchResults()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsFilter(String key) |
List<String> |
getCloseMatches() |
int |
getCurPageNum() |
String |
getFilter(String key) |
Map<String,String> |
getFilters() |
long |
getFirstReturned() |
long |
getMatchingCount() |
int |
getNumPages() |
long |
getNumRequested() |
long |
getReturnedCount() |
String |
putFilter(String key,
String value) |
void |
setCloseMatches(List<String> closeMatches) |
void |
setFirstReturned(long firstReturned) |
void |
setMatchingCount(long matchingCount) |
void |
setNumRequested(long numRequested) |
void |
setReturnedCount(long returnedCount) |
public static final String RESULTS_NUM_RESULTS
public static final String RESULTS_FIRST_RETURNED
public static final String RESULTS_NUM_RETURNED
public static final String RESULTS_REQUESTED
public static final String RESULTS_TYPE_URL
public static final String RESULTS_TYPE_CAPTURE
public static final String RESULTS_TYPE
public boolean containsFilter(String key)
key
- key
exists in filterspublic String putFilter(String key, String value)
key
- value
- key
or null if there was nonepublic long getReturnedCount()
public void setReturnedCount(long returnedCount)
public long getFirstReturned()
public void setFirstReturned(long firstReturned)
public long getMatchingCount()
public void setMatchingCount(long matchingCount)
public long getNumRequested()
public void setNumRequested(long numRequested)
public int getNumPages()
public int getCurPageNum()
Copyright © 2005–2015 IIPC. All rights reserved.