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 intThe value of current page number.protected booleanprotected longprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends Map<String, Object>> c) booleanaddAll(Collection<? extends Map<String, Object>> c) protected voidcalculatePageInfo(int start, int size) voidclear()booleanbooleancontainsAll(Collection<?> c) booleanget(int index) intlonglongintlonglongintlonginthashCode()intvoidinit(org.dbflute.optional.OptionalEntity<org.opensearch.action.search.SearchResponse> searchResponseOpt, int start, int pageSize) booleanisEmpty()booleanbooleanbooleaniterator()intlistIterator(int index) parseSearchHit(FessConfig fessConfig, String hlPrefix, org.opensearch.search.SearchHit searchHit) 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) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, 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
-
pageSize
protected 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
public QueryResponseList() -
QueryResponseList
-
-
Method Details
-
init
public void init(org.dbflute.optional.OptionalEntity<org.opensearch.action.search.SearchResponse> searchResponseOpt, int start, int pageSize) -
parseSearchHit
protected Map<String,Object> parseSearchHit(FessConfig fessConfig, String hlPrefix, org.opensearch.search.SearchHit searchHit) -
calculatePageInfo
protected void calculatePageInfo(int start, int size) -
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) -
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()
-