|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.store.PageOutputStream
public class PageOutputStream
An output stream that writes into a page store.
Constructor Summary | |
---|---|
PageOutputStream(PageStore store,
int trunkPage,
BitField exclude,
int logKey,
boolean atEnd)
Create a new page output stream. |
Method Summary | |
---|---|
void |
close()
Close the stream. |
void |
flush()
Write all data. |
void |
write(byte[] b,
int off,
int len)
Write the data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageOutputStream(PageStore store, int trunkPage, BitField exclude, int logKey, boolean atEnd)
store
- the page storetrunkPage
- the first trunk page (already allocated)exclude
- the pages not to uselogKey
- the log key of the first trunk pageatEnd
- whether only pages at the end of the file should be usedMethod Detail |
---|
public void write(byte[] b, int off, int len)
b
- the bufferoff
- the offsetlen
- the lengthpublic void flush()
public void close()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |