org.apache.maven.index
Class FlatSearchResponse

java.lang.Object
  extended by org.apache.maven.index.AbstractSearchResponse
      extended by org.apache.maven.index.FlatSearchResponse
All Implemented Interfaces:
Closeable

public class FlatSearchResponse
extends AbstractSearchResponse

A flat search response.

See Also:
NexusIndexer.searchFlat(FlatSearchRequest)

Constructor Summary
FlatSearchResponse(org.apache.lucene.search.Query query, int totalHits, Set<ArtifactInfo> results)
           
 
Method Summary
 Set<ArtifactInfo> getResults()
           
 
Methods inherited from class org.apache.maven.index.AbstractSearchResponse
close, getQuery, getReturnedHitsCount, getTotalHits, getTotalHitsCount, isHitLimitExceeded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatSearchResponse

public FlatSearchResponse(org.apache.lucene.search.Query query,
                          int totalHits,
                          Set<ArtifactInfo> results)
Method Detail

getResults

public Set<ArtifactInfo> getResults()


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.