SearchResult.java
1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* aQute.bnd.annotation.ProviderType
* javax.jcr.Node
* javax.jcr.RepositoryException
* org.apache.sling.api.resource.Resource
*/
package com.day.cq.search.result;
import aQute.bnd.annotation.ProviderType;
import com.day.cq.search.facets.Facet;
import com.day.cq.search.result.Hit;
import com.day.cq.search.result.ResultPage;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.jcr.Node;
import javax.jcr.RepositoryException;
import org.apache.sling.api.resource.Resource;
@ProviderType
public interface SearchResult {
public long getTotalMatches();
public boolean hasMore();
public long getStartIndex();
public long getHitsPerPage();
public List<Hit> getHits();
public Iterator<Node> getNodes();
public Iterator<Resource> getResources();
public List<ResultPage> getResultPages();
public ResultPage getPreviousPage();
public ResultPage getNextPage();
public String getExecutionTime();
public long getExecutionTimeMillis();
public Map<String, Facet> getFacets() throws RepositoryException;
public String getQueryStatement();
public String getFilteringPredicates();
}