A B C D F G H I N R S V W

A

availableSpace(Page) - Static method in class br.usp.ime.jbase.HFPage
Returns the available space (in bytes) on a page.

B

Buffer - class br.usp.ime.jbase.Buffer.
Memory buffer with methods for reading/writing Java primitive types from/to a specified position of the buffer.
Buffer(byte[]) - Constructor for class br.usp.ime.jbase.Buffer
Constructor that takes a byte array to be used as data area.
Buffer(int) - Constructor for class br.usp.ime.jbase.Buffer
Constructor that takes the size of the data area.

C

compactSlotDir(Buffer) - Static method in class br.usp.ime.jbase.HFPage
Compacts the slot directory, if possible.

D

data() - Method in class br.usp.ime.jbase.Buffer
Gets the data area.
deleteRecord(Buffer, long) - Static method in class br.usp.ime.jbase.HFPage
Deletes a record from a page.
dump(Buffer) - Static method in class br.usp.ime.jbase.HFPage
Debugging method that prints out the fields of a page.

F

FAIL - Static variable in class br.usp.ime.jbase.HFPage
 
firstRecord(Buffer) - Static method in class br.usp.ime.jbase.HFPage
Starts an iteration over the records of a page.

G

getNext(Buffer) - Static method in class br.usp.ime.jbase.HFPage
Returns the page id stored in the "next" field of a page.
getPrevious(Buffer) - Static method in class br.usp.ime.jbase.HFPage
Returns the page id stored in the "previous" field of a page.
getRecord(Buffer, long, DBObject) - Static method in class br.usp.ime.jbase.HFPage
Gets a record from a page.
getSizeUTF(String) - Static method in class br.usp.ime.jbase.Buffer
Returns how many bytes the string s takes when written to a Buffer through a writeUTF call.
getSlot(Buffer, long) - Static method in class br.usp.ime.jbase.HFPage
Gets the lenght and the position of a record within a page.

H

HFPage - class br.usp.ime.jbase.HFPage.
Auxiliary class with static methods that deal with heap file pages.

I

init(Page) - Static method in class br.usp.ime.jbase.HFPage
Initializes a database page as a heap file page.
insertRecord(Buffer, DBObject) - Static method in class br.usp.ime.jbase.HFPage
Inserts a new record on a page.
IntHolder - class br.usp.ime.jbase.IntHolder.
Auxiliary class that holds an int value.
IntHolder() - Constructor for class br.usp.ime.jbase.IntHolder
 
isEmpty(Buffer) - Static method in class br.usp.ime.jbase.HFPage
Checks is a page is empty.

N

nextRecord(Buffer, long) - Static method in class br.usp.ime.jbase.HFPage
Continues an iteration over the records of a page.

R

read(int, byte[]) - Method in class br.usp.ime.jbase.Buffer
Reads b.length bytes from position pos of this Buffer into the array b.
read(int, byte[], int, int) - Method in class br.usp.ime.jbase.Buffer
Reads len bytes from position pos of this Buffer into offset off of b.
readBoolean(int) - Method in class br.usp.ime.jbase.Buffer
Reads a boolean value from position pos of this Buffer.
readByte(int) - Method in class br.usp.ime.jbase.Buffer
Reads and returns one byte from position pos of this Buffer.
readChar(int) - Method in class br.usp.ime.jbase.Buffer
Reads two bytes starting at position pos of this Buffer and returns a char value.
readDouble(int) - Method in class br.usp.ime.jbase.Buffer
Reads eight bytes starting at position pos of this Buffer and returns a double value.
readFloat(int) - Method in class br.usp.ime.jbase.Buffer
Reads four bytes starting at position pos of this Buffer and returns a float value.
readInt(int) - Method in class br.usp.ime.jbase.Buffer
Reads four bytes starting at position pos of this Buffer and returns an int value.
readLong(int) - Method in class br.usp.ime.jbase.Buffer
Reads eight bytes starting at position pos of this Buffer and returns a long value.
readObject(int, IntHolder) - Method in class br.usp.ime.jbase.Buffer
Reads an object from this Buffer, starting at position pos of the Buffer.
readShort(int) - Method in class br.usp.ime.jbase.Buffer
Reads two bytes starting at position pos of this Buffer and returns a short value.
readUnsignedByte(int) - Method in class br.usp.ime.jbase.Buffer
Reads one byte from position pos of this Buffer, zero-extends it an int in the range 0 through 255, and returns the result.
readUnsignedShort(int) - Method in class br.usp.ime.jbase.Buffer
Reads two bytes starting at position pos of this Buffer and returns an int in the range 0 through 65535.
readUTF(int) - Method in class br.usp.ime.jbase.Buffer
Reads a UTF-encoded String starting at position pos of this Buffer.
readUTF(int, IntHolder) - Method in class br.usp.ime.jbase.Buffer
Reads a UTF-encoded String starting at position pos of this Buffer.

S

setNext(Buffer, long) - Static method in class br.usp.ime.jbase.HFPage
Sets the "next" field of a page.
setPrevious(Buffer, long) - Static method in class br.usp.ime.jbase.HFPage
Sets the "previous" field of a page.
size() - Method in class br.usp.ime.jbase.Buffer
Gets the size of the data area.

V

value - Variable in class br.usp.ime.jbase.IntHolder
The int value held by this IntHolder.

W

write(int, byte[]) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, all the bytes in array b.
write(int, byte[], int, int) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, len bytes copied from offset off of array b.
writeBoolean(int, boolean) - Method in class br.usp.ime.jbase.Buffer
Writes a boolean value to position pos of this Buffer.
writeByte(int, int) - Method in class br.usp.ime.jbase.Buffer
Writes to position pos of this Buffer the eight low-order bits of the parameter v.
writeBytes(int, String) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, the low-order bytes of all chars of a string.
writeChar(int, int) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, two bytes that comprise a char value.
writeChars(int, String) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, every character in the string s, in order, two bytes per character.
writeDouble(int, double) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, eight bytes that comprise a double value.
writeFloat(int, float) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, four bytes that comprise a float value.
writeInt(int, int) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, four bytes that comprise an int value.
writeLong(int, long) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, eight bytes that comprise a long value.
writeObject(int, int, Object) - Method in class br.usp.ime.jbase.Buffer
Writes an object to this Buffer, starting at position pos of the Buffer and writing at most maxCount bytes.
writeShort(int, int) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, two bytes that comprise ashort value.
writeUTF(int, int, String) - Method in class br.usp.ime.jbase.Buffer
Similar to the Buffer.writeUTF(int pos, String s) method, but with an upper limit on the number of bytes written.
writeUTF(int, String) - Method in class br.usp.ime.jbase.Buffer
Writes to this Buffer, starting at position pos, two bytes of length information, followed by the Java modified UTF-8 representation of every character in the string s.

A B C D F G H I N R S V W