Package | Description |
---|---|
com.caucho.db.blob | |
com.caucho.db.block | |
com.caucho.db.index | |
com.caucho.db.table | |
com.caucho.db.xa | |
com.caucho.message.journal |
Modifier and Type | Method and Description |
---|---|
BlockStore |
InodeUpdate.getStore()
Returns the backing store.
|
BlockStore |
Inode.getStore()
Returns the backing store.
|
Modifier and Type | Method and Description |
---|---|
void |
BlobOutputStream.init(BlockStore store,
byte[] inode,
int inodeOffset)
Initialize the output stream.
|
void |
ClobReader.init(BlockStore store,
byte[] inode,
int inodeOffset)
Initialize the output stream.
|
void |
BlobInputStream.init(BlockStore store,
byte[] inode,
int inodeOffset)
Initialize the output stream.
|
void |
InodeBlobInputStream.init(BlockStore store,
byte[] inode,
int inodeOffset)
Initialize the output stream.
|
void |
Inode.init(BlockStore store,
StoreTransaction xa,
byte[] buffer,
int offset) |
static boolean |
Inode.isValid(BlockStore store,
byte[] bytes,
int offset)
Validate the inode
|
static int |
Inode.writeToStream(byte[] inode,
int inodeOffset,
BlockStore store,
java.io.OutputStream os,
long offset,
long length)
Writes the inode value to a stream.
|
Constructor and Description |
---|
BlobInputStream(BlockStore store,
byte[] inode,
int inodeOffset)
Creates a blob output stream.
|
BlobOutputStream(BlockStore store,
byte[] inode,
int inodeOffset)
Creates a blob output stream.
|
BlobOutputStream(DbTransaction xa,
BlockStore store,
byte[] inode,
int inodeOffset)
Creates a blob output stream.
|
ClobReader(BlockStore store,
byte[] inode,
int inodeOffset)
Creates a clob reader.
|
Inode(BlockStore store) |
Inode(BlockStore store,
StoreTransaction xa) |
InodeBlobInputStream(BlockStore store,
byte[] inode,
int inodeOffset)
Creates a blob output stream.
|
InodeUpdate(BlockStore store,
byte[] bytes,
int offset) |
Modifier and Type | Method and Description |
---|---|
static BlockStore |
BlockStore.create(Path path)
Creates an independent store.
|
static BlockStore |
BlockStore.create(Path path,
boolean isMmap)
Creates an independent store.
|
static BlockStore |
BlockStore.createMmap(Path path)
Creates an independent store.
|
static BlockStore |
BlockStore.createNoMmap(Path path)
Creates an independent store.
|
BlockStore |
Block.getStore()
Returns the block's table.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockManager.flush(BlockStore store)
Frees blocks with the given store.
|
void |
BlockManager.freeStore(BlockStore store)
Frees blocks with the given store.
|
Constructor and Description |
---|
BlockReadWrite(BlockStore store,
Path path,
boolean isEnableMmap)
Creates a new store.
|
Constructor and Description |
---|
BTree(BlockStore store,
long rootBlockId,
int keySize,
KeyCompare keyCompare)
Creates a new BTree with the given backing.
|
Modifier and Type | Class and Description |
---|---|
class |
Table
Table format:
|
Modifier and Type | Method and Description |
---|---|
Block |
DbTransaction.allocateRow(BlockStore store)
Returns a modified block.
|
Block |
DbTransaction.loadBlock(BlockStore store,
long blockAddress)
Returns a read block.
|
Block |
DbTransaction.readBlock(BlockStore store,
long blockAddress)
Returns a read block.
|
Block |
RawTransaction.readBlock(BlockStore store,
long blockAddress)
Returns a read block.
|
abstract Block |
StoreTransaction.readBlock(BlockStore store,
long blockAddress)
Returns a read block.
|
Modifier and Type | Method and Description |
---|---|
BlockStore |
JournalResult.getBlockStore() |
Modifier and Type | Method and Description |
---|---|
void |
JournalResult.init1(BlockStore blockStore,
long blockAddr,
int offset,
int len) |
void |
JournalRecoverListener.onEntry(long code,
boolean isInit,
boolean isFin,
long xid,
long qid,
long mid,
BlockStore store,
long blockAddress,
int blockOffset,
int length) |