public class SourceAssertedValueSetScoreDocIteratorWrapper extends SearchScoreDocIterator
Modifier and Type | Field and Description |
---|---|
protected SourceAssertedScoreDocTransformer |
sAVSTransformer |
codeSystemsToInclude, list, pos, transformer
Modifier | Constructor and Description |
---|---|
protected |
SourceAssertedValueSetScoreDocIteratorWrapper(java.util.Set<AbsoluteCodingSchemeVersionReference> codeSystemRefs,
java.util.List<org.apache.lucene.search.ScoreDoc> list) |
Modifier and Type | Method and Description |
---|---|
ResolvedConceptReferenceList |
get(int start,
int end)
Return concept references from the underlying list, from the start point (inclusive)
to the end point (exclusive).
|
ResolvedConceptReferenceList |
next(int maxToReturn)
Return concept references from the underlying list, in order and up to
the specified maximum.
|
adjustEndPos, getNext, hasNext, next, numberRemaining, release, scroll
protected SourceAssertedScoreDocTransformer sAVSTransformer
protected SourceAssertedValueSetScoreDocIteratorWrapper(java.util.Set<AbsoluteCodingSchemeVersionReference> codeSystemRefs, java.util.List<org.apache.lucene.search.ScoreDoc> list)
public ResolvedConceptReferenceList next(int maxToReturn) throws LBResourceUnavailableException, LBInvocationException
ResolvedConceptReferencesIterator
next
in interface ResolvedConceptReferencesIterator
next
in class SearchScoreDocIterator
maxToReturn
- The maximum number of entries to return. Note that the
interface may return less than the supplied number of entries
even if there are still more to come. -1 means return a
"natural" block size, potentially up to the maximum amount
available, as determined by the service software. 0 returns an
empty list and can be used to keep the iterator "alive".LBResourceUnavailableException
LBInvocationException
public ResolvedConceptReferenceList get(int start, int end) throws LBResourceUnavailableException, LBInvocationException, LBParameterException
ResolvedConceptReferencesIterator
get
in interface ResolvedConceptReferencesIterator
get
in class SearchScoreDocIterator
start
- The start point of the range of results to return - inclusive. The entries
list is 0 indexed - so to get the first result, you should start with '0'.
LBParameterException is thrown if the start position is > the last item
available.end
- The end point of the range of results to return - exclusive. A range request
of (0, 50) will return 50 items (0 through 49 in an array)LBResourceUnavailableException
LBInvocationException
LBParameterException