Package org.codelibs.fess.util
Class QueryResponseList
java.lang.Object
org.codelibs.fess.util.QueryResponseList
- All Implemented Interfaces:
Iterable<Map<String,,Object>> Collection<Map<String,,Object>> List<Map<String,Object>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected longprotected Stringprotected longprotected intThe value of current page number.protected longprotected longprotected booleanprotected booleanprotected FacetResponseprotected final intprotected final intThe value of current page number.protected booleanprotected longprotected Stringprotected final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQueryResponseList(List<Map<String, Object>> documentList, int start, int pageSize, int offset) QueryResponseList(List<Map<String, Object>> documentList, long allRecordCount, String allRecordCountRelation, long queryTime, boolean partialResults, FacetResponse facetResponse, int start, int pageSize, int offset) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends Map<String, Object>> c) booleanaddAll(Collection<? extends Map<String, Object>> c) protected voidvoidclear()booleanbooleancontainsAll(Collection<?> c) booleanget(int index) intlonglongintlonglongintintlongintgetStart()inthashCode()intbooleanisEmpty()booleanbooleanbooleaniterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) voidsetExecTime(long execTime) voidsetSearchQuery(String searchQuery) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Field Details
-
parent
-
start
protected final int start -
offset
protected final int offset -
pageSize
protected final int pageSizeThe value of current page number. -
currentPageNumber
protected int currentPageNumberThe value of current page number. -
allRecordCount
protected long allRecordCount -
allRecordCountRelation
-
allPageCount
protected int allPageCount -
existNextPage
protected boolean existNextPage -
existPrevPage
protected boolean existPrevPage -
currentStartRecordNumber
protected long currentStartRecordNumber -
currentEndRecordNumber
protected long currentEndRecordNumber -
pageNumberList
-
searchQuery
-
execTime
protected long execTime -
facetResponse
-
partialResults
protected boolean partialResults -
queryTime
protected long queryTime
-
-
Constructor Details
-
QueryResponseList
-
QueryResponseList
-
-
Method Details
-
calculatePageInfo
protected void calculatePageInfo() -
add
-
add
-
addAll
-
addAll
-
clear
public void clear() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<Map<String,Object>> - Specified by:
containsAllin interfaceList<Map<String,Object>>
-
equals
-
get
-
hashCode
public int hashCode() -
indexOf
-
isEmpty
public boolean isEmpty() -
iterator
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Map<String,Object>>
-
listIterator
- Specified by:
listIteratorin interfaceList<Map<String,Object>>
-
listIterator
- Specified by:
listIteratorin interfaceList<Map<String,Object>>
-
remove
-
remove
-
removeAll
-
retainAll
-
set
-
size
public int size() -
subList
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
getStart
public int getStart() -
getOffset
public int getOffset() -
getPageSize
public int getPageSize() -
getCurrentPageNumber
public int getCurrentPageNumber() -
getAllRecordCount
public long getAllRecordCount() -
getAllRecordCountRelation
-
getAllPageCount
public int getAllPageCount() -
isExistNextPage
public boolean isExistNextPage() -
isExistPrevPage
public boolean isExistPrevPage() -
getCurrentStartRecordNumber
public long getCurrentStartRecordNumber() -
getCurrentEndRecordNumber
public long getCurrentEndRecordNumber() -
getPageNumberList
-
getSearchQuery
-
setSearchQuery
-
getExecTime
public long getExecTime() -
setExecTime
public void setExecTime(long execTime) -
getFacetResponse
-
isPartialResults
public boolean isPartialResults() -
getQueryTime
public long getQueryTime() -
toString
-