public class QueryResults extends Object
| Constructor and Description |
|---|
QueryResults() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMsg()
get error message
|
int |
getEtAl() |
int |
getHitCount()
get total number of hits found by search engine, not just number of
returned results
|
List<String> |
getHitHandles()
get the List of handles corresponding to hits
|
List<Integer> |
getHitIds()
get the List of handles corresponding to hits
|
List<Integer> |
getHitTypes()
get the List of types corresponding to handles
|
int |
getPageSize()
get length of 'page' of results
|
long |
getQueryTime() |
int |
getStart()
get start of 'page' of results
|
void |
setErrorMsg(String msg)
set error message
|
void |
setEtAl(int etAl)
set the number of metadata fields at which to truncate with "et al"
|
void |
setHitCount(int newCount)
set total number of hits found by search engine, not number in hitHandles
|
void |
setHitHandles(List<String> myHits)
set the List of handles corresponding to hits
|
void |
setHitIds(List<Integer> myHits)
set the List of ids corresponding to hits
|
void |
setHitTypes(List<Integer> newTypes)
set the List of types corresponding to handles
|
void |
setPageSize(int newSize)
set length of 'page' of results
|
void |
setQueryTime(long queryTime) |
void |
setStart(int newStart)
set start of 'page' of results
|
public long getQueryTime()
public void setQueryTime(long queryTime)
public int getEtAl()
public void setEtAl(int etAl)
etAl - public void setHitCount(int newCount)
public int getHitCount()
public void setStart(int newStart)
public int getStart()
public void setPageSize(int newSize)
public int getPageSize()
public void setHitHandles(List<String> myHits)
public void setHitTypes(List<Integer> newTypes)
public void setErrorMsg(String msg)
public String getErrorMsg()
Copyright © 2015 DuraSpace. All Rights Reserved.