Package org.apache.oodt.cas.catalog.page

Examples of org.apache.oodt.cas.catalog.page.QueryPager


  protected Page getPage(QueryExpression queryExpression, Set<String> restrictToCatalogIds, QueryPager queryPager) throws CatalogServiceException {
    return new Page(new ProcessedPageInfo(queryPager.getPageSize(), queryPager.getPageNum(), queryPager.getNumOfHits()), queryExpression, restrictToCatalogIds, this.indexReceipts(queryPager.getCurrentPage()));
  }
 
  public QueryPager query(QueryExpression queryExpression, Set<String> catalogIds) throws CatalogServiceException {
    return new QueryPager(this.indexReceipts(this._query(queryExpression, catalogIds)));
  }
View Full Code Here


  protected Set<String> catalogIds;
  protected List<String> termNames;
 
  public void performAction(CatalogServiceClient csClient) throws Exception {
    QueryExpression queryExpression = QueryParser.parseQueryExpression(query);
    QueryPager queryPager = null;
    if (catalogIds == null)
      queryPager = csClient.query(queryExpression);
    else
      queryPager = csClient.query(queryExpression, catalogIds);
    List<TransactionalMetadata> transactionMetadatas = csClient.getAllPages(queryPager);
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.catalog.page.QueryPager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.