|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PageManager
Interface for managing pages
Nested Class Summary | |
---|---|
static interface |
PageManager.PageId PageId Interface |
Method Summary | |
---|---|
void |
close() Closes the PageManager. |
void |
deletePage(PageManager.PageId id) Delete the page for the given page id. |
PageManager.PageId |
pageIdFromBytes(byte[] buf, int start) Create pageId from a byte representation in the byte buffer starting at 'start' index. |
byte |
pageIdToBytes(PageManager.PageId pageid, byte[] buf, int start) Write a byte representation of the PageId into the byte buffer starting at 'start' index. |
int |
pageLength(PageManager.PageId id) Gets the page length. |
int |
readPage(PageManager.PageId id, byte[] buffer, int start) Fill the buffer for the given page id. |
PageManager.PageId |
writePage(byte[] buffer, int start, int length) Writes/Stores a page. |
PageManager.PageId |
writePage(PageManager.PageId id, byte[] buffer, int start, int length) Updates a page for the given page id. |
Method Detail |
---|
PageManager.PageId writePage(byte[] buffer, int start, int length)
buffer
- - byte buffer containing a page to be stored.start
- - start of the page in the buffer.length
- - the length of the page.PageManager.PageId writePage(PageManager.PageId id, byte[] buffer, int start, int length)
id
- - an Object containing the page Id.buffer
- - byte buffer containing a page to be stored.start
- - start of the page in the buffer.length
- - the length of the page.int readPage(PageManager.PageId id, byte[] buffer, int start)
id
- - an Object containing the page Id.buffer
- - byte buffer containing a page to be stored.start
- - start of the page in the buffer.void deletePage(PageManager.PageId id)
id
- - an Object containing the page Id.int pageLength(PageManager.PageId id)
id
- - an Object containing the page Id.void close()
byte pageIdToBytes(PageManager.PageId pageid, byte[] buf, int start)
pageId
- - pageId to be converted to bytesbuf
- - byte array to write intostart
- - start indexPageManager.PageId pageIdFromBytes(byte[] buf, int start)
buf
- - byte array to read fromstart
- - start index
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.