SearchResult.java 1.23 KB
/*
 * 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();
}