Package | Description |
---|---|
org.fusesource.hawtdb.api |
The HawDB client API
|
org.fusesource.hawtdb.internal.index |
Index implementations.
|
org.fusesource.hawtdb.internal.page |
Implementations paged IO.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PageFile
A page file provides paged access to a physical file.
|
interface |
Transaction
Provides transactional access to a
Paged resource. |
Modifier and Type | Method and Description |
---|---|
Index<Key,Value> |
IndexFactory.create(Paged paged) |
Index<Key,Value> |
HashIndexFactory.create(Paged paged)
Creates a new hash index on the Paged object.
|
SortedIndex<Key,Value> |
BTreeIndexFactory.create(Paged paged)
Creates a new BTree index on the Paged object.
|
protected abstract T |
AbstractStreamPagedAccessor.decode(Paged paged,
DataInputStream is) |
protected T |
CodecPagedAccessor.decode(Paged paged,
DataInputStream is) |
protected abstract void |
AbstractStreamPagedAccessor.encode(Paged paged,
DataOutputStream os,
T data) |
protected void |
CodecPagedAccessor.encode(Paged paged,
DataOutputStream os,
T data) |
T |
AbstractStreamPagedAccessor.load(Paged paged,
int page) |
T |
PagedAccessor.load(Paged paged,
int page)
Load a value from a specified page.
|
Index<Key,Value> |
IndexFactory.open(Paged paged) |
Index<Key,Value> |
HashIndexFactory.open(Paged paged)
Loads an existing hash index from the paged object.
|
SortedIndex<Key,Value> |
BTreeIndexFactory.open(Paged paged)
Loads an existing BTree index from the paged object.
|
Index<Key,Value> |
IndexFactory.open(Paged paged,
int indexNumber) |
Index<Key,Value> |
HashIndexFactory.open(Paged paged,
int indexNumber)
Loads an existing hash index from the paged object.
|
SortedIndex<Key,Value> |
BTreeIndexFactory.open(Paged paged,
int indexNumber)
Loads an existing BTree index from the paged object.
|
Index<Key,Value> |
IndexFactory.openOrCreate(Paged paged) |
Index<Key,Value> |
HashIndexFactory.openOrCreate(Paged paged) |
SortedIndex<Key,Value> |
BTreeIndexFactory.openOrCreate(Paged paged) |
List<Integer> |
AbstractStreamPagedAccessor.pagesLinked(Paged paged,
int page) |
List<Integer> |
PagedAccessor.pagesLinked(Paged paged,
int page)
Returns a list of the pages linked to the specified page.
|
List<Integer> |
AbstractStreamPagedAccessor.store(Paged paged,
int page,
T data) |
List<Integer> |
PagedAccessor.store(Paged paged,
int page,
T value)
Store a value at the specified page.
|
Constructor and Description |
---|
MultiIndexFactory(Paged paged) |
Modifier and Type | Method and Description |
---|---|
Paged |
BTreeIndex.getPaged() |
Modifier and Type | Method and Description |
---|---|
protected org.fusesource.hawtdb.internal.index.BTreeNode.Data<Key,Value> |
BTreeNode.DataPagedAccessor.decode(Paged paged,
DataInputStream is) |
protected void |
BTreeNode.DataPagedAccessor.encode(Paged paged,
DataOutputStream os,
org.fusesource.hawtdb.internal.index.BTreeNode.Data<Key,Value> data) |
Constructor and Description |
---|
BTreeIndex(Paged paged,
int page,
BTreeIndexFactory<Key,Value> factory) |
HashIndex(Paged paged,
int page,
HashIndexFactory<Key,Value> factory) |
Modifier and Type | Class and Description |
---|---|
class |
HawtPageFile
Provides a
PageFile interface to a MemoryMappedFile . |
Modifier and Type | Method and Description |
---|---|
static List<Integer> |
Extent.free(Paged paged,
int page)
Frees the extent at the provided page id.
|
static List<Integer> |
Extent.free(Paged paged,
int page,
org.fusesource.hawtbuf.Buffer magic) |
static List<Integer> |
Extent.freeLinked(Paged paged,
int page)
Frees the linked extents at the provided page id.
|
static List<Integer> |
Extent.freeLinked(Paged paged,
int page,
org.fusesource.hawtbuf.Buffer magic) |
static List<Integer> |
Extent.pages(Paged paged,
int page) |
static List<Integer> |
Extent.pages(Paged paged,
int page,
org.fusesource.hawtbuf.Buffer magic) |
static List<Integer> |
Extent.pagesLinked(Paged paged,
int page)
Gets a listing of all the pages used by the extent at the specified page.
|
static List<Integer> |
Extent.pagesLinked(Paged paged,
int page,
org.fusesource.hawtbuf.Buffer magic) |
static void |
Extent.unfree(Paged paged,
int page)
Un-frees the extent at the provided page id.
|
static void |
Extent.unfree(Paged paged,
int page,
org.fusesource.hawtbuf.Buffer magic) |
Constructor and Description |
---|
Extent(Paged paged,
int page) |
Extent(Paged paged,
int page,
org.fusesource.hawtbuf.Buffer magic) |
ExtentInputStream(Paged paged,
int page) |
ExtentOutputStream(Paged paged) |
ExtentOutputStream(Paged paged,
int page,
short extentSize,
short nextExtentSize) |
ExtentOutputStream(Paged paged,
short extentSize) |
Copyright © 2009–2016 FuseSource, Corp.. All rights reserved.