public class SolrJSONResultSet extends Object implements ResultSet, JSONResult
| Constructor and Description |
|---|
SolrJSONResultSet(org.json.JSONObject json,
SearchParameters searchParameters,
NodeService nodeService,
NodeDAO nodeDao,
LimitBy limitBy,
int maxResults)
Detached result set based on that provided
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SolrJSONResultSet(org.json.JSONObject json,
SearchParameters searchParameters,
NodeService nodeService,
NodeDAO nodeDao,
LimitBy limitBy,
int maxResults)
json - JSONObjectsearchParameters - SearchParametersnodeService - NodeServicenodeDao - NodeDAOlimitBy - LimitBymaxResults - intprotected Map<String,List<Map<String,String>>> buildRanges(org.json.JSONObject facet_ranges) throws org.json.JSONException
org.json.JSONExceptionprotected Map<String,Map<String,Object>> buildStats(org.json.JSONObject statsObj) throws org.json.JSONException
org.json.JSONExceptionprotected List<GenericFacetResponse> buildPivot(org.json.JSONObject facet_pivot, String pivotName, List<RangeParameters> rangeParameters) throws org.json.JSONException
org.json.JSONExceptionpublic NodeService getNodeService()
public void close()
close in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public boolean getBulkFetch()
getBulkFetch in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public int getBulkFetchSize()
getBulkFetchSize in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public ChildAssociationRef getChildAssocRef(int n)
getChildAssocRef in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public List<ChildAssociationRef> getChildAssocRefs()
getChildAssocRefs in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public NodeRef getNodeRef(int n)
getNodeRef in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public List<NodeRef> getNodeRefs()
getNodeRefs in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public ResultSetMetaData getResultSetMetaData()
getResultSetMetaData in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public ResultSetRow getRow(int i)
getRow in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public float getScore(int n)
getScore in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public int getStart()
getStart in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public boolean hasMore()
hasMore in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public int length()
length in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public boolean setBulkFetch(boolean bulkFetch)
setBulkFetch in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public int setBulkFetchSize(int bulkFetchSize)
setBulkFetchSize in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public Iterator<ResultSetRow> iterator()
iterator in interface Iterable<ResultSetRow>public Long getQueryTime()
getQueryTime in interface JSONResultpublic long getNumberFound()
getNumberFound in interface JSONResultgetNumberFound in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public List<Pair<String,Integer>> getFieldFacet(String field)
getFieldFacet in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public List<GenericFacetResponse> getPivotFacets()
public long getLastIndexedTxId()
public Map<String,Integer> getFacetQueries()
getFacetQueries in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public Map<NodeRef,List<Pair<String,List<String>>>> getHighlighting()
getHighlighting in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public SpellCheckResult getSpellCheckResult()
getSpellCheckResult in interface ResultSetSPI<ResultSetRow,ResultSetMetaData>public boolean getProcessedDenies()
Copyright © 2005–2021 Alfresco Software. All rights reserved.