Package org.apache.maven.index
Class FlatSearchResponse
- java.lang.Object
-
- org.apache.maven.index.AbstractSearchResponse
-
- org.apache.maven.index.FlatSearchResponse
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class FlatSearchResponse extends AbstractSearchResponse
A flat search response.- See Also:
Indexer.searchFlat(FlatSearchRequest)
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<ArtifactInfo>
results
-
Constructor Summary
Constructors Constructor Description FlatSearchResponse(org.apache.lucene.search.Query query, int totalHits, java.util.Set<ArtifactInfo> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<ArtifactInfo>
getResults()
-
Methods inherited from class org.apache.maven.index.AbstractSearchResponse
close, getQuery, getReturnedHitsCount, getTotalHits, getTotalHitsCount, isHitLimitExceeded
-
-
-
-
Field Detail
-
results
private final java.util.Set<ArtifactInfo> results
-
-
Constructor Detail
-
FlatSearchResponse
public FlatSearchResponse(org.apache.lucene.search.Query query, int totalHits, java.util.Set<ArtifactInfo> results)
-
-
Method Detail
-
getResults
public java.util.Set<ArtifactInfo> getResults()
-
-