public interface BarrelReader extends AutoCloseable
getDocuments()
), then you can read inverted lists (getILists()
).
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this BarrelReader.
|
SequenceWithClose<DocumentData> |
getDocuments()
Returns an enumeration of all active documents.
|
SequenceWithClose<IListReader> |
getILists()
Returns an enumeration of all inverted lists.
|
long |
length()
Returns number of active documents in this Barrel.
|
void |
rewind()
Restart this BarrelReader so that the documents can be read again.
|
SequenceWithClose<IListReader> getILists()
IListReader
s. The readers must be initialized
and the reader can represent a free list, that is, an IListReader that
has no items can be returned.SequenceWithClose<DocumentData> getDocuments()
DocumentData
s. If the enumeration contains no
elements, then the Barrel was destroyed completely.long length()
void close()
close
in interface AutoCloseable
void rewind() throws IOException, UnsupportedOperationException
Copyright © 2016 Egothor. All Rights Reserved.