All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bedework.calfacade.indexing.SearchResult Maven / Gradle / Ivy

The newest version!
package org.bedework.calfacade.indexing;

import java.io.Serializable;
import java.util.Set;

/**
 * User: douglm Date: 9/12/13 Time: 4:07 PM
 */
public interface SearchResult extends Serializable {
  /**
   * @return indexer used to get this search.
   */
  BwIndexer getIndexer();

  /**
   * @return Total number found. 0 means none found,
   *                                -1 means indeterminate
   */
  long getFound();

  /**
   * @return for a paged request the record index of last page retrieved
   */
  int getLastPageStart();

  /**
   * @return for a paged request the next record index
   */
  int getPageStart();

  /**
   *
   * @return for a paged request the max number of hits
   */
  int getPageSize();

  /**
   *
   * @return start date limit applied to original search - possibly null.
   */
  String getStart();

  /**
   *
   * @return end date limit applied to original search - possibly null.
   */
  String getEnd();

  /**
   * @return names of returned facets - possibly null
   */
  Set getFacetNames();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy