|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataRepository
Interface of the data blocks repository.
Nested Class Summary | |
---|---|
static interface |
DataRepository.TupleSequence
|
Method Summary | |
---|---|
int |
addItem(long key,
byte[] document,
int length)
Adds another document into the repository. |
void |
close()
Closes the repository. |
void |
destroy()
Destroy the repository. |
DataInputStream |
elementAt(long key,
int revision)
Retrieves a data block. |
DataRepository.TupleSequence |
elements()
The tuples are [long:uid;int:rev;Object:DataInputStream]. |
void |
flush()
|
Method Detail |
---|
int addItem(long key, byte[] document, int length)
DataInputStream elementAt(long key, int revision)
key
- the key of the blockrevision
- revision number of the block, 0 is used for the latest (current) revision
DataRepository.TupleSequence elements()
void flush()
void close()
void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |